You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dr...@apache.org on 2016/04/01 14:02:42 UTC

incubator-unomi git commit: UNOMI-20 : Fixed range values

Repository: incubator-unomi
Updated Branches:
  refs/heads/master 5bd3f66a9 -> 8dfd6ac2c


UNOMI-20 : Fixed range values


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/8dfd6ac2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/8dfd6ac2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/8dfd6ac2

Branch: refs/heads/master
Commit: 8dfd6ac2c4ee00d83dc28cb1a7aaf1096d268d71
Parents: 5bd3f66
Author: Thomas Draier <dr...@apache.org>
Authored: Fri Apr 1 14:02:20 2016 +0200
Committer: Thomas Draier <dr...@apache.org>
Committed: Fri Apr 1 14:02:20 2016 +0200

----------------------------------------------------------------------
 .../META-INF/cxs/properties/profiles/personal/age.json  | 10 +++++-----
 .../cxs/properties/profiles/personal/birthDate.json     | 12 ++++++------
 2 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8dfd6ac2/services/src/main/resources/META-INF/cxs/properties/profiles/personal/age.json
----------------------------------------------------------------------
diff --git a/services/src/main/resources/META-INF/cxs/properties/profiles/personal/age.json b/services/src/main/resources/META-INF/cxs/properties/profiles/personal/age.json
index 3670d41..fbed245 100644
--- a/services/src/main/resources/META-INF/cxs/properties/profiles/personal/age.json
+++ b/services/src/main/resources/META-INF/cxs/properties/profiles/personal/age.json
@@ -8,11 +8,11 @@
   "defaultValue": "",
   "numericRanges": [
     {"key":"*_10", "to" : 10 },
-    {"key":"11_20", "from" : 10, "to" : 20 },
-    {"key":"21_30", "from" : 20, "to" : 30 },
-    {"key":"31_40", "from" : 30, "to" : 40 },
-    {"key":"41_50", "from" : 40, "to" : 50 },
-    {"key":"51_*", "from" : 50 }
+    {"key":"10_20", "from" : 10, "to" : 20 },
+    {"key":"20_30", "from" : 20, "to" : 30 },
+    {"key":"30_40", "from" : 30, "to" : 40 },
+    {"key":"40_50", "from" : 40, "to" : 50 },
+    {"key":"50_*", "from" : 50 }
   ],
   "automaticMappingsFrom": [ ],
   "rank": "501.0"

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8dfd6ac2/services/src/main/resources/META-INF/cxs/properties/profiles/personal/birthDate.json
----------------------------------------------------------------------
diff --git a/services/src/main/resources/META-INF/cxs/properties/profiles/personal/birthDate.json b/services/src/main/resources/META-INF/cxs/properties/profiles/personal/birthDate.json
index 91250f6..25b04b7 100644
--- a/services/src/main/resources/META-INF/cxs/properties/profiles/personal/birthDate.json
+++ b/services/src/main/resources/META-INF/cxs/properties/profiles/personal/birthDate.json
@@ -7,12 +7,12 @@
   "tags": ["personalProfileProperties"],
   "defaultValue": "",
   "dateRanges": [
-    {"key":"*_10", "from": "now-10y", "to" : "now" },
-    {"key":"11_20", "from": "now-20y", "to" : "now-11y" },
-    {"key":"21_30", "from": "now-30y", "to" : "now-21y"  },
-    {"key":"31_40", "from": "now-40y", "to" : "now-31y"  },
-    {"key":"41_50", "from": "now-50y", "to" : "now-41y"  },
-    {"key":"51_*", "from": "now-51y"}
+    {"key":"*_10", "from": "now-10y/y" },
+    {"key":"10_20", "from": "now-20y/y", "to" : "now-10y/y" },
+    {"key":"20_30", "from": "now-30y/y", "to" : "now-20y/y"  },
+    {"key":"30_40", "from": "now-40y/y", "to" : "now-30y/y"  },
+    {"key":"40_50", "from": "now-50y/y", "to" : "now-40y/y"  },
+    {"key":"50_*", "to": "now-50y/y"}
   ],
   "automaticMappingsFrom": [ "j:birthDate" ],
   "rank": "502.0"