{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/comments/40022058","id":40022058,"diff_hunk":"@@ -140,66 +142,63 @@ __ `FIWARE Policy Manager GE: Cloto`_\n \n Configuration file - Cloto\n --------------------------\n-Before starting the rule engine, you should edit settings.py located at cloto folder or in ``/etc/sysconfig/fiware-cloto.cfg``.\n-Constants you eed to complete are:\n+The configuration used by the fiware-cloto component is read from the configuration file.\n+This file is located here:\n \n-- All in ``# OPENSTACK CONFIGURATION``: Openstack information (If you provide this information in the install script you do not need to edit)\n-- RABBITMQ_URL: URL Where RabbitMQ is listening (no port needed, it uses default port)\n-- CONTEXT_BROKER_URL: URL where Orion Context Broker is listening\n-- NOTIFICATION_URL: URL where notification service is listening (This service must be implemented by the user)\n+``/etc/fiware.d/fiware-cloto.cfg``\n \n-In addition you could modify other constants like NOTIFICATION_TIME, or DEFAULT_WINDOW_SIZE.\n+MYSQL cloto configuration must be filled before starting fiware-facts component, user and password are empty by default.\n+You can copy the `default configuration file <cloto_settings/fiware_cloto.cfg>`_ to the folder defined for your OS, and\n+complete data about cloto MYSQL configuration (user and password) and all openstack configuration.\n \n-Finally you should modify ALLOWED_HOSTS parameter in settings.py adding the hosts you want to be accesible from outside,\n-your IP address, the domain name, etc. An example could be like this:\n+In addition, user could have a copy of this file in other location and pass its location to the server in running\n+execution defining an environment variable called CLOTO_SETTINGS_FILE.\n+\n+Options that user could define:\n \n ::\n \n-   ALLOWED_HOSTS = ['policymanager.host.com','80.71.123.2’]\n+    [openstack]         # OPENSTACK information about KEYSTONE to validate tokens received\n+    OPENSTACK_URL: http://cloud.lab.fi-ware.org:4731/v2.0\n+    ADM_USER:\n+    ADM_PASS: asXK3r9V4n1Ad93","path":"README.rst","position":67,"original_position":67,"commit_id":"4f3b9df007159af8140e6d86ded4fe462272d051","original_commit_id":"4f3b9df007159af8140e6d86ded4fe462272d051","user":{"login":"jframos","id":8695972,"avatar_url":"https://avatars.githubusercontent.com/u/8695972?v=3","gravatar_id":"","url":"https://api.github.com/users/jframos","html_url":"https://github.com/jframos","followers_url":"https://api.github.com/users/jframos/followers","following_url":"https://api.github.com/users/jframos/following{/other_user}","gists_url":"https://api.github.com/users/jframos/gists{/gist_id}","starred_url":"https://api.github.com/users/jframos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jframos/subscriptions","organizations_url":"https://api.github.com/users/jframos/orgs","repos_url":"https://api.github.com/users/jframos/repos","events_url":"https://api.github.com/users/jframos/events{/privacy}","received_events_url":"https://api.github.com/users/jframos/received_events","type":"User","site_admin":false},"body":"I hope this is a fake admin password/tenantID...","created_at":"2015-09-21T20:33:55Z","updated_at":"2015-09-21T20:33:55Z","html_url":"https://github.com/telefonicaid/fiware-cloto/pull/43#discussion_r40022058","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/comments/40022058"},"html":{"href":"https://github.com/telefonicaid/fiware-cloto/pull/43#discussion_r40022058"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43","id":45567585,"html_url":"https://github.com/telefonicaid/fiware-cloto/pull/43","diff_url":"https://github.com/telefonicaid/fiware-cloto/pull/43.diff","patch_url":"https://github.com/telefonicaid/fiware-cloto/pull/43.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/43","number":43,"state":"open","locked":false,"title":"PIP installation","user":{"login":"geonexus","id":7373366,"avatar_url":"https://avatars.githubusercontent.com/u/7373366?v=3","gravatar_id":"","url":"https://api.github.com/users/geonexus","html_url":"https://github.com/geonexus","followers_url":"https://api.github.com/users/geonexus/followers","following_url":"https://api.github.com/users/geonexus/following{/other_user}","gists_url":"https://api.github.com/users/geonexus/gists{/gist_id}","starred_url":"https://api.github.com/users/geonexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonexus/subscriptions","organizations_url":"https://api.github.com/users/geonexus/orgs","repos_url":"https://api.github.com/users/geonexus/repos","events_url":"https://api.github.com/users/geonexus/events{/privacy}","received_events_url":"https://api.github.com/users/geonexus/received_events","type":"User","site_admin":false},"body":"### REVIEWERS\r\n@flopezag @jframos \r\n\r\n### DESCRIPTION\r\n- Pip installation.\r\n- Improved settings configuration.","created_at":"2015-09-21T16:08:10Z","updated_at":"2015-09-21T20:33:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e4ee031ebd520aa4603936d56ae141fe96bb109","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/43/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/statuses/4f3b9df007159af8140e6d86ded4fe462272d051","head":{"label":"telefonicaid:feature/CLAUDIA-5498","ref":"feature/CLAUDIA-5498","sha":"4f3b9df007159af8140e6d86ded4fe462272d051","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":18985908,"name":"fiware-cloto","full_name":"telefonicaid/fiware-cloto","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-cloto","description":"Policy Manager GEi of the FI-WARE project","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-cloto","forks_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/releases{/id}","created_at":"2014-04-21T07:44:02Z","updated_at":"2015-04-30T16:39:21Z","pushed_at":"2015-09-21T16:11:41Z","git_url":"git://github.com/telefonicaid/fiware-cloto.git","ssh_url":"git@github.com:telefonicaid/fiware-cloto.git","clone_url":"https://github.com/telefonicaid/fiware-cloto.git","svn_url":"https://github.com/telefonicaid/fiware-cloto","homepage":"","size":1280,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"aa51f2efd8cbc22a320f5f7d2b56dc982ec1c319","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":18985908,"name":"fiware-cloto","full_name":"telefonicaid/fiware-cloto","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-cloto","description":"Policy Manager GEi of the FI-WARE project","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-cloto","forks_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-cloto/releases{/id}","created_at":"2014-04-21T07:44:02Z","updated_at":"2015-04-30T16:39:21Z","pushed_at":"2015-09-21T16:11:41Z","git_url":"git://github.com/telefonicaid/fiware-cloto.git","ssh_url":"git@github.com:telefonicaid/fiware-cloto.git","clone_url":"https://github.com/telefonicaid/fiware-cloto.git","svn_url":"https://github.com/telefonicaid/fiware-cloto","homepage":"","size":1280,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43"},"html":{"href":"https://github.com/telefonicaid/fiware-cloto/pull/43"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/43"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-cloto/statuses/4f3b9df007159af8140e6d86ded4fe462272d051"}}}}