{"action":"closed","issue":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/580","repository_url":"https://api.github.com/repos/jamesagnew/hapi-fhir","labels_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/580/comments","events_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/580/events","html_url":"https://github.com/jamesagnew/hapi-fhir/issues/580","id":212389913,"number":580,"title":"Connecting to external Resource Server","user":{"login":"hareemmughis","id":25224951,"avatar_url":"https://avatars3.githubusercontent.com/u/25224951?v=3","gravatar_id":"","url":"https://api.github.com/users/hareemmughis","html_url":"https://github.com/hareemmughis","followers_url":"https://api.github.com/users/hareemmughis/followers","following_url":"https://api.github.com/users/hareemmughis/following{/other_user}","gists_url":"https://api.github.com/users/hareemmughis/gists{/gist_id}","starred_url":"https://api.github.com/users/hareemmughis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hareemmughis/subscriptions","organizations_url":"https://api.github.com/users/hareemmughis/orgs","repos_url":"https://api.github.com/users/hareemmughis/repos","events_url":"https://api.github.com/users/hareemmughis/events{/privacy}","received_events_url":"https://api.github.com/users/hareemmughis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-07T10:26:34Z","updated_at":"2017-03-18T16:35:35Z","closed_at":"2017-03-18T16:35:35Z","body":"As mentioned in blog, I am changing the daoConfig() function in FhirServerConfig.java file to following way:\r\n\r\n@Bean()\r\n\tpublic DaoConfig daoConfig() {\r\n\t        DaoConfig retVal = new  #DaoConfig();\r\n\t        retVal.setSubscriptionEnabled(true);\r\n\t        retVal.setSubscriptionPollDelay(5000);\r\n\t        retVal.setSubscriptionPurgeInactiveAfterMillis(DateUtils.MILLIS_PER_HOUR);\r\n\t        retVal.setAllowMultipleDelete(true);\r\n                // Allow external references\r\n                retVal.setAllowInlineMatchUrlReferences(true);\r\n               // If you are allowing external references, it is recommended to\r\n                // also tell the server which references actually will be local\r\n                retVal.getTreatBaseUrlsAsLocal().add(\"http://fhirtest.uhn.ca/baseDstu1\");\r\n\t\treturn retVal;\r\n\t}\r\n\r\nBut it is still not accessing the http://fhirtest.uhn.ca/baseDstu1 for searching the resource. Am I doing it wrong or does this configuration is for only creating and updating the resource in external server?"}}
{"actor":{"display_login":"jamesagnew"}}