{"action":"created","comment":{"url":"https://api.github.com/repos/connexta/ddf-registry/pulls/comments/59394519","id":59394519,"diff_hunk":"@@ -13,20 +13,47 @@\n -->\n <blueprint xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n            xmlns=\"http://www.osgi.org/xmlns/blueprint/v1.0.0\"\n+           xmlns:cm=\"http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0\"\n            xsi:schemaLocation=\"http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd\">\n \n-    <bean id=\"federationAdminService\" class=\"org.codice.ddf.registry.federationadmin.service.impl.FederationAdminServiceImpl\" init-method=\"init\">\n+    <bean id=\"federationAdminService\"\n+          class=\"org.codice.ddf.registry.federationadmin.service.impl.FederationAdminServiceImpl\"\n+          init-method=\"init\">\n         <property name=\"catalogFramework\" ref=\"catalogFramework\"/>\n-        <property name=\"registryTransformer\" ref=\"inputTransformer\"/>\n-        <property name=\"parser\" ref=\"xmlParser\"/>\n         <property name=\"filterBuilder\" ref=\"filterBuilder\"/>\n+        <property name=\"parser\" ref=\"xmlParser\"/>\n+        <property name=\"registryTransformer\" ref=\"inputTransformer\"/>\n+        <property name=\"pollerInterval\" value=\"${registrySubPollerInterval}\"/>\n     </bean>\n \n-    <service ref=\"federationAdminService\" interface=\"org.codice.ddf.registry.federationadmin.service.FederationAdminService\"/>\n+    <cm:property-placeholder persistent-id=\"Registry_Federation_Admin_Service\"\n+                             update-strategy=\"reload\">\n+        <cm:default-properties>\n+            <cm:property name=\"registrySubPollerInterval\" value=\"7\"/>","path":"catalog/spatial/registry/registry-federation-admin-service-impl/src/main/resources/OSGI-INF/blueprint/blueprint.xml","position":24,"original_position":24,"commit_id":"1cfa865a2538fb459d7ae07ae679ba4331725a57","original_commit_id":"1cfa865a2538fb459d7ae07ae679ba4331725a57","user":{"login":"clockard","id":5248090,"avatar_url":"https://avatars.githubusercontent.com/u/5248090?v=3","gravatar_id":"","url":"https://api.github.com/users/clockard","html_url":"https://github.com/clockard","followers_url":"https://api.github.com/users/clockard/followers","following_url":"https://api.github.com/users/clockard/following{/other_user}","gists_url":"https://api.github.com/users/clockard/gists{/gist_id}","starred_url":"https://api.github.com/users/clockard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clockard/subscriptions","organizations_url":"https://api.github.com/users/clockard/orgs","repos_url":"https://api.github.com/users/clockard/repos","events_url":"https://api.github.com/users/clockard/events{/privacy}","received_events_url":"https://api.github.com/users/clockard/received_events","type":"User","site_admin":false},"body":"For 'production' this interval shouldn't be less than a minute i would think. ","created_at":"2016-04-12T15:16:04Z","updated_at":"2016-04-12T15:16:04Z","html_url":"https://github.com/connexta/ddf-registry/pull/6#discussion_r59394519","pull_request_url":"https://api.github.com/repos/connexta/ddf-registry/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/connexta/ddf-registry/pulls/comments/59394519"},"html":{"href":"https://github.com/connexta/ddf-registry/pull/6#discussion_r59394519"},"pull_request":{"href":"https://api.github.com/repos/connexta/ddf-registry/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/connexta/ddf-registry/pulls/6","id":66105986,"html_url":"https://github.com/connexta/ddf-registry/pull/6","diff_url":"https://github.com/connexta/ddf-registry/pull/6.diff","patch_url":"https://github.com/connexta/ddf-registry/pull/6.patch","issue_url":"https://api.github.com/repos/connexta/ddf-registry/issues/6","number":6,"state":"open","locked":false,"title":"DDF-2020 Add subscription poller to FederationAdminService","user":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdds subscription poller to the federation admin service. The poller has a configurable interval and will refresh registry entries to the latest remote registries. \r\n#### Who is reviewing it?\r\n@clockard @vinamartin @mcalcote \r\n#### How should this be tested?\r\n#### Any background context you want to provide?\r\n#### What are the relevant tickets?\r\nDDF-2020\r\n#### Screenshots (if appropriate)\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [ ] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests\r\n\r\nAdding subscription poller to federation admin service. Poller uses a configurable poll time in seconds set in metatype. A camel timer is used to do the polling.\r\nAdding configurable poller interval,  registryStore reference list, and camel timer to the blueprint\r\nAdding a metatype for the configurable poller interval","created_at":"2016-04-12T06:18:49Z","updated_at":"2016-04-12T15:16:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"491f5869d2fbdbf7900217aa8a5a440b73639d48","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/connexta/ddf-registry/pulls/6/commits","review_comments_url":"https://api.github.com/repos/connexta/ddf-registry/pulls/6/comments","review_comment_url":"https://api.github.com/repos/connexta/ddf-registry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/connexta/ddf-registry/issues/6/comments","statuses_url":"https://api.github.com/repos/connexta/ddf-registry/statuses/1cfa865a2538fb459d7ae07ae679ba4331725a57","head":{"label":"gordocanchola:DDF-2020","ref":"DDF-2020","sha":"1cfa865a2538fb459d7ae07ae679ba4331725a57","user":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"repo":{"id":55802354,"name":"ddf-registry","full_name":"gordocanchola/ddf-registry","owner":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gordocanchola/ddf-registry","description":"","fork":true,"url":"https://api.github.com/repos/gordocanchola/ddf-registry","forks_url":"https://api.github.com/repos/gordocanchola/ddf-registry/forks","keys_url":"https://api.github.com/repos/gordocanchola/ddf-registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gordocanchola/ddf-registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gordocanchola/ddf-registry/teams","hooks_url":"https://api.github.com/repos/gordocanchola/ddf-registry/hooks","issue_events_url":"https://api.github.com/repos/gordocanchola/ddf-registry/issues/events{/number}","events_url":"https://api.github.com/repos/gordocanchola/ddf-registry/events","assignees_url":"https://api.github.com/repos/gordocanchola/ddf-registry/assignees{/user}","branches_url":"https://api.github.com/repos/gordocanchola/ddf-registry/branches{/branch}","tags_url":"https://api.github.com/repos/gordocanchola/ddf-registry/tags","blobs_url":"https://api.github.com/repos/gordocanchola/ddf-registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gordocanchola/ddf-registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gordocanchola/ddf-registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/gordocanchola/ddf-registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gordocanchola/ddf-registry/statuses/{sha}","languages_url":"https://api.github.com/repos/gordocanchola/ddf-registry/languages","stargazers_url":"https://api.github.com/repos/gordocanchola/ddf-registry/stargazers","contributors_url":"https://api.github.com/repos/gordocanchola/ddf-registry/contributors","subscribers_url":"https://api.github.com/repos/gordocanchola/ddf-registry/subscribers","subscription_url":"https://api.github.com/repos/gordocanchola/ddf-registry/subscription","commits_url":"https://api.github.com/repos/gordocanchola/ddf-registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/gordocanchola/ddf-registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/gordocanchola/ddf-registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/gordocanchola/ddf-registry/issues/comments{/number}","contents_url":"https://api.github.com/repos/gordocanchola/ddf-registry/contents/{+path}","compare_url":"https://api.github.com/repos/gordocanchola/ddf-registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gordocanchola/ddf-registry/merges","archive_url":"https://api.github.com/repos/gordocanchola/ddf-registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gordocanchola/ddf-registry/downloads","issues_url":"https://api.github.com/repos/gordocanchola/ddf-registry/issues{/number}","pulls_url":"https://api.github.com/repos/gordocanchola/ddf-registry/pulls{/number}","milestones_url":"https://api.github.com/repos/gordocanchola/ddf-registry/milestones{/number}","notifications_url":"https://api.github.com/repos/gordocanchola/ddf-registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gordocanchola/ddf-registry/labels{/name}","releases_url":"https://api.github.com/repos/gordocanchola/ddf-registry/releases{/id}","deployments_url":"https://api.github.com/repos/gordocanchola/ddf-registry/deployments","created_at":"2016-04-08T18:52:58Z","updated_at":"2016-04-08T18:53:12Z","pushed_at":"2016-04-12T06:15:37Z","git_url":"git://github.com/gordocanchola/ddf-registry.git","ssh_url":"git@github.com:gordocanchola/ddf-registry.git","clone_url":"https://github.com/gordocanchola/ddf-registry.git","svn_url":"https://github.com/gordocanchola/ddf-registry","homepage":null,"size":134651,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"connexta:master","ref":"master","sha":"897dd161309241966e64a123f55bf8ce88830885","user":{"login":"connexta","id":6706726,"avatar_url":"https://avatars.githubusercontent.com/u/6706726?v=3","gravatar_id":"","url":"https://api.github.com/users/connexta","html_url":"https://github.com/connexta","followers_url":"https://api.github.com/users/connexta/followers","following_url":"https://api.github.com/users/connexta/following{/other_user}","gists_url":"https://api.github.com/users/connexta/gists{/gist_id}","starred_url":"https://api.github.com/users/connexta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connexta/subscriptions","organizations_url":"https://api.github.com/users/connexta/orgs","repos_url":"https://api.github.com/users/connexta/repos","events_url":"https://api.github.com/users/connexta/events{/privacy}","received_events_url":"https://api.github.com/users/connexta/received_events","type":"Organization","site_admin":false},"repo":{"id":55735316,"name":"ddf-registry","full_name":"connexta/ddf-registry","owner":{"login":"connexta","id":6706726,"avatar_url":"https://avatars.githubusercontent.com/u/6706726?v=3","gravatar_id":"","url":"https://api.github.com/users/connexta","html_url":"https://github.com/connexta","followers_url":"https://api.github.com/users/connexta/followers","following_url":"https://api.github.com/users/connexta/following{/other_user}","gists_url":"https://api.github.com/users/connexta/gists{/gist_id}","starred_url":"https://api.github.com/users/connexta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connexta/subscriptions","organizations_url":"https://api.github.com/users/connexta/orgs","repos_url":"https://api.github.com/users/connexta/repos","events_url":"https://api.github.com/users/connexta/events{/privacy}","received_events_url":"https://api.github.com/users/connexta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/connexta/ddf-registry","description":"","fork":false,"url":"https://api.github.com/repos/connexta/ddf-registry","forks_url":"https://api.github.com/repos/connexta/ddf-registry/forks","keys_url":"https://api.github.com/repos/connexta/ddf-registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/connexta/ddf-registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/connexta/ddf-registry/teams","hooks_url":"https://api.github.com/repos/connexta/ddf-registry/hooks","issue_events_url":"https://api.github.com/repos/connexta/ddf-registry/issues/events{/number}","events_url":"https://api.github.com/repos/connexta/ddf-registry/events","assignees_url":"https://api.github.com/repos/connexta/ddf-registry/assignees{/user}","branches_url":"https://api.github.com/repos/connexta/ddf-registry/branches{/branch}","tags_url":"https://api.github.com/repos/connexta/ddf-registry/tags","blobs_url":"https://api.github.com/repos/connexta/ddf-registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/connexta/ddf-registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/connexta/ddf-registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/connexta/ddf-registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/connexta/ddf-registry/statuses/{sha}","languages_url":"https://api.github.com/repos/connexta/ddf-registry/languages","stargazers_url":"https://api.github.com/repos/connexta/ddf-registry/stargazers","contributors_url":"https://api.github.com/repos/connexta/ddf-registry/contributors","subscribers_url":"https://api.github.com/repos/connexta/ddf-registry/subscribers","subscription_url":"https://api.github.com/repos/connexta/ddf-registry/subscription","commits_url":"https://api.github.com/repos/connexta/ddf-registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/connexta/ddf-registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/connexta/ddf-registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/connexta/ddf-registry/issues/comments{/number}","contents_url":"https://api.github.com/repos/connexta/ddf-registry/contents/{+path}","compare_url":"https://api.github.com/repos/connexta/ddf-registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/connexta/ddf-registry/merges","archive_url":"https://api.github.com/repos/connexta/ddf-registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/connexta/ddf-registry/downloads","issues_url":"https://api.github.com/repos/connexta/ddf-registry/issues{/number}","pulls_url":"https://api.github.com/repos/connexta/ddf-registry/pulls{/number}","milestones_url":"https://api.github.com/repos/connexta/ddf-registry/milestones{/number}","notifications_url":"https://api.github.com/repos/connexta/ddf-registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/connexta/ddf-registry/labels{/name}","releases_url":"https://api.github.com/repos/connexta/ddf-registry/releases{/id}","deployments_url":"https://api.github.com/repos/connexta/ddf-registry/deployments","created_at":"2016-04-07T23:40:22Z","updated_at":"2016-04-07T23:55:12Z","pushed_at":"2016-04-12T06:18:49Z","git_url":"git://github.com/connexta/ddf-registry.git","ssh_url":"git@github.com:connexta/ddf-registry.git","clone_url":"https://github.com/connexta/ddf-registry.git","svn_url":"https://github.com/connexta/ddf-registry","homepage":null,"size":134666,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/connexta/ddf-registry/pulls/6"},"html":{"href":"https://github.com/connexta/ddf-registry/pull/6"},"issue":{"href":"https://api.github.com/repos/connexta/ddf-registry/issues/6"},"comments":{"href":"https://api.github.com/repos/connexta/ddf-registry/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/connexta/ddf-registry/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/connexta/ddf-registry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/connexta/ddf-registry/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/connexta/ddf-registry/statuses/1cfa865a2538fb459d7ae07ae679ba4331725a57"}}}}