{"action":"created","comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments/224076821","pull_request_review_id":163356242,"id":224076821,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDA3NjgyMQ==","diff_hunk":"@@ -0,0 +1,133 @@\n+package vcd\n+\n+import (\n+\t\"fmt\"\n+\t\"github.com/hashicorp/terraform/helper/schema\"\n+\t\"github.com/vmware/go-vcloud-director/govcd\"\n+\t\"log\"\n+)\n+\n+func resourceVcdCatalog() *schema.Resource {\n+\treturn &schema.Resource{\n+\t\tCreate: resourceVcdCatalogCreate,\n+\t\tDelete: resourceVcdCatalogDelete,\n+\t\tRead:   resourceVcdCatalogRead,\n+\n+\t\t//resource \"vcd_catalog\" \"OperatingSystems\" {\n+\t\t//org = \"Solpan\" # Optional, if defined at provider level\n+\t\t//vdc = \"SolpanVDC\" # Optional, if defined at provider level\n+\t\t//\n+\t\t//name = \"OperatingSystems\"\n+\t\t//description = \"Fresh OS templates\"\n+\t\t//\n+\t\t//force      = \"true\"\n+\t\t//recursive  = \"true\"\n+\t\t//}\n+\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\"org\": {\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tRequired: false,\n+\t\t\t\tOptional: true,\n+\t\t\t\tForceNew: true,\n+\t\t\t},\n+\t\t\t\"vdc\": {\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tRequired: false,\n+\t\t\t\tOptional: true,\n+\t\t\t\tForceNew: true,\n+\t\t\t},\n+\t\t\t\"name\": &schema.Schema{\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tRequired: true,\n+\t\t\t\tForceNew: true,\n+\t\t\t},\n+\n+\t\t\t\"description\": &schema.Schema{\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tRequired: true,\n+\t\t\t\tForceNew: true,\n+\t\t\t},\n+\t\t\t\"force\": &schema.Schema{","path":"vcd/resource_vcd_catalog.go","position":50,"original_position":50,"commit_id":"19e6195194861992be5779106f33b60eb7df7433","original_commit_id":"19e6195194861992be5779106f33b60eb7df7433","user":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"body":"Yes, changed that and added descriptions.","created_at":"2018-10-10T13:33:28Z","updated_at":"2018-10-10T13:33:29Z","html_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/100#discussion_r224076821","pull_request_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments/224076821"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-vcd/pull/100#discussion_r224076821"},"pull_request":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100"}},"in_reply_to_id":224052608},"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100","id":221763120,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNzYzMTIw","html_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/100","diff_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/100.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/100.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/100","number":100,"state":"open","locked":false,"title":"Add catalog","user":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"body":"Added implementation for catalog recourse management.\r\n\r\nReference: #94","created_at":"2018-10-10T12:04:00Z","updated_at":"2018-10-10T13:33:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c6d13cfd5fb645b67e1be4d90cac5ab0028824e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":737832423,"node_id":"MDU6TGFiZWw3Mzc4MzI0MjM=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/labels/size/L","name":"size/L","color":"ffffff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/100/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/statuses/19e6195194861992be5779106f33b60eb7df7433","head":{"label":"vbauzysvmware:add-catalog","ref":"add-catalog","sha":"19e6195194861992be5779106f33b60eb7df7433","user":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"repo":{"id":151562294,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE1NjIyOTQ=","name":"terraform-provider-vcd","full_name":"vbauzysvmware/terraform-provider-vcd","private":false,"owner":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vbauzysvmware/terraform-provider-vcd","description":"Terraform VMware vCloud Director provider","fork":true,"url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd","forks_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/forks","keys_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/teams","hooks_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/hooks","issue_events_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/issues/events{/number}","events_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/events","assignees_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/assignees{/user}","branches_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/branches{/branch}","tags_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/tags","blobs_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/statuses/{sha}","languages_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/languages","stargazers_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/stargazers","contributors_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/contributors","subscribers_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/subscribers","subscription_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/subscription","commits_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/contents/{+path}","compare_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/merges","archive_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/downloads","issues_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/issues{/number}","pulls_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/pulls{/number}","milestones_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/milestones{/number}","notifications_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/labels{/name}","releases_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/releases{/id}","deployments_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/deployments","created_at":"2018-10-04T11:38:47Z","updated_at":"2018-10-04T11:38:49Z","pushed_at":"2018-10-10T12:00:52Z","git_url":"git://github.com/vbauzysvmware/terraform-provider-vcd.git","ssh_url":"git@github.com:vbauzysvmware/terraform-provider-vcd.git","clone_url":"https://github.com/vbauzysvmware/terraform-provider-vcd.git","svn_url":"https://github.com/vbauzysvmware/terraform-provider-vcd","homepage":"https://www.terraform.io/docs/providers/vcd/","size":2129,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"terraform-providers:vmware-takes-ownership","ref":"vmware-takes-ownership","sha":"529aa50a5fee76aa21477df69ed6bfcb0b1dd345","user":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"repo":{"id":93446091,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQ0NjA5MQ==","name":"terraform-provider-vcd","full_name":"terraform-providers/terraform-provider-vcd","private":false,"owner":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/terraform-providers/terraform-provider-vcd","description":"Terraform VMware vCloud Director provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/deployments","created_at":"2017-06-05T20:54:05Z","updated_at":"2018-09-19T23:53:43Z","pushed_at":"2018-10-10T12:04:01Z","git_url":"git://github.com/terraform-providers/terraform-provider-vcd.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-vcd.git","clone_url":"https://github.com/terraform-providers/terraform-provider-vcd.git","svn_url":"https://github.com/terraform-providers/terraform-provider-vcd","homepage":"https://www.terraform.io/docs/providers/vcd/","size":2124,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":24,"open_issues":55,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-vcd/pull/100"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/100"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/statuses/19e6195194861992be5779106f33b60eb7df7433"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vbauzysvmware"}}