{"action":"created","issue":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/846","repository_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver","labels_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/846/comments","events_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/846/events","html_url":"https://github.com/ppazos/cabolabs-ehrserver/issues/846","id":297592650,"number":846,"title":"[CLOUD] Assign Plan to Account","user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars2.githubusercontent.com/u/1278556?v=4","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"labels":[{"id":173412501,"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/labels/high_prio","name":"high_prio","color":"f7c6c7","default":false},{"id":63878918,"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/labels/new%20feature","name":"new feature","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/milestones/13","html_url":"https://github.com/ppazos/cabolabs-ehrserver/milestone/13","labels_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/milestones/13/labels","id":2581082,"number":13,"title":"v1.2","description":"Focus on queries and OPTs.\r\n\r\n[IN PROD]\r\n1. migration: OPTIndex create organizationUid with the correspondent organization that owns the OPT.\r\n2. migration: for #776 OperationalTemplateIndex has setId, versionNumber and lastVersion that are mandatory.\r\n3. migration: for #778 OperationalTemplateIndex.isPublic was removed\r\n4. migration: for #627 Query.isDeleted boolean was added\r\n5. migration: existing query criteria should have all negation columns in false https://github.com/ppazos/cabolabs-ehrserver/issues/839\r\n6. migration: DataCriteria.negation was removed\r\n7. migration: operational template index share was removed, delete table\r\n8. filesystem: created opt/org_uid folders and moved opts to their org folders\r\n\r\n---------------------------------------------------\r\n[NOT IN PROD]\r\n9. bootstrap/migration: add default Account for default Organization, in prod create Accounts\r\n10. migration: PlanAssociation removed organizationUid, added account\r\n11. migration: associate PlanAssociation with Accounts\r\n12. added accounts to RequestMap for ADMINs","creator":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars2.githubusercontent.com/u/1278556?v=4","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":58,"state":"open","created_at":"2017-06-13T18:00:49Z","updated_at":"2018-02-26T23:00:26Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-02-15T20:53:01Z","updated_at":"2018-02-26T23:00:26Z","closed_at":"2018-02-26T23:00:26Z","author_association":"OWNER","body":"1. ADMINs can assign a Plan to an Account from the Account edit view\r\n2. Only one active Plan can be assigned at a time (time frames of all assigned Plans should not overlap)\r\n3. Plan activation date should be set, that can be set in the future, e.g. to the next day the current active Plan ends, so we can renovate Plans beforehand and that will become active automatically when the old one is set as inactive (really no need to set active or inactive having the active time frame!)\r\n4. Also choose from an existing Plan in the database.\r\n5. When saved we should verify the time frame overlapping mentioned on 2. before saving anything."},"comment":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/comments/368682105","html_url":"https://github.com/ppazos/cabolabs-ehrserver/issues/846#issuecomment-368682105","issue_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/846","id":368682105,"user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars2.githubusercontent.com/u/1278556?v=4","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T23:00:26Z","updated_at":"2018-02-26T23:00:26Z","author_association":"OWNER","body":"No need to assign plan in the future for v1.2, will be solved in the future."}}
{"actor":{"display_login":"ppazos"}}