{"action":"created","comment":{"url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/comments/86829027","pull_request_review_id":7467462,"id":86829027,"diff_hunk":"@@ -0,0 +1,97 @@\n+brooklyn.catalog:\n+  version: 0.8-SNAPSHOT\n+  iconUrl: https://raw.githubusercontent.com/cloudsoft/brooklyn-hyperledger/master/hyperledger-fabric-icon.png\n+  license_code: Apache-2.0\n+  license_url: http://www.apache.org/licenses/LICENSE-2.0.txt\n+  dependsOn:\n+  # From https://github.com/brooklyncentral/common-catalog-utils\n+  - commontests/common.tests.bom\n+\n+  items:\n+  - \"https://raw.githubusercontent.com/brooklyncentral/common-catalog-utils/master/common-tests/src/main/resources/commontests/common.tests.bom\"\n+\n+  - id: hyperledger-fabric-single-cluster-application-test\n+    itemType: template\n+    name: Hyperledger Cluster Test\n+    item:\n+      services:\n+      - type: hyperledger-fabric-single-cluster-application\n+        id: target-app\n+\n+      - type: test-case\n+        name: Hyperledger assertions\n+        brooklyn.config:\n+          targetId: target-app\n+          timeout: 30m\n+          timeout.initialStartup: 1h\n+        brooklyn.children:\n+\n+        - type: assert-up-and-running-initial\n+\n+        - type: invoke-effector\n+          name: Example blockchain app\n+          brooklyn.config:\n+            targetId: my-hyperledger-cli-node\n+            effector: Run Demo Application\n+            # TODO Want to assert output contains \"Dave is the owner!\", but that is in the shh stderr","path":"tests/catalog.tests.bom","position":36,"original_position":36,"commit_id":"5376dd105d0e2a8f88b891f9a47861fa128a5be7","original_commit_id":"5376dd105d0e2a8f88b891f9a47861fa128a5be7","user":{"login":"mikezaccardo","id":11599963,"avatar_url":"https://avatars.githubusercontent.com/u/11599963?v=3","gravatar_id":"","url":"https://api.github.com/users/mikezaccardo","html_url":"https://github.com/mikezaccardo","followers_url":"https://api.github.com/users/mikezaccardo/followers","following_url":"https://api.github.com/users/mikezaccardo/following{/other_user}","gists_url":"https://api.github.com/users/mikezaccardo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikezaccardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikezaccardo/subscriptions","organizations_url":"https://api.github.com/users/mikezaccardo/orgs","repos_url":"https://api.github.com/users/mikezaccardo/repos","events_url":"https://api.github.com/users/mikezaccardo/events{/privacy}","received_events_url":"https://api.github.com/users/mikezaccardo/received_events","type":"User","site_admin":false},"body":"We could turn this into an SSH command, pipe it to a file, and check the contents of the output file?","created_at":"2016-11-07T17:49:40Z","updated_at":"2016-11-07T18:01:18Z","html_url":"https://github.com/cloudsoft/brooklyn-hyperledger/pull/38#discussion_r86829027","pull_request_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/comments/86829027"},"html":{"href":"https://github.com/cloudsoft/brooklyn-hyperledger/pull/38#discussion_r86829027"},"pull_request":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38","id":92241665,"html_url":"https://github.com/cloudsoft/brooklyn-hyperledger/pull/38","diff_url":"https://github.com/cloudsoft/brooklyn-hyperledger/pull/38.diff","patch_url":"https://github.com/cloudsoft/brooklyn-hyperledger/pull/38.patch","issue_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/38","number":38,"state":"open","locked":false,"title":"Adds automated tests (work in progress)","user":{"login":"aledsage","id":593113,"avatar_url":"https://avatars.githubusercontent.com/u/593113?v=3","gravatar_id":"","url":"https://api.github.com/users/aledsage","html_url":"https://github.com/aledsage","followers_url":"https://api.github.com/users/aledsage/followers","following_url":"https://api.github.com/users/aledsage/following{/other_user}","gists_url":"https://api.github.com/users/aledsage/gists{/gist_id}","starred_url":"https://api.github.com/users/aledsage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aledsage/subscriptions","organizations_url":"https://api.github.com/users/aledsage/orgs","repos_url":"https://api.github.com/users/aledsage/repos","events_url":"https://api.github.com/users/aledsage/events{/privacy}","received_events_url":"https://api.github.com/users/aledsage/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-03T21:15:17Z","updated_at":"2016-11-07T18:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00e6be91b727b7801a00a42a3ac9f5cee1265f2b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38/commits","review_comments_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38/comments","review_comment_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/38/comments","statuses_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/statuses/5376dd105d0e2a8f88b891f9a47861fa128a5be7","head":{"label":"cloudsoft:add-tests","ref":"add-tests","sha":"5376dd105d0e2a8f88b891f9a47861fa128a5be7","user":{"login":"cloudsoft","id":831459,"avatar_url":"https://avatars.githubusercontent.com/u/831459?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudsoft","html_url":"https://github.com/cloudsoft","followers_url":"https://api.github.com/users/cloudsoft/followers","following_url":"https://api.github.com/users/cloudsoft/following{/other_user}","gists_url":"https://api.github.com/users/cloudsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudsoft/subscriptions","organizations_url":"https://api.github.com/users/cloudsoft/orgs","repos_url":"https://api.github.com/users/cloudsoft/repos","events_url":"https://api.github.com/users/cloudsoft/events{/privacy}","received_events_url":"https://api.github.com/users/cloudsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":58413007,"name":"brooklyn-hyperledger","full_name":"cloudsoft/brooklyn-hyperledger","owner":{"login":"cloudsoft","id":831459,"avatar_url":"https://avatars.githubusercontent.com/u/831459?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudsoft","html_url":"https://github.com/cloudsoft","followers_url":"https://api.github.com/users/cloudsoft/followers","following_url":"https://api.github.com/users/cloudsoft/following{/other_user}","gists_url":"https://api.github.com/users/cloudsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudsoft/subscriptions","organizations_url":"https://api.github.com/users/cloudsoft/orgs","repos_url":"https://api.github.com/users/cloudsoft/repos","events_url":"https://api.github.com/users/cloudsoft/events{/privacy}","received_events_url":"https://api.github.com/users/cloudsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudsoft/brooklyn-hyperledger","description":"Brooklyn blueprint for Hyperledger Fabric deployment","fork":false,"url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger","forks_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/forks","keys_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/teams","hooks_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/hooks","issue_events_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/events{/number}","events_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/events","assignees_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/assignees{/user}","branches_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/branches{/branch}","tags_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/tags","blobs_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/languages","stargazers_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/stargazers","contributors_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/contributors","subscribers_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/subscribers","subscription_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/subscription","commits_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/contents/{+path}","compare_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/merges","archive_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/downloads","issues_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues{/number}","pulls_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/labels{/name}","releases_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/releases{/id}","deployments_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/deployments","created_at":"2016-05-09T22:48:05Z","updated_at":"2016-11-06T20:38:46Z","pushed_at":"2016-11-06T20:51:28Z","git_url":"git://github.com/cloudsoft/brooklyn-hyperledger.git","ssh_url":"git@github.com:cloudsoft/brooklyn-hyperledger.git","clone_url":"https://github.com/cloudsoft/brooklyn-hyperledger.git","svn_url":"https://github.com/cloudsoft/brooklyn-hyperledger","homepage":null,"size":139,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":3,"default_branch":"master"}},"base":{"label":"cloudsoft:master","ref":"master","sha":"cc212bf10a92a431a41814db662665bce13d10f7","user":{"login":"cloudsoft","id":831459,"avatar_url":"https://avatars.githubusercontent.com/u/831459?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudsoft","html_url":"https://github.com/cloudsoft","followers_url":"https://api.github.com/users/cloudsoft/followers","following_url":"https://api.github.com/users/cloudsoft/following{/other_user}","gists_url":"https://api.github.com/users/cloudsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudsoft/subscriptions","organizations_url":"https://api.github.com/users/cloudsoft/orgs","repos_url":"https://api.github.com/users/cloudsoft/repos","events_url":"https://api.github.com/users/cloudsoft/events{/privacy}","received_events_url":"https://api.github.com/users/cloudsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":58413007,"name":"brooklyn-hyperledger","full_name":"cloudsoft/brooklyn-hyperledger","owner":{"login":"cloudsoft","id":831459,"avatar_url":"https://avatars.githubusercontent.com/u/831459?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudsoft","html_url":"https://github.com/cloudsoft","followers_url":"https://api.github.com/users/cloudsoft/followers","following_url":"https://api.github.com/users/cloudsoft/following{/other_user}","gists_url":"https://api.github.com/users/cloudsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudsoft/subscriptions","organizations_url":"https://api.github.com/users/cloudsoft/orgs","repos_url":"https://api.github.com/users/cloudsoft/repos","events_url":"https://api.github.com/users/cloudsoft/events{/privacy}","received_events_url":"https://api.github.com/users/cloudsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudsoft/brooklyn-hyperledger","description":"Brooklyn blueprint for Hyperledger Fabric deployment","fork":false,"url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger","forks_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/forks","keys_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/teams","hooks_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/hooks","issue_events_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/events{/number}","events_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/events","assignees_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/assignees{/user}","branches_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/branches{/branch}","tags_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/tags","blobs_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/languages","stargazers_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/stargazers","contributors_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/contributors","subscribers_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/subscribers","subscription_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/subscription","commits_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/contents/{+path}","compare_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/merges","archive_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/downloads","issues_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues{/number}","pulls_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/labels{/name}","releases_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/releases{/id}","deployments_url":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/deployments","created_at":"2016-05-09T22:48:05Z","updated_at":"2016-11-06T20:38:46Z","pushed_at":"2016-11-06T20:51:28Z","git_url":"git://github.com/cloudsoft/brooklyn-hyperledger.git","ssh_url":"git@github.com:cloudsoft/brooklyn-hyperledger.git","clone_url":"https://github.com/cloudsoft/brooklyn-hyperledger.git","svn_url":"https://github.com/cloudsoft/brooklyn-hyperledger","homepage":null,"size":139,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38"},"html":{"href":"https://github.com/cloudsoft/brooklyn-hyperledger/pull/38"},"issue":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/38"},"comments":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/cloudsoft/brooklyn-hyperledger/statuses/5376dd105d0e2a8f88b891f9a47861fa128a5be7"}}}}
{"actor":{"display_login":"mikezaccardo"}}