{"action":"created","issue":{"url":"https://api.github.com/repos/clun/ff4j/issues/183","repository_url":"https://api.github.com/repos/clun/ff4j","labels_url":"https://api.github.com/repos/clun/ff4j/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/clun/ff4j/issues/183/comments","events_url":"https://api.github.com/repos/clun/ff4j/issues/183/events","html_url":"https://github.com/clun/ff4j/issues/183","id":203917361,"number":183,"title":"Question - How are the Custom properties table used ?","user":{"login":"AshutoshKumar2513","id":7909427,"avatar_url":"https://avatars.githubusercontent.com/u/7909427?v=3","gravatar_id":"","url":"https://api.github.com/users/AshutoshKumar2513","html_url":"https://github.com/AshutoshKumar2513","followers_url":"https://api.github.com/users/AshutoshKumar2513/followers","following_url":"https://api.github.com/users/AshutoshKumar2513/following{/other_user}","gists_url":"https://api.github.com/users/AshutoshKumar2513/gists{/gist_id}","starred_url":"https://api.github.com/users/AshutoshKumar2513/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshutoshKumar2513/subscriptions","organizations_url":"https://api.github.com/users/AshutoshKumar2513/orgs","repos_url":"https://api.github.com/users/AshutoshKumar2513/repos","events_url":"https://api.github.com/users/AshutoshKumar2513/events{/privacy}","received_events_url":"https://api.github.com/users/AshutoshKumar2513/received_events","type":"User","site_admin":false},"labels":[{"id":44532812,"url":"https://api.github.com/repos/clun/ff4j/labels/question","name":"question","color":"1d76db","default":true}],"state":"open","locked":false,"assignee":{"login":"clun","id":726536,"avatar_url":"https://avatars.githubusercontent.com/u/726536?v=3","gravatar_id":"","url":"https://api.github.com/users/clun","html_url":"https://github.com/clun","followers_url":"https://api.github.com/users/clun/followers","following_url":"https://api.github.com/users/clun/following{/other_user}","gists_url":"https://api.github.com/users/clun/gists{/gist_id}","starred_url":"https://api.github.com/users/clun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clun/subscriptions","organizations_url":"https://api.github.com/users/clun/orgs","repos_url":"https://api.github.com/users/clun/repos","events_url":"https://api.github.com/users/clun/events{/privacy}","received_events_url":"https://api.github.com/users/clun/received_events","type":"User","site_admin":false},"assignees":[{"login":"clun","id":726536,"avatar_url":"https://avatars.githubusercontent.com/u/726536?v=3","gravatar_id":"","url":"https://api.github.com/users/clun","html_url":"https://github.com/clun","followers_url":"https://api.github.com/users/clun/followers","following_url":"https://api.github.com/users/clun/following{/other_user}","gists_url":"https://api.github.com/users/clun/gists{/gist_id}","starred_url":"https://api.github.com/users/clun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clun/subscriptions","organizations_url":"https://api.github.com/users/clun/orgs","repos_url":"https://api.github.com/users/clun/repos","events_url":"https://api.github.com/users/clun/events{/privacy}","received_events_url":"https://api.github.com/users/clun/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-01-30T02:34:28Z","updated_at":"2017-02-08T02:01:58Z","closed_at":null,"body":"Hello Team,\r\nCan anyone point to some resource/ example on how we can utilize the custom properties table present on FF4J.\r\nI see we can add properties as below (present on WIKI) but how/what purpose they are for ?\r\n// Custom properties\r\nFeature f4 = new Feature(\"f4\");\r\nf4.addProperty(new PropertyString(\"p1\", \"v1\"));\r\nf4.addProperty(new PropertyDouble(\"pie\", Math.PI));\r\nf4.addProperty(new PropertyInt(\"myAge\", 12));\r\n\r\n-- Feature Internal Custom Properties\r\nCREATE TABLE FF4J_CUSTOM_PROPERTIES (\r\n  \"PROPERTY_ID\"  VARCHAR(100) NOT NULL,\r\n  \"CLAZZ\" \t\t VARCHAR(255) NOT NULL,\r\n  \"CURRENTVALUE\" VARCHAR(255),\r\n  \"FIXEDVALUES\"\t VARCHAR(1000),\r\n  \"DESCRIPTION\"\t VARCHAR(1000),\r\n  \"FEAT_UID\"     VARCHAR(100) REFERENCES FF4J_FEATURES(\"FEAT_UID\"),\r\n  PRIMARY KEY(\"PROPERTY_ID\", \"FEAT_UID\")\r\n);\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clun/ff4j/issues/comments/278206605","html_url":"https://github.com/clun/ff4j/issues/183#issuecomment-278206605","issue_url":"https://api.github.com/repos/clun/ff4j/issues/183","id":278206605,"user":{"login":"AshutoshKumar2513","id":7909427,"avatar_url":"https://avatars.githubusercontent.com/u/7909427?v=3","gravatar_id":"","url":"https://api.github.com/users/AshutoshKumar2513","html_url":"https://github.com/AshutoshKumar2513","followers_url":"https://api.github.com/users/AshutoshKumar2513/followers","following_url":"https://api.github.com/users/AshutoshKumar2513/following{/other_user}","gists_url":"https://api.github.com/users/AshutoshKumar2513/gists{/gist_id}","starred_url":"https://api.github.com/users/AshutoshKumar2513/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshutoshKumar2513/subscriptions","organizations_url":"https://api.github.com/users/AshutoshKumar2513/orgs","repos_url":"https://api.github.com/users/AshutoshKumar2513/repos","events_url":"https://api.github.com/users/AshutoshKumar2513/events{/privacy}","received_events_url":"https://api.github.com/users/AshutoshKumar2513/received_events","type":"User","site_admin":false},"created_at":"2017-02-08T02:01:58Z","updated_at":"2017-02-08T02:01:58Z","body":"@clun super cool, API doc link were helpful, will wait for your final version of it.\r\n\r\nHere is my understanding as per the documentation about the existing strategy.\r\nThe existing strategies can be used as is, as they are checked in ff4j-core already.\r\nSo, if I add a strategy as **org.ff4j.strategy.ReleaseDateFlipStrategy{releaseDate=2017-02-07-20:00}** from my console to one of the feature (backend uses a RDS datastore), so after this date/time, this feature will be flipped automatically?\r\nbut it's not happening :(\r\n(FYI, I am running on version 1.3.5)"}}
{"actor":{"display_login":"AshutoshKumar2513"}}