{"action":"created","comment":{"url":"https://api.github.com/repos/syndesisio/syndesis/pulls/comments/173272337","pull_request_review_id":102435711,"id":173272337,"diff_hunk":"@@ -0,0 +1,50 @@\n+/*\n+ * Copyright (C) 2016 Red Hat, Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package io.syndesis.common.model.connection;\n+\n+import java.io.Serializable;\n+import java.util.List;\n+\n+import org.immutables.value.Value;\n+\n+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;\n+\n+@Value.Immutable\n+@JsonDeserialize(builder = PropertyRelation.Builder.class)\n+@SuppressWarnings(\"immutables\")\n+public interface PropertyRelation extends Serializable {\n+\n+    class Builder extends ImmutablePropertyRelation.Builder {\n+        // make ImmutablePropertyRelation.Builder accessible\n+    }\n+\n+    @Value.Immutable\n+    @JsonDeserialize(builder = PropertyRelationWhen.Builder.class)\n+    interface PropertyRelationWhen {\n+\n+        @SuppressWarnings(\"PMD.UseUtilityClass\")\n+        class Builder extends ImmutablePropertyRelationWhen.Builder {\n+        }\n+\n+        String getId();\n+\n+        String getValue();\n+    }\n+\n+    String getAction();\n+\n+    List<PropertyRelationWhen> getWhen();","path":"app/common/model/src/main/java/io/syndesis/common/model/connection/PropertyRelation.java","position":49,"original_position":49,"commit_id":"b7704e09da203ccb4e98a55c9df4c1e8944460dc","original_commit_id":"b7704e09da203ccb4e98a55c9df4c1e8944460dc","user":{"login":"rhuss","id":99080,"avatar_url":"https://avatars3.githubusercontent.com/u/99080?v=4","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"body":"Should it be then `WhenList` ?\r\n\r\nReally not sure about the naming. At least its not very intuitive.","created_at":"2018-03-08T19:53:29Z","updated_at":"2018-03-08T19:53:29Z","html_url":"https://github.com/syndesisio/syndesis/pull/1910#discussion_r173272337","pull_request_url":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/syndesisio/syndesis/pulls/comments/173272337"},"html":{"href":"https://github.com/syndesisio/syndesis/pull/1910#discussion_r173272337"},"pull_request":{"href":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910"}}},"pull_request":{"url":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910","id":173813112,"html_url":"https://github.com/syndesisio/syndesis/pull/1910","diff_url":"https://github.com/syndesisio/syndesis/pull/1910.diff","patch_url":"https://github.com/syndesisio/syndesis/pull/1910.patch","issue_url":"https://api.github.com/repos/syndesisio/syndesis/issues/1910","number":1910,"state":"open","locked":false,"title":"Added Property relation to support conditional UI control of properties Backend feature required for #887","user":{"login":"dhirajsb","id":181691,"avatar_url":"https://avatars1.githubusercontent.com/u/181691?v=4","gravatar_id":"","url":"https://api.github.com/users/dhirajsb","html_url":"https://github.com/dhirajsb","followers_url":"https://api.github.com/users/dhirajsb/followers","following_url":"https://api.github.com/users/dhirajsb/following{/other_user}","gists_url":"https://api.github.com/users/dhirajsb/gists{/gist_id}","starred_url":"https://api.github.com/users/dhirajsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhirajsb/subscriptions","organizations_url":"https://api.github.com/users/dhirajsb/orgs","repos_url":"https://api.github.com/users/dhirajsb/repos","events_url":"https://api.github.com/users/dhirajsb/events{/privacy}","received_events_url":"https://api.github.com/users/dhirajsb/received_events","type":"User","site_admin":false},"body":null,"created_at":"2018-03-08T18:25:18Z","updated_at":"2018-03-08T19:53:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea5755e2fabb43a5fe2f2972ad4f66c80c3b09cd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"lburgazzoli","id":1868933,"avatar_url":"https://avatars1.githubusercontent.com/u/1868933?v=4","gravatar_id":"","url":"https://api.github.com/users/lburgazzoli","html_url":"https://github.com/lburgazzoli","followers_url":"https://api.github.com/users/lburgazzoli/followers","following_url":"https://api.github.com/users/lburgazzoli/following{/other_user}","gists_url":"https://api.github.com/users/lburgazzoli/gists{/gist_id}","starred_url":"https://api.github.com/users/lburgazzoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lburgazzoli/subscriptions","organizations_url":"https://api.github.com/users/lburgazzoli/orgs","repos_url":"https://api.github.com/users/lburgazzoli/repos","events_url":"https://api.github.com/users/lburgazzoli/events{/privacy}","received_events_url":"https://api.github.com/users/lburgazzoli/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910/commits","review_comments_url":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910/comments","review_comment_url":"https://api.github.com/repos/syndesisio/syndesis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/syndesisio/syndesis/issues/1910/comments","statuses_url":"https://api.github.com/repos/syndesisio/syndesis/statuses/b7704e09da203ccb4e98a55c9df4c1e8944460dc","head":{"label":"dhirajsb:ui-hints","ref":"ui-hints","sha":"b7704e09da203ccb4e98a55c9df4c1e8944460dc","user":{"login":"dhirajsb","id":181691,"avatar_url":"https://avatars1.githubusercontent.com/u/181691?v=4","gravatar_id":"","url":"https://api.github.com/users/dhirajsb","html_url":"https://github.com/dhirajsb","followers_url":"https://api.github.com/users/dhirajsb/followers","following_url":"https://api.github.com/users/dhirajsb/following{/other_user}","gists_url":"https://api.github.com/users/dhirajsb/gists{/gist_id}","starred_url":"https://api.github.com/users/dhirajsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhirajsb/subscriptions","organizations_url":"https://api.github.com/users/dhirajsb/orgs","repos_url":"https://api.github.com/users/dhirajsb/repos","events_url":"https://api.github.com/users/dhirajsb/events{/privacy}","received_events_url":"https://api.github.com/users/dhirajsb/received_events","type":"User","site_admin":false},"repo":{"id":111728869,"name":"syndesis","full_name":"dhirajsb/syndesis","owner":{"login":"dhirajsb","id":181691,"avatar_url":"https://avatars1.githubusercontent.com/u/181691?v=4","gravatar_id":"","url":"https://api.github.com/users/dhirajsb","html_url":"https://github.com/dhirajsb","followers_url":"https://api.github.com/users/dhirajsb/followers","following_url":"https://api.github.com/users/dhirajsb/following{/other_user}","gists_url":"https://api.github.com/users/dhirajsb/gists{/gist_id}","starred_url":"https://api.github.com/users/dhirajsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhirajsb/subscriptions","organizations_url":"https://api.github.com/users/dhirajsb/orgs","repos_url":"https://api.github.com/users/dhirajsb/repos","events_url":"https://api.github.com/users/dhirajsb/events{/privacy}","received_events_url":"https://api.github.com/users/dhirajsb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhirajsb/syndesis","description":"A flexible, customizable, open source platform that provides core integration capabilities as a service.","fork":true,"url":"https://api.github.com/repos/dhirajsb/syndesis","forks_url":"https://api.github.com/repos/dhirajsb/syndesis/forks","keys_url":"https://api.github.com/repos/dhirajsb/syndesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhirajsb/syndesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhirajsb/syndesis/teams","hooks_url":"https://api.github.com/repos/dhirajsb/syndesis/hooks","issue_events_url":"https://api.github.com/repos/dhirajsb/syndesis/issues/events{/number}","events_url":"https://api.github.com/repos/dhirajsb/syndesis/events","assignees_url":"https://api.github.com/repos/dhirajsb/syndesis/assignees{/user}","branches_url":"https://api.github.com/repos/dhirajsb/syndesis/branches{/branch}","tags_url":"https://api.github.com/repos/dhirajsb/syndesis/tags","blobs_url":"https://api.github.com/repos/dhirajsb/syndesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhirajsb/syndesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhirajsb/syndesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhirajsb/syndesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhirajsb/syndesis/statuses/{sha}","languages_url":"https://api.github.com/repos/dhirajsb/syndesis/languages","stargazers_url":"https://api.github.com/repos/dhirajsb/syndesis/stargazers","contributors_url":"https://api.github.com/repos/dhirajsb/syndesis/contributors","subscribers_url":"https://api.github.com/repos/dhirajsb/syndesis/subscribers","subscription_url":"https://api.github.com/repos/dhirajsb/syndesis/subscription","commits_url":"https://api.github.com/repos/dhirajsb/syndesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhirajsb/syndesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhirajsb/syndesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhirajsb/syndesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhirajsb/syndesis/contents/{+path}","compare_url":"https://api.github.com/repos/dhirajsb/syndesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhirajsb/syndesis/merges","archive_url":"https://api.github.com/repos/dhirajsb/syndesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhirajsb/syndesis/downloads","issues_url":"https://api.github.com/repos/dhirajsb/syndesis/issues{/number}","pulls_url":"https://api.github.com/repos/dhirajsb/syndesis/pulls{/number}","milestones_url":"https://api.github.com/repos/dhirajsb/syndesis/milestones{/number}","notifications_url":"https://api.github.com/repos/dhirajsb/syndesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhirajsb/syndesis/labels{/name}","releases_url":"https://api.github.com/repos/dhirajsb/syndesis/releases{/id}","deployments_url":"https://api.github.com/repos/dhirajsb/syndesis/deployments","created_at":"2017-11-22T20:23:22Z","updated_at":"2017-11-22T20:23:27Z","pushed_at":"2018-03-08T18:41:42Z","git_url":"git://github.com/dhirajsb/syndesis.git","ssh_url":"git@github.com:dhirajsb/syndesis.git","clone_url":"https://github.com/dhirajsb/syndesis.git","svn_url":"https://github.com/dhirajsb/syndesis","homepage":null,"size":53083,"stargazers_count":0,"watchers_count":0,"language":"Java","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"syndesisio:master","ref":"master","sha":"20188eb450ff7c5b4c7b2c45c68f841883fc0e4c","user":{"login":"syndesisio","id":23079786,"avatar_url":"https://avatars3.githubusercontent.com/u/23079786?v=4","gravatar_id":"","url":"https://api.github.com/users/syndesisio","html_url":"https://github.com/syndesisio","followers_url":"https://api.github.com/users/syndesisio/followers","following_url":"https://api.github.com/users/syndesisio/following{/other_user}","gists_url":"https://api.github.com/users/syndesisio/gists{/gist_id}","starred_url":"https://api.github.com/users/syndesisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syndesisio/subscriptions","organizations_url":"https://api.github.com/users/syndesisio/orgs","repos_url":"https://api.github.com/users/syndesisio/repos","events_url":"https://api.github.com/users/syndesisio/events{/privacy}","received_events_url":"https://api.github.com/users/syndesisio/received_events","type":"Organization","site_admin":false},"repo":{"id":105563335,"name":"syndesis","full_name":"syndesisio/syndesis","owner":{"login":"syndesisio","id":23079786,"avatar_url":"https://avatars3.githubusercontent.com/u/23079786?v=4","gravatar_id":"","url":"https://api.github.com/users/syndesisio","html_url":"https://github.com/syndesisio","followers_url":"https://api.github.com/users/syndesisio/followers","following_url":"https://api.github.com/users/syndesisio/following{/other_user}","gists_url":"https://api.github.com/users/syndesisio/gists{/gist_id}","starred_url":"https://api.github.com/users/syndesisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syndesisio/subscriptions","organizations_url":"https://api.github.com/users/syndesisio/orgs","repos_url":"https://api.github.com/users/syndesisio/repos","events_url":"https://api.github.com/users/syndesisio/events{/privacy}","received_events_url":"https://api.github.com/users/syndesisio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/syndesisio/syndesis","description":"A flexible, customizable, open source platform that provides core integration capabilities as a service.","fork":false,"url":"https://api.github.com/repos/syndesisio/syndesis","forks_url":"https://api.github.com/repos/syndesisio/syndesis/forks","keys_url":"https://api.github.com/repos/syndesisio/syndesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syndesisio/syndesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syndesisio/syndesis/teams","hooks_url":"https://api.github.com/repos/syndesisio/syndesis/hooks","issue_events_url":"https://api.github.com/repos/syndesisio/syndesis/issues/events{/number}","events_url":"https://api.github.com/repos/syndesisio/syndesis/events","assignees_url":"https://api.github.com/repos/syndesisio/syndesis/assignees{/user}","branches_url":"https://api.github.com/repos/syndesisio/syndesis/branches{/branch}","tags_url":"https://api.github.com/repos/syndesisio/syndesis/tags","blobs_url":"https://api.github.com/repos/syndesisio/syndesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syndesisio/syndesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syndesisio/syndesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/syndesisio/syndesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syndesisio/syndesis/statuses/{sha}","languages_url":"https://api.github.com/repos/syndesisio/syndesis/languages","stargazers_url":"https://api.github.com/repos/syndesisio/syndesis/stargazers","contributors_url":"https://api.github.com/repos/syndesisio/syndesis/contributors","subscribers_url":"https://api.github.com/repos/syndesisio/syndesis/subscribers","subscription_url":"https://api.github.com/repos/syndesisio/syndesis/subscription","commits_url":"https://api.github.com/repos/syndesisio/syndesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/syndesisio/syndesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/syndesisio/syndesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/syndesisio/syndesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/syndesisio/syndesis/contents/{+path}","compare_url":"https://api.github.com/repos/syndesisio/syndesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syndesisio/syndesis/merges","archive_url":"https://api.github.com/repos/syndesisio/syndesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syndesisio/syndesis/downloads","issues_url":"https://api.github.com/repos/syndesisio/syndesis/issues{/number}","pulls_url":"https://api.github.com/repos/syndesisio/syndesis/pulls{/number}","milestones_url":"https://api.github.com/repos/syndesisio/syndesis/milestones{/number}","notifications_url":"https://api.github.com/repos/syndesisio/syndesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syndesisio/syndesis/labels{/name}","releases_url":"https://api.github.com/repos/syndesisio/syndesis/releases{/id}","deployments_url":"https://api.github.com/repos/syndesisio/syndesis/deployments","created_at":"2017-10-02T17:26:55Z","updated_at":"2018-03-04T10:01:24Z","pushed_at":"2018-03-08T18:41:43Z","git_url":"git://github.com/syndesisio/syndesis.git","ssh_url":"git@github.com:syndesisio/syndesis.git","clone_url":"https://github.com/syndesisio/syndesis.git","svn_url":"https://github.com/syndesisio/syndesis","homepage":null,"size":57134,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":46,"mirror_url":null,"archived":false,"open_issues_count":494,"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":46,"open_issues":494,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910"},"html":{"href":"https://github.com/syndesisio/syndesis/pull/1910"},"issue":{"href":"https://api.github.com/repos/syndesisio/syndesis/issues/1910"},"comments":{"href":"https://api.github.com/repos/syndesisio/syndesis/issues/1910/comments"},"review_comments":{"href":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910/comments"},"review_comment":{"href":"https://api.github.com/repos/syndesisio/syndesis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/syndesisio/syndesis/pulls/1910/commits"},"statuses":{"href":"https://api.github.com/repos/syndesisio/syndesis/statuses/b7704e09da203ccb4e98a55c9df4c1e8944460dc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rhuss"}}