CADI AAF Integration and merging the code
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / utils / EPCommonSystemProperties.java
1 /*-
2  * ============LICENSE_START==========================================
3  * ONAP Portal
4  * ===================================================================
5  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
8  * Unless otherwise specified, all software contained herein is licensed
9  * under the Apache License, Version 2.0 (the "License");
10  * you may not use this software except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * Unless otherwise specified, all documentation contained herein is licensed
22  * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23  * you may not use this documentation except in compliance with the License.
24  * You may obtain a copy of the License at
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
28  * Unless required by applicable law or agreed to in writing, documentation
29  * distributed under the License is distributed on an "AS IS" BASIS,
30  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  * See the License for the specific language governing permissions and
32  * limitations under the License.
33  *
34  * ============LICENSE_END============================================
35  *
36  * 
37  */
38 package org.onap.portalapp.portal.utils;
39
40 import org.onap.portalsdk.core.util.SystemProperties;
41
42 public class EPCommonSystemProperties extends SystemProperties {
43
44         public static final String LOGIN_URL_NO_RET_VAL                         = "login_url_no_ret_val";
45         public static final String ECOMP_APP_ID                         = "ecomp_app_id";
46         public static final String SYS_ADMIN_ROLE_ID                    = "sys_admin_role_id";
47         public static final String DUBLICATED_FIELD_VALUE_ECOMP_ERROR   = "1201";
48         public static final String ACCOUNT_ADMIN_ROLE_ID                = "account_admin_role_id";
49         public static final String RESTRICTED_APP_ROLE_ID                               = "restricted_app_role_id";
50         public static final String FE_URL                                       = "frontend_url";
51         public static final String HEALTH_POLL_INTERVAL_SECONDS         = "health_poll_interval_seconds";
52         public static final String HEALTHFAIL_ALERT_EVERY_X_INTERVALS   = "health_fail_alert_every_x_intervals";
53         public static final String USER_GUIDE_URL                       = "user_guide_link";
54         
55         public static final String USER_FIRST_NAME                                              = "USER_FIRST_NAME";
56         public static final String USER_LAST_NAME                                               = "USER_LAST_NAME";
57         public static final String USER_EMAIL                                                   = "USER_EMAIL";
58         public static final String USER_ORG_USERID                                              = "USER_ORG_USERID";
59         
60         public static final String USH_TICKET_URL                                               = "ush_ticket_url"; 
61
62         public static final String EXTERNAL_API_RESPONSE_CODE                   = "External_API_ResponseCode";
63         public static final String COOKIE_DOMAIN                        = "cookie_domain";
64
65         public static final String FEEDBACK_EMAIL_ADDRESS                               = "feedback_email_address";
66         public static final String PORTAL_INFO_URL                                              = "portal_info_url";
67         
68         public static final String ONLINE_USER_UPDATE_RATE                              = "online_user_update_rate";
69         public static final String ONLINE_USER_UPDATE_DURATION                  = "online_user_update_duration";
70         
71         public static final String NOTIFICATION_UPDATE_RATE                             = "notification_update_rate";
72         public static final String NOTIFICATION_UPDATE_DURATION                 = "notification_update_duration";
73         
74         public static final String WINDOW_WIDTH_THRESHOLD_LEFT_MENU             = "window_width_threshold_left_menu";
75         public static final String WINDOW_WIDTH_THRESHOLD_RIGHT_MENU    = "window_width_threshold_right_menu";
76                 
77         public static final String AUDITLOG_DEL_DAY_FROM                                = "auditlog_del_day_from";
78         public static final String AUDITLOG_DELETE_CRON                                 = "auditlog_delete_cron";
79         
80         public static final String AUTH_USER_SERVER                                     = "auth_user_server";
81         public static final String EXTERNAL_ACCESS_ENABLE                               = "external_access_enable";
82
83         public static final String EXTERNAL_SYSTEM_NOTIFICATION_URL             = "external_system_notification_url";
84         public static final String EXTERNAL_CENTRAL_AUTH_USER_NAME              = "ext_central_access_user_name";
85         public static final String EXTERNAL_CENTRAL_AUTH_PASSWORD       = "ext_central_access_password";
86         public static final String EXTERNAL_CENTRAL_ACCESS_URL              = "ext_central_access_url";
87         public static final String EXTERNAL_CENTRAL_ACCESS_USER_DOMAIN  = "ext_central_access_user_domain";
88         public static final String REMOTE_CENTRALISED_SYSTEM_ACCESS             = "remote_centralized_system_access";
89
90         public static final String WIDGET_MS_PROTOCOL                                   = "microservices.widget.protocol";
91         public static final String WIDGET_MS_HOSTNAME                                   = "microservices.widget.hostname";
92         
93         public static final String REMOTE_CENTRALIZED_SYSTEM_ACCESS             = "remote_centralized_system_access";
94         
95         public static final String APP_DISPLAY_PASSWORD                                 = "*******";
96         
97         public static final String MS_WIDGET_LOCAL_PORT                 = "microservices.widget.local.port";
98         public static final String MS_WIDGET_UPLOAD_FLAG                = "microservices.widget.upload.flag";
99         public static final String UEB_KEY                                                              = "uebkey";
100         public static final String AUTHORIZATION                                                = "Authorization";
101         public static final String USERNAME                                                 = "username";
102         public static final String PASSWORD                                                 = "password";
103         
104 }