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