Change out-of-the-box config to work on dev's environment 98/93298/2
authorIttay Stern <ittay.stern@att.com>
Wed, 7 Aug 2019 15:39:22 +0000 (18:39 +0300)
committerIttay Stern <ittay.stern@att.com>
Mon, 12 Aug 2019 07:27:23 +0000 (07:27 +0000)
1) Fill-up system.properties's missing fields, and same for
   system_template.properties.

   This modifies some SO endpoints, most significantly --
   mso.restapi.vnf.instance is now
   /serviceInstantiation/v7/serviceInstances/<service_instance_id>/vnfs
   instead of
   /serviceInstances/v6/<service_instance_id>/vnfs

2) Configure endpoint's to a local simulator's location:
   * ecomp_rest_url in portal.properties
   * mso.server.url, aai.server.url in system.properties
   * asdc.client.rest.host in asdc.properties

3) Added always-on getSessionSlotCheckInterval in simulator.

Issue-ID: VID-564

Change-Id: Icc7bdc83ed65df3415a4b0f36f98291775909f49
Signed-off-by: Ittay Stern <ittay.stern@att.com>
epsdk-app-onap/src/main/resources/portal.properties
epsdk-app-onap/src/main/webapp/WEB-INF/conf/asdc.properties
epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties
epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
vid-ext-services-simulator/src/main/java/org/onap/simulator/controller/SimulatorController.java

index edb3580..22f1094 100755 (executable)
@@ -59,7 +59,7 @@ portal.api.impl.class = org.onap.portalapp.service.OnBoardingApiServiceImpl
 ecomp_redirect_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm\r
 \r
 # URL of the ECOMP Portal REST API\r
-ecomp_rest_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi\r
+ecomp_rest_url = http://localhost:8080/vidSimulator/ONAPPORTAL/auxapi/\r
 \r
 # Non AAF Mode\r
 role_access_centralized = local\r
index 14a3b09..ea9a257 100755 (executable)
@@ -1,6 +1,6 @@
 asdc.client.type=REST\r
 \r
 asdc.client.rest.protocol=http\r
-asdc.client.rest.host=\r
+asdc.client.rest.host=localhost\r
 asdc.client.rest.port=8080\r
-asdc.client.rest.auth=\r
+asdc.client.rest.auth=dmlkOnZpZA==\r
index 0fe2f4e..4d54d8e 100755 (executable)
 ###
 # Properties read by ECOMP Core library, ecompSDK-core.jar
 # testing - props 1.0
-##########################################################################
-# The following properties should NOT be changed by partner applications.
-##########################################################################
 
 ##########################################################################
 # The following properties MAY require changes by partner applications.
 ##########################################################################
 
-#Oracle
-#db.userName=quantumbd
-#db.password=c1syn2yhmr
-#db.connectionURL=jdbc:oracle:thin:todo.link
-#db.hib.dialect=org.hibernate.dialect.Oracle10gDialect
-#db.driver=oracle.jdbc.driver.OracleDriver
-#Hibernate 
-#hb.dialect=org.hibernate.dialect.Oracle10gDialect
-#hb.show_sql=true
-
-#Postgre
-#db.userName=XXXX
-#db.password=XXXX
-#db.connectionURL=jdbc:postgresql://XXXX/XX
-#db.hib.dialect=org.hibernate.dialect.PostgreSQLDialect
-#db.driver=org.postgresql.Driver
-#hb.dialect=org.hibernate.dialect.PostgreSQLDialect
-#hb.show_sql=true
-
 cookie_domain = onap.org
-#Mysql
+#mysql
 db.driver = org.mariadb.jdbc.Driver
 db.connectionURL = jdbc:mariadb://localhost:3306/vid_openecomp_epsdk
 db.userName = euser
 db.password = euser
-#db.hib.dialect = org.hibernate.dialect.MySQLDialect
+db.hib.dialect = org.hibernate.dialect.MySQLDialect
 db.min_pool_size = 5
 db.max_pool_size = 10
 hb.dialect = org.hibernate.dialect.MySQLDialect
@@ -62,16 +40,6 @@ hb.idle_connection_test_period = 3600
 app_display_name                                         = VID
 files_path = /tmp
 
-# menu settings
-#menu_query_name                      = menuData
-#menu_properties_file_location        = /WEB-INF/fusion/menu/
-#application_menu_set_name            = APP
-#application_menu_attribute_name      = applicationMenuData
-#application_menu_properties_name     = menu.properties
-#business_direct_menu_set_name        = BD
-#business_direct_menu_properties_name = bd.menu.properties
-#business_direct_menu_attribute_name  = businessDirectMenuData
-
 application_name              = Virtual Infrastructure Deployment
 application_user_id           = 30000
 post_default_role_id          = 16
@@ -86,23 +54,18 @@ cache_switch                  = 199
 cache_load_on_startup         = false
 
 user_name                                        = fullName
+
 decryption_key                           = AGLDdG4D04BKm2IxIWEr8o==
 
 #element map files
 element_map_file_path = app/fusionapp/files/
 element_map_icon_path = app/fusionapp/icons/
 
-role_management_activated = false
+role_management_activated = true
 
 #aai related properties
-#aai.server.url.base=https://aai.api.openecomp.org:8443/aai/
-#aai.server.url=https://aai.api.openecomp.org:8443/aai/v8/
-#aai.oldserver.url.base=https://aai.api.openecomp.org:8443/aai/servers/
-#aai.oldserver.url=https://aai.api.openecomp.org:8443/aai/servers/v3/
 aai.server.url.base=http://localhost:1080/aai/
-aai.server.url=http://localhost:1080/aai/v13/
-aai.oldserver.url.base=https://104.239.249.183:8443/aai/servers/
-aai.oldserver.url=https://104.239.249.183:8443/aai/servers/v3/
+aai.server.url=http://localhost:1080/aai/v14/
 aai.truststore.filename=tomcat_keystore
 aai.truststore.passwd.x=OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp
 aai.keystore.filename=tomcat_keystore
@@ -112,15 +75,14 @@ aai.vid.passwd.x=OBF:1jm91i0v1jl9
 aai.use.client.cert=false
 aai.vnf.provstatus=PREPROV,NVTPROV,PROV,CAPPED
 
+# ECOMP Portal Shared Context REST API URL
+ecomp_shared_context_rest_url= https://www.openecomp.org:8080/ecompportal/context
 #Cron Schedules
 log_cron                      = 0 0/1 * * * ?;
 mylogins_feed_cron            = 0 0/60 * * * ?;
 #sessiontimeout_feed_cron        = 0 * * * * ? *
 my_login_feed_output_dir      = /tmp/MyLogins
 
-# ECOMP Portal Shared Context REST API URL
-ecomp_shared_context_rest_url= https://www.openecomp.org:8080/ecompportal/context
-
 # 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
@@ -133,39 +95,33 @@ homepage_contact_us_url = mailto:portal@lists.onap.org
 instance_uuid=292b461a-2954-4b63-a3f9-f916c7ad3bc0
 
 
-
-#authenticate user server
-authenticate_user_server=http://todo_enter_auth_server_hostname:8383/openid-connect-server-webapp/allUsers
-
 #MSO related properties
-#simulator
-#mso.server.url=http://localhost:8089
-#dev2dev
-#good
-mso.server.url=https://mso.api.simpledemo.onap.org:8443/onap/so/infra
-mso.polling.interval.msecs=2000
-mso.max.polls=3
+mso.server.url=http://localhost:1080/mso
+mso.polling.interval.msecs=10000
+mso.max.polls=10
 mso.user.name=infraportal
 mso.password.x=OBF:1ghz1kfx1j1w1m7w1i271e8q1eas1hzj1m4i1iyy1kch1gdz
+
 #E2E is v3
 mso.restapi.svc.e2einstance=/e2eServiceInstances/v3
 mso.restapi.svc.instance=/serviceInstantiation/v7/serviceInstances
 mso.restapi.svc.instance.deleteAndUnassign=/serviceInstantiation/v7/serviceInstances
-mso.restapi.vnf.instance=/serviceInstances/v6/<service_instance_id>/vnfs
-mso.restapi.vnf.changemanagement.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/<request_type>
-mso.restapi.network.instance=/serviceInstances/v6/<service_instance_id>/networks
+mso.restapi.vnf.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs
+mso.restapi.vnf.changemanagement.instance=/serviceInstances/v7/<service_instance_id>/vnfs/<vnf_instance_id>/<request_type>
+mso.restapi.network.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/networks
 mso.restapi.vf.module.scaleout=/serviceInstantiation/v7/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules/scaleOut
-mso.restapi.vf.module.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules
+mso.restapi.vf.module.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules
 mso.restapi.workflow.invoke=/instanceManagement/v1/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/workflows/<workflow_UUID>
-mso.restapi.volume.group.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups
-mso.restapi.instance.group=/serviceInstantiation/v7/instanceGroups
-mso.restapi.get.orc.req=/orchestrationRequests/v6
-mso.restapi.get.orc.reqs=/orchestrationRequests/v6?
+mso.restapi.volume.group.instance=/serviceInstances/v7/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups
+mso.restapi.instance.group=${mso.restapi.serviceInstantiationApiRoot}/instanceGroups
+mso.restapi.get.orc.req=/orchestrationRequests/v7
+mso.restapi.get.orc.reqs=/orchestrationRequests/v7?
 mso.restapi.resume.orc.req=/orchestrationRequests/v7/<request_id>/resume
 mso.restapi.get.man.tasks=/tasks/v1
-mso.restapi.configurations=/serviceInstances/v6/<service_instance_id>/configurations
+mso.restapi.configurations=/serviceInstances/v7/<service_instance_id>/configurations
 mso.restapi.configuration.instance=${mso.restapi.configurations}/<configuration_id>
 mso.restapi.changeManagement.workflowSpecifications=/workflowSpecifications/v1/workflows?vnfModelVersionId=<model_version_id>
+
 mso.restapi.serviceInstantiationApiRoot=/serviceInstantiation/v7
 mso.restapi.serviceInstanceCreate=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances
 mso.restapi.serviceInstanceAssign=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/assign
@@ -193,13 +149,22 @@ mso.dme2.client.read.timeout=120000
 
 scheduler.create.new.vnf.change.instance=/v1/ChangeManagement/schedules/
 scheduler.get.time.slots=/v1/ChangeManagement/schedules/
-scheduler.server.url=http://BYO.scheduler:8989/scheduler
-
+scheduler.server.url=http://localhost:1080/scheduler
+scheduler.delete.schedule=/v1/ChangeManagement/schedules/%s
 scheduler.submit.new.vnf.change=/v1/ChangeManagement/schedules/{scheduleId}/approvals
 scheduler.get.schedules=/v1/ChangeManagement/schedules/scheduleDetails/
 
-features.set.filename=onap.features.properties
+asdc.model.namespace=org.openecomp.
+sdc.svc.api.path=sdc/v1/catalog/services
+
+env.mode=dev
+
+features.set.filename=dev.features.properties
 
+# vid instantiation job with 'in-progress' status will be marked as failed after specified time
+# vid.job.max.hoursInProgress should be set to 0 to disable "in-progress timeout"
+# In case of not numeric value, the default value (24) will be used
+vid.asyncJob.maxHoursInProgress=24
 vid.asyncJob.howLongToKeepOldJobsInDays=7
 
 # thread definition - count and timeout (in seconds)
index 54359c2..e3d46aa 100755 (executable)
@@ -1,21 +1,26 @@
-#DB Info
-#db.userName=XXXX
-#db.password=XXXX
-#db.connectionURL=jdbc:oracle:thin:@XXXX/XX
-#db.hib.dialect=org.hibernate.dialect.Oracle10gDialect
-#db.driver=oracle.jdbc.driver.OracleDriver
-#Hibernate 
-#hb.dialect=org.hibernate.dialect.Oracle10gDialect
-#hb.show_sql=true
-
-#Postgre
-#db.userName=XXXX
-#db.password=XXXX
-#db.connectionURL=jdbc:postgresql://XXXX/XX
-#db.hib.dialect=org.hibernate.dialect.PostgreSQLDialect
-#db.driver=org.postgresql.Driver
-#hb.dialect=org.hibernate.dialect.PostgreSQLDialect
-#hb.show_sql=true
+###
+# ================================================================================
+# eCOMP Portal SDK
+# ================================================================================
+# Copyright (C) 2017 AT&T Intellectual Property
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ================================================================================
+###
+
+##########################################################################
+# The following properties MAY require changes by partner applications.
+##########################################################################
 
 cookie_domain = onap.org
 #mysql
@@ -33,16 +38,6 @@ hb.idle_connection_test_period = 3600
 app_display_name = ${VID_APP_DISPLAY_NAME}
 files_path = /tmp
 
-# menu settings
-#menu_query_name                      = menuData
-#menu_properties_file_location        = /WEB-INF/fusion/menu/
-#application_menu_set_name            = APP
-#application_menu_attribute_name      = applicationMenuData
-#application_menu_properties_name     = menu.properties
-#business_direct_menu_set_name        = BD
-#business_direct_menu_properties_name = bd.menu.properties
-#business_direct_menu_attribute_name  = businessDirectMenuData
-
 application_name              = Virtual Infrastructure Deployment
 application_user_id           = 30000
 post_default_role_id          = 16
@@ -54,7 +49,6 @@ 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
@@ -83,15 +77,16 @@ aai.vnf.provstatus=${AAI_VNF_PROVSTATUS}
 
 # ECOMP Portal Shared Context REST API URL
 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 * * * ?;
 #sessiontimeout_feed_cron        = 0 * * * * ? *
 my_login_feed_output_dir      = ${VID_MYLOGIN_FEED_DIRECTORY}
 
+# Link shown in Help menu
+contact_us_link=${VID_CONTACT_US_LINK}
+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.
 # This value must be generated and updated by the application 
@@ -101,29 +96,29 @@ instance_uuid=292b461a-2954-4b63-a3f9-f916c7ad3bc0
 
 
 #MSO related properties
-#simulator
 mso.server.url=${VID_MSO_SERVER_URL}
 mso.polling.interval.msecs=${MSO_POLLING_INTERVAL_MSECS}
 mso.max.polls=10
 mso.user.name=${VID_MSO_USER}
 mso.password.x=${VID_MSO_PASS}
+
 #E2E is v3
 mso.restapi.svc.e2einstance=/e2eServiceInstances/v3
 mso.restapi.svc.instance=/serviceInstantiation/v7/serviceInstances
 mso.restapi.svc.instance.deleteAndUnassign=/serviceInstantiation/v7/serviceInstances
-mso.restapi.vnf.instance=/serviceInstances/v6/<service_instance_id>/vnfs
-mso.restapi.vnf.changemanagement.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/<request_type>
-mso.restapi.network.instance=/serviceInstances/v6/<service_instance_id>/networks
+mso.restapi.vnf.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs
+mso.restapi.vnf.changemanagement.instance=/serviceInstances/v7/<service_instance_id>/vnfs/<vnf_instance_id>/<request_type>
+mso.restapi.network.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/networks
 mso.restapi.vf.module.scaleout=/serviceInstantiation/v7/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules/scaleOut
-mso.restapi.vf.module.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules
+mso.restapi.vf.module.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules
 mso.restapi.workflow.invoke=/instanceManagement/v1/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/workflows/<workflow_UUID>
-mso.restapi.volume.group.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups
-mso.restapi.instance.group=/serviceInstantiation/v7/instanceGroups
-mso.restapi.get.orc.req=/orchestrationRequests/v6
-mso.restapi.get.orc.reqs=/orchestrationRequests/v6?
+mso.restapi.volume.group.instance=/serviceInstances/v7/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups
+mso.restapi.instance.group=${mso.restapi.serviceInstantiationApiRoot}/instanceGroups
+mso.restapi.get.orc.req=/orchestrationRequests/v7
+mso.restapi.get.orc.reqs=/orchestrationRequests/v7?
 mso.restapi.resume.orc.req=/orchestrationRequests/v7/<request_id>/resume
 mso.restapi.get.man.tasks=/tasks/v1
-mso.restapi.configurations=/serviceInstances/v6/<service_instance_id>/configurations
+mso.restapi.configurations=/serviceInstances/v7/<service_instance_id>/configurations
 mso.restapi.configuration.instance=${mso.restapi.configurations}/<configuration_id>
 mso.restapi.changeManagement.workflowSpecifications=/workflowSpecifications/v1/workflows?vnfModelVersionId=<model_version_id>
 
@@ -154,8 +149,12 @@ mso.dme2.client.read.timeout=${MSO_DME2_CLIENT_READ_TIMEOUT}
 mso.dme2.server.url=${MSO_DME2_SERVER_URL}
 mso.dme2.enabled=${MSO_DME2_ENABLED}
 
+asdc.model.namespace=org.openecomp.
+sdc.svc.api.path=sdc/v1/catalog/services
+
 features.set.filename=onap.features.properties
 
+vid.asyncJob.maxHoursInProgress=24
 vid.asyncJob.howLongToKeepOldJobsInDays=7
 
 # thread definition - count and timeout (in seconds)
index 06c72cb..3845c74 100644 (file)
@@ -1,8 +1,41 @@
 package org.onap.simulator.controller;
 
+import static org.mockserver.integration.ClientAndServer.startClientAndServer;
+import static org.mockserver.matchers.Times.exactly;
+import static org.mockserver.model.JsonBody.json;
+
 import com.fasterxml.jackson.databind.DeserializationFeature;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.google.gson.Gson;
+import java.io.BufferedInputStream;
+import java.io.DataInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URLEncoder;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Enumeration;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Scanner;
+import java.util.stream.Collectors;
+import java.util.stream.Stream;
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+import javax.persistence.Persistence;
+import javax.persistence.TypedQuery;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
 import org.mockserver.integration.ClientAndServer;
 import org.mockserver.matchers.MatchType;
 import org.mockserver.matchers.Times;
@@ -20,36 +53,22 @@ import org.springframework.core.io.Resource;
 import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
 import org.springframework.core.io.support.PropertiesLoaderUtils;
 import org.springframework.core.io.support.ResourcePatternResolver;
-import org.springframework.http.*;
+import org.springframework.http.HttpEntity;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpMethod;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Component;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.ResponseBody;
+import org.springframework.web.bind.annotation.ResponseStatus;
+import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.client.HttpClientErrorException;
 import org.springframework.web.client.RestTemplate;
 import org.springframework.web.servlet.View;
 
-import javax.annotation.PostConstruct;
-import javax.annotation.PreDestroy;
-import javax.persistence.EntityManager;
-import javax.persistence.EntityManagerFactory;
-import javax.persistence.Persistence;
-import javax.persistence.TypedQuery;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.io.*;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URLEncoder;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.util.*;
-import java.util.stream.Collectors;
-import java.util.stream.Stream;
-
-import static org.mockserver.integration.ClientAndServer.startClientAndServer;
-import static org.mockserver.matchers.Times.exactly;
-import static org.mockserver.model.JsonBody.json;
-
 @RestController
 @Component
 public class SimulatorController {
@@ -245,8 +264,14 @@ public class SimulatorController {
         return new ResponseEntity<>(jsonString, HttpStatus.OK);
 
     }
+
     //*******portal role access simulator end
 
+    @RequestMapping(value = {"/ecompportal_att/auxapi//{ver}/getSessionSlotCheckInterval", "/ONAPPORTAL/auxapi//{ver}/getSessionSlotCheckInterval"}, method = RequestMethod.GET)
+    @ResponseBody
+    public String getSessionSlotCheckInterval() {
+        return "300000";
+    }
 
     @RequestMapping(value = {"/**"})
     public ResponseEntity redirectToMockServer(HttpServletRequest request, HttpServletResponse response) throws IOException {