Repository: incubator-unomi Updated Branches: refs/heads/master c9f1bc79e -> 9fdbf4862
UNOMI-30 : moved custom segments / rules to dedicated application Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/9fdbf486 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/9fdbf486 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/9fdbf486 Branch: refs/heads/master Commit: 9fdbf48629acdf1e7ce3bf03a0e983e228c49a41 Parents: c9f1bc7 Author: Thomas Draier <[email protected]> Authored: Mon Jul 4 12:07:16 2016 +0200 Committer: Thomas Draier <[email protected]> Committed: Mon Jul 4 12:07:16 2016 +0200 ---------------------------------------------------------------------- .../META-INF/cxs/rules/facebookLogin.json | 34 ------------- .../META-INF/cxs/segments/contacts.json | 51 -------------------- .../resources/META-INF/cxs/segments/leads.json | 23 --------- 3 files changed, 108 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/9fdbf486/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/facebookLogin.json ---------------------------------------------------------------------- diff --git a/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/facebookLogin.json b/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/facebookLogin.json deleted file mode 100644 index bfc99ca..0000000 --- a/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/facebookLogin.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "metadata": { - "id": "_d63zx3c00_facebookLogin", - "name": "Facebook login", - "description": "Upon Facebook login event, copy all event properties to profile properties" - }, - "condition": { - "parameterValues": { - "subConditions": [ - { - "parameterValues": { - "eventTypeId": "facebookLogin" - }, - "type": "eventTypeCondition" - } - ], - "operator": "and" - }, - "type": "booleanCondition" - }, - "actions": [ - { - "parameterValues": { - }, - "type": "allEventToProfilePropertiesAction" - }, - { - "parameterValues": { - "mergeProfilePropertyName": "email" - }, - "type": "mergeProfilesOnPropertyAction" - } - ] -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/9fdbf486/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/contacts.json ---------------------------------------------------------------------- diff --git a/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/contacts.json b/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/contacts.json deleted file mode 100644 index dc1d953..0000000 --- a/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/contacts.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "metadata": { - "id": "contacts", - "name": "Contacts", - "description": "This segment includes all contacts, meaning all profiles that contain a contact identifier such as an email, a phone number or a Facebook ID", - "readOnly":true - }, - "condition": { - "parameterValues": { - "subConditions": [ - { - "parameterValues": { - "propertyName": "properties.email", - "comparisonOperator": "exists" - }, - "type": "profilePropertyCondition" - }, - { - "parameterValues": { - "propertyName": "properties.phoneNumber", - "comparisonOperator": "exists" - }, - "type": "profilePropertyCondition" - }, - { - "parameterValues": { - "propertyName": "properties.facebookId", - "comparisonOperator": "exists" - }, - "type": "profilePropertyCondition" - }, - { - "parameterValues": { - "propertyName": "properties.twitterId", - "comparisonOperator": "exists" - }, - "type": "profilePropertyCondition" - }, - { - "parameterValues": { - "propertyName": "properties.linkedInId", - "comparisonOperator": "exists" - }, - "type": "profilePropertyCondition" - } - ], - "operator" : "or" - }, - "type": "booleanCondition" - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/9fdbf486/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/leads.json ---------------------------------------------------------------------- diff --git a/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/leads.json b/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/leads.json deleted file mode 100644 index 063a1b0..0000000 --- a/plugins/baseplugin/src/main/resources/META-INF/cxs/segments/leads.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "metadata": { - "id": "leads", - "name": "Leads", - "description": "This segment includes all leads, meaning all profiles that are assigned to an account manager", - "readOnly":true - }, - "condition": { - "parameterValues": { - "subConditions": [ - { - "parameterValues": { - "propertyName": "properties.leadAssignedTo", - "comparisonOperator": "exists" - }, - "type": "profilePropertyCondition" - } - ], - "operator" : "and" - }, - "type": "booleanCondition" - } -} \ No newline at end of file
