Take 'contact us' url from configuration 56/92256/4
authorRina Roi <rina.roi@intl.att.com>
Tue, 30 Jul 2019 09:31:51 +0000 (12:31 +0300)
committerIttay Stern <ittay.stern@att.com>
Tue, 30 Jul 2019 14:13:00 +0000 (14:13 +0000)
Issue-ID: VID-541
Signed-off-by: Rina Roi <rina.roi@intl.att.com>
Change-Id: Ia7d829c20a8689f7aab737ea83ed420b6c3448a3

epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties
epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp
vid-app-common/src/main/java/org/onap/vid/properties/VidProperties.java
vid-app-common/src/test/resources/WEB-INF/conf/system.properties

index 976ec75..70b41c6 100755 (executable)
@@ -123,6 +123,7 @@ ecomp_shared_context_rest_url= https://www.openecomp.org:8080/ecompportal/contex
 
 # Link shown in Help menu
 contact_us_link = https://www.openecomp.org/EcompPortal/ECOMP+Portal+Home
+homepage_contact_us_url = mailto:portal@lists.onap.org
 
 # An Unique 128-bit value defined to identify a specific version
 # of an application deployed on a specific virtual machine.
index cdea4d0..5143b1e 100755 (executable)
@@ -54,6 +54,7 @@ mobile_enable = false
 # Cache config file is needed on the classpath
 cache_config_file_path        = /WEB-INF/classes/cache.ccf
 cache_switch                  = 199
+
 cache_load_on_startup         = false
 
 user_name = fullName
@@ -84,6 +85,7 @@ aai.vnf.provstatus=${AAI_VNF_PROVSTATUS}
 ecomp_shared_context_rest_url=${VID_ECOMP_SHARED_CONTEXT_REST_URL}
 # Link shown in Help menu
 contact_us_link=${VID_CONTACT_US_LINK}
+homepage_contact_us_url= mailto:portal@lists.onap.org
 #Cron Schedules
 log_cron                      = 0 0/1 * * * ?;
 mylogins_feed_cron            = 0 0/60 * * * ?;
index 479459f..8c9c39e 100755 (executable)
    The VID user can also search for, and display, existing service instances and direct the instantiation of \r
    subsequent instance components.\r
      <br><br>\r
+    <%\r
+        String contactUsUrl = SystemProperties.getProperty(VidProperties.HOMEPAGE_CONTACT_US_URL);\r
+    %>\r
   \r
-    <h1 class="heading1"><a href="mailto:portal@lists.onap.org" target="_top">Contact Us</a></h1>\r
-    <a href="mailto:portal@lists.onap.org" target="_top">Please click here to contact us.</a>\r
+    <h1 class="heading1"><a href="<%=contactUsUrl%>" target="_top">Contact Us</a></h1>\r
+    <a href="<%=contactUsUrl%>" target="_top">Please click here to contact us.</a>\r
     <%\r
         if (Features.FLAG_ADD_MSO_TESTAPI_FIELD.isActive()) {\r
 \r
index 8331886..3975024 100644 (file)
@@ -31,6 +31,7 @@ public class VidProperties extends SystemProperties {
 
        //VID General Properties
        public static final String MSO_DISPLAY_TEST_API_ON_SCREEN="mso.displayTestAPIOnScreen";
+       public static final String HOMEPAGE_CONTACT_US_URL = "homepage_contact_us_url";
        public static final String MSO_DEFAULT_TEST_API="mso.defaultTestAPI";
        public static final String MSO_MAX_OPENED_INSTANTIATION_REQUESTS="mso.maxOpenedInstantiationRequests";
        public static final String MSO_ASYNC_POLLING_INTERVAL_SECONDS="mso.asyncPollingIntervalSeconds";
index bfd7ef9..829c2ca 100644 (file)
@@ -104,6 +104,7 @@ ecomp_shared_context_rest_url= https://www.ecomp.att.com:8080/ecompportal/contex
 
 # Link shown in Help menu
 contact_us_link = https://wiki.web.att.com/display/EcompPortal/ECOMP+Portal+Home
+homepage_contact_us_url = mailto:portal@lists.onap.org
 
 # Camunda cockpit link
 camunda_cockpit_link = https://cloopwf.client.research.att.com:8443/camunda/app/cockpit/default/#/dashboard