{"action":"created","comment":{"url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments/186948445","pull_request_review_id":118627359,"id":186948445,"diff_hunk":"@@ -0,0 +1,56 @@\n+module MnoEnterprise::Concerns::Models::ProductInstance\n+  extend ActiveSupport::Concern\n+\n+  #==================================================================\n+  # Included methods\n+  #==================================================================\n+  # 'included do' causes the included code to be evaluated in the\n+  # context where it is included rather than being executed in the module's context\n+  included do\n+    property :created_at, type: :time\n+    property :updated_at, type: :time\n+\n+    #==============================================================\n+    # Constants\n+    #==============================================================\n+    ACTIVE_STATUSES = [:running, :stopped, :staged, :provisioning, :starting, :stopping, :updating]\n+    TERMINATION_STATUSES = [:terminating, :terminated]\n+  end\n+\n+  # TODO: Copied over structure from AppInstance.\n+  #       Needs to be filled when doing complete migration from AppInstance to\n+  #       ProductInstance\n+\n+  #==================================================================\n+  # Class methods\n+  #==================================================================\n+  module ClassMethods","path":"core/lib/mno_enterprise/concerns/models/product_instance.rb","position":27,"original_position":27,"commit_id":"bacfa0307cee7c775ad93fb76ff3304bd03ca94b","original_commit_id":"bacfa0307cee7c775ad93fb76ff3304bd03ca94b","user":{"login":"BrunoChauvet","id":1684030,"avatar_url":"https://avatars0.githubusercontent.com/u/1684030?v=4","gravatar_id":"","url":"https://api.github.com/users/BrunoChauvet","html_url":"https://github.com/BrunoChauvet","followers_url":"https://api.github.com/users/BrunoChauvet/followers","following_url":"https://api.github.com/users/BrunoChauvet/following{/other_user}","gists_url":"https://api.github.com/users/BrunoChauvet/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunoChauvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunoChauvet/subscriptions","organizations_url":"https://api.github.com/users/BrunoChauvet/orgs","repos_url":"https://api.github.com/users/BrunoChauvet/repos","events_url":"https://api.github.com/users/BrunoChauvet/events{/privacy}","received_events_url":"https://api.github.com/users/BrunoChauvet/received_events","type":"User","site_admin":false},"body":"The provision! and terminate! actins may not be required neither and managed via subscriptions","created_at":"2018-05-09T07:08:43Z","updated_at":"2018-05-09T07:08:44Z","html_url":"https://github.com/maestrano/mno-enterprise/pull/677#discussion_r186948445","pull_request_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments/186948445"},"html":{"href":"https://github.com/maestrano/mno-enterprise/pull/677#discussion_r186948445"},"pull_request":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677"}}},"pull_request":{"url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677","id":178568630,"html_url":"https://github.com/maestrano/mno-enterprise/pull/677","diff_url":"https://github.com/maestrano/mno-enterprise/pull/677.diff","patch_url":"https://github.com/maestrano/mno-enterprise/pull/677.patch","issue_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/677","number":677,"state":"open","locked":false,"title":"[MNOE-996] [MNOE-997] [MNOE-977] - App Management Page","user":{"login":"MAhsenArif","id":13252357,"avatar_url":"https://avatars3.githubusercontent.com/u/13252357?v=4","gravatar_id":"","url":"https://api.github.com/users/MAhsenArif","html_url":"https://github.com/MAhsenArif","followers_url":"https://api.github.com/users/MAhsenArif/followers","following_url":"https://api.github.com/users/MAhsenArif/following{/other_user}","gists_url":"https://api.github.com/users/MAhsenArif/gists{/gist_id}","starred_url":"https://api.github.com/users/MAhsenArif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAhsenArif/subscriptions","organizations_url":"https://api.github.com/users/MAhsenArif/orgs","repos_url":"https://api.github.com/users/MAhsenArif/repos","events_url":"https://api.github.com/users/MAhsenArif/events{/privacy}","received_events_url":"https://api.github.com/users/MAhsenArif/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-30T14:18:51Z","updated_at":"2018-05-09T07:08:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bff8bf18d46e5dcb3e5f9e4320e8b047b86af299","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ouranos","id":19894,"avatar_url":"https://avatars1.githubusercontent.com/u/19894?v=4","gravatar_id":"","url":"https://api.github.com/users/ouranos","html_url":"https://github.com/ouranos","followers_url":"https://api.github.com/users/ouranos/followers","following_url":"https://api.github.com/users/ouranos/following{/other_user}","gists_url":"https://api.github.com/users/ouranos/gists{/gist_id}","starred_url":"https://api.github.com/users/ouranos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouranos/subscriptions","organizations_url":"https://api.github.com/users/ouranos/orgs","repos_url":"https://api.github.com/users/ouranos/repos","events_url":"https://api.github.com/users/ouranos/events{/privacy}","received_events_url":"https://api.github.com/users/ouranos/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":346711227,"url":"https://api.github.com/repos/maestrano/mno-enterprise/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677/commits","review_comments_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677/comments","review_comment_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/677/comments","statuses_url":"https://api.github.com/repos/maestrano/mno-enterprise/statuses/bacfa0307cee7c775ad93fb76ff3304bd03ca94b","head":{"label":"MAhsenArif:app_management_tab","ref":"app_management_tab","sha":"bacfa0307cee7c775ad93fb76ff3304bd03ca94b","user":{"login":"MAhsenArif","id":13252357,"avatar_url":"https://avatars3.githubusercontent.com/u/13252357?v=4","gravatar_id":"","url":"https://api.github.com/users/MAhsenArif","html_url":"https://github.com/MAhsenArif","followers_url":"https://api.github.com/users/MAhsenArif/followers","following_url":"https://api.github.com/users/MAhsenArif/following{/other_user}","gists_url":"https://api.github.com/users/MAhsenArif/gists{/gist_id}","starred_url":"https://api.github.com/users/MAhsenArif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAhsenArif/subscriptions","organizations_url":"https://api.github.com/users/MAhsenArif/orgs","repos_url":"https://api.github.com/users/MAhsenArif/repos","events_url":"https://api.github.com/users/MAhsenArif/events{/privacy}","received_events_url":"https://api.github.com/users/MAhsenArif/received_events","type":"User","site_admin":false},"repo":{"id":114859396,"name":"mno-enterprise","full_name":"MAhsenArif/mno-enterprise","owner":{"login":"MAhsenArif","id":13252357,"avatar_url":"https://avatars3.githubusercontent.com/u/13252357?v=4","gravatar_id":"","url":"https://api.github.com/users/MAhsenArif","html_url":"https://github.com/MAhsenArif","followers_url":"https://api.github.com/users/MAhsenArif/followers","following_url":"https://api.github.com/users/MAhsenArif/following{/other_user}","gists_url":"https://api.github.com/users/MAhsenArif/gists{/gist_id}","starred_url":"https://api.github.com/users/MAhsenArif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAhsenArif/subscriptions","organizations_url":"https://api.github.com/users/MAhsenArif/orgs","repos_url":"https://api.github.com/users/MAhsenArif/repos","events_url":"https://api.github.com/users/MAhsenArif/events{/privacy}","received_events_url":"https://api.github.com/users/MAhsenArif/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MAhsenArif/mno-enterprise","description":"The Maestrano Enterprise Engine","fork":true,"url":"https://api.github.com/repos/MAhsenArif/mno-enterprise","forks_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/forks","keys_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/teams","hooks_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/hooks","issue_events_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/issues/events{/number}","events_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/events","assignees_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/assignees{/user}","branches_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/branches{/branch}","tags_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/tags","blobs_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/git/refs{/sha}","trees_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/statuses/{sha}","languages_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/languages","stargazers_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/stargazers","contributors_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/contributors","subscribers_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/subscribers","subscription_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/subscription","commits_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/commits{/sha}","git_commits_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/git/commits{/sha}","comments_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/comments{/number}","issue_comment_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/issues/comments{/number}","contents_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/contents/{+path}","compare_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/merges","archive_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/downloads","issues_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/issues{/number}","pulls_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/pulls{/number}","milestones_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/milestones{/number}","notifications_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/labels{/name}","releases_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/releases{/id}","deployments_url":"https://api.github.com/repos/MAhsenArif/mno-enterprise/deployments","created_at":"2017-12-20T07:54:10Z","updated_at":"2017-12-20T07:54:13Z","pushed_at":"2018-05-07T08:37:56Z","git_url":"git://github.com/MAhsenArif/mno-enterprise.git","ssh_url":"git@github.com:MAhsenArif/mno-enterprise.git","clone_url":"https://github.com/MAhsenArif/mno-enterprise.git","svn_url":"https://github.com/MAhsenArif/mno-enterprise","homepage":"","size":5970,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"maestrano:4.0","ref":"4.0","sha":"169abb75b526a83c465089195d25a4e6f2a0e076","user":{"login":"maestrano","id":6322021,"avatar_url":"https://avatars3.githubusercontent.com/u/6322021?v=4","gravatar_id":"","url":"https://api.github.com/users/maestrano","html_url":"https://github.com/maestrano","followers_url":"https://api.github.com/users/maestrano/followers","following_url":"https://api.github.com/users/maestrano/following{/other_user}","gists_url":"https://api.github.com/users/maestrano/gists{/gist_id}","starred_url":"https://api.github.com/users/maestrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestrano/subscriptions","organizations_url":"https://api.github.com/users/maestrano/orgs","repos_url":"https://api.github.com/users/maestrano/repos","events_url":"https://api.github.com/users/maestrano/events{/privacy}","received_events_url":"https://api.github.com/users/maestrano/received_events","type":"Organization","site_admin":false},"repo":{"id":54614338,"name":"mno-enterprise","full_name":"maestrano/mno-enterprise","owner":{"login":"maestrano","id":6322021,"avatar_url":"https://avatars3.githubusercontent.com/u/6322021?v=4","gravatar_id":"","url":"https://api.github.com/users/maestrano","html_url":"https://github.com/maestrano","followers_url":"https://api.github.com/users/maestrano/followers","following_url":"https://api.github.com/users/maestrano/following{/other_user}","gists_url":"https://api.github.com/users/maestrano/gists{/gist_id}","starred_url":"https://api.github.com/users/maestrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestrano/subscriptions","organizations_url":"https://api.github.com/users/maestrano/orgs","repos_url":"https://api.github.com/users/maestrano/repos","events_url":"https://api.github.com/users/maestrano/events{/privacy}","received_events_url":"https://api.github.com/users/maestrano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maestrano/mno-enterprise","description":"The Maestrano Enterprise Engine","fork":false,"url":"https://api.github.com/repos/maestrano/mno-enterprise","forks_url":"https://api.github.com/repos/maestrano/mno-enterprise/forks","keys_url":"https://api.github.com/repos/maestrano/mno-enterprise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maestrano/mno-enterprise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maestrano/mno-enterprise/teams","hooks_url":"https://api.github.com/repos/maestrano/mno-enterprise/hooks","issue_events_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/events{/number}","events_url":"https://api.github.com/repos/maestrano/mno-enterprise/events","assignees_url":"https://api.github.com/repos/maestrano/mno-enterprise/assignees{/user}","branches_url":"https://api.github.com/repos/maestrano/mno-enterprise/branches{/branch}","tags_url":"https://api.github.com/repos/maestrano/mno-enterprise/tags","blobs_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/refs{/sha}","trees_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maestrano/mno-enterprise/statuses/{sha}","languages_url":"https://api.github.com/repos/maestrano/mno-enterprise/languages","stargazers_url":"https://api.github.com/repos/maestrano/mno-enterprise/stargazers","contributors_url":"https://api.github.com/repos/maestrano/mno-enterprise/contributors","subscribers_url":"https://api.github.com/repos/maestrano/mno-enterprise/subscribers","subscription_url":"https://api.github.com/repos/maestrano/mno-enterprise/subscription","commits_url":"https://api.github.com/repos/maestrano/mno-enterprise/commits{/sha}","git_commits_url":"https://api.github.com/repos/maestrano/mno-enterprise/git/commits{/sha}","comments_url":"https://api.github.com/repos/maestrano/mno-enterprise/comments{/number}","issue_comment_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues/comments{/number}","contents_url":"https://api.github.com/repos/maestrano/mno-enterprise/contents/{+path}","compare_url":"https://api.github.com/repos/maestrano/mno-enterprise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maestrano/mno-enterprise/merges","archive_url":"https://api.github.com/repos/maestrano/mno-enterprise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maestrano/mno-enterprise/downloads","issues_url":"https://api.github.com/repos/maestrano/mno-enterprise/issues{/number}","pulls_url":"https://api.github.com/repos/maestrano/mno-enterprise/pulls{/number}","milestones_url":"https://api.github.com/repos/maestrano/mno-enterprise/milestones{/number}","notifications_url":"https://api.github.com/repos/maestrano/mno-enterprise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maestrano/mno-enterprise/labels{/name}","releases_url":"https://api.github.com/repos/maestrano/mno-enterprise/releases{/id}","deployments_url":"https://api.github.com/repos/maestrano/mno-enterprise/deployments","created_at":"2016-03-24T04:22:36Z","updated_at":"2018-03-21T16:35:00Z","pushed_at":"2018-05-09T04:19:11Z","git_url":"git://github.com/maestrano/mno-enterprise.git","ssh_url":"git@github.com:maestrano/mno-enterprise.git","clone_url":"https://github.com/maestrano/mno-enterprise.git","svn_url":"https://github.com/maestrano/mno-enterprise","homepage":"","size":5969,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":26,"open_issues":25,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677"},"html":{"href":"https://github.com/maestrano/mno-enterprise/pull/677"},"issue":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/issues/677"},"comments":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/issues/677/comments"},"review_comments":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677/comments"},"review_comment":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/pulls/677/commits"},"statuses":{"href":"https://api.github.com/repos/maestrano/mno-enterprise/statuses/bacfa0307cee7c775ad93fb76ff3304bd03ca94b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"BrunoChauvet"}}