{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/issues/97","repository_url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin","labels_url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/issues/97/comments","events_url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/issues/97/events","html_url":"https://github.com/fabric8io/openshift-jenkins-sync-plugin/issues/97","id":167554425,"number":97,"title":"Not possible to leave the namespace field in global config blank","user":{"login":"siamaksade","id":1174934,"avatar_url":"https://avatars.githubusercontent.com/u/1174934?v=3","gravatar_id":"","url":"https://api.github.com/users/siamaksade","html_url":"https://github.com/siamaksade","followers_url":"https://api.github.com/users/siamaksade/followers","following_url":"https://api.github.com/users/siamaksade/following{/other_user}","gists_url":"https://api.github.com/users/siamaksade/gists{/gist_id}","starred_url":"https://api.github.com/users/siamaksade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siamaksade/subscriptions","organizations_url":"https://api.github.com/users/siamaksade/orgs","repos_url":"https://api.github.com/users/siamaksade/repos","events_url":"https://api.github.com/users/siamaksade/events{/privacy}","received_events_url":"https://api.github.com/users/siamaksade/received_events","type":"User","site_admin":false},"labels":[{"id":474519992,"url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/labels/priority/P2","name":"priority/P2","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-26T08:56:04Z","updated_at":"2016-11-03T13:27:06Z","closed_at":null,"body":"When leaving the namespace field in Global Configuration to blank in order to sync with all namespaces [1], the namespace resets to Jenkins namespace after saving. It should stay blank to include all namespaces.\n\n[1] https://github.com/fabric8io/openshift-jenkins-sync-plugin/blob/master/src/main/resources/io/fabric8/jenkins/openshiftsync/GlobalPluginConfiguration/config.jelly#L30\n"},"comment":{"url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/issues/comments/258141428","html_url":"https://github.com/fabric8io/openshift-jenkins-sync-plugin/issues/97#issuecomment-258141428","issue_url":"https://api.github.com/repos/fabric8io/openshift-jenkins-sync-plugin/issues/97","id":258141428,"user":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T13:27:06Z","updated_at":"2016-11-03T13:27:06Z","body":"We can query `/oapi/v1/projects` to get the list of projects that are accessible & I guess we could watch that list to update what is projects have BCs synced. This will need multiple watchers per namespace for this which will increase memory/CPU requirements but should be manageable.\r\n\r\nSo this should handle either blank project (renamed from namespace to be in sync with OpenShift parlance) which will watch all accessible projects, or accept a list of projects to watch.\r\n\r\nNote that this will of course require the SA that Jenkins runs as to have correct karma to the target projects prior to starting the watches. It would be great to be able to populate an error when the config is validated if projects are not accessible, plus have to think about how to handle & notify if karma is revoked."}}
{"actor":{"display_login":"jimmidyson"}}