Adding option for configurable header
[aai/sparky-fe.git] / src / app / personlaization / PersonalizationConstans.js
diff --git a/src/app/personlaization/PersonalizationConstans.js b/src/app/personlaization/PersonalizationConstans.js
new file mode 100644 (file)
index 0000000..bbe0174
--- /dev/null
@@ -0,0 +1,30 @@
+/*\r
+ * ============LICENSE_START=======================================================\r
+ * org.onap.aai\r
+ * ================================================================================\r
+ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.\r
+ * Copyright © 2017-2018 Amdocs\r
+ * ================================================================================\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *       http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ============LICENSE_END=========================================================\r
+ */\r
+\r
+import keyMirror from 'utils/KeyMirror.js';\r
+import {BASE_URL} from 'app/networking/NetworkConstants.js';\r
+\r
+export const personalizationActionTypes = keyMirror({\r
+  PERSONALIZATION_PAYLOAD_FOUND: null\r
+});\r
+\r
+export const GET_PERSONALIZED_VALUES_URL = BASE_URL + '/rest/getPersonalizedValues';\r
+export const PERSONALIZATION_FAILED_MESSAGE = 'Failed to fetch personalization values';\r