[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-os / src / main / java / org / openecomp / portalapp / portal / utils / EPSystemProperties.java
1 /*-
2  * ================================================================================
3  * ECOMP Portal
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.openecomp.portalapp.portal.utils;
21
22 import org.springframework.context.annotation.Configuration;
23 import org.springframework.context.annotation.PropertySource;
24 import org.springframework.context.annotation.PropertySources;
25
26 @Configuration
27 @PropertySources({ 
28         @PropertySource ("/WEB-INF/conf/system.properties"),
29         @PropertySource ("/WEB-INF/conf/sql.properties"),
30     @PropertySource ("/WEB-INF/fusion/conf/fusion.properties"),
31         @PropertySource (value = "file:${catalina.home}/conf/system.properties", ignoreResourceNotFound = true),
32         @PropertySource (value = "file:${catalina.home}/conf/fusion.properties", ignoreResourceNotFound = true)
33         })
34
35 /**
36  * Contains properties specific to the ONAP version of the ECOMP Portal.
37  */
38 public class EPSystemProperties extends EPCommonSystemProperties {
39         public static final String CONTACT_US_URL = "contact_us_link";
40         public static final String ECOMP_CONTEXT_ROOT = "context_root";
41
42 }