mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 11:07:49 +00:00
TW-43: Opensync-Gateway
Removed unused files from opensync-gateway Added config into opensync-gateway-static-process Signed-off-by: Mike Hansen <mikehansen@Mikes-MacBook-Pro.local>
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
"maxConnectionsPerRoute":10,
|
||||
"truststoreType":"JKS",
|
||||
"truststoreProvider":"SUN",
|
||||
"truststoreFile":"file:/app/certs/truststore.jks",
|
||||
"truststoreFile":"file:/opt/tip-wlan/certs/truststore.jks",
|
||||
"truststorePass":"mypassword",
|
||||
"keystoreType":"JKS",
|
||||
"keystoreProvider":"SUN",
|
||||
"keystoreFile":"file:/app/certs/client_keystore.jks",
|
||||
"keystoreFile":"file:/opt/tip-wlan/certs/client_keystore.jks",
|
||||
"keystorePass":"mypassword",
|
||||
"keyAlias":"clientkeyalias",
|
||||
"credentialsList":[
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
truststorePass=mypassword
|
||||
truststoreFile=file:/app/certs/truststore.jks
|
||||
truststoreFile=file:/opt/tip-wlan/certs/truststore.jks
|
||||
truststoreType=JKS
|
||||
truststoreProvider=SUN
|
||||
|
||||
keyAlias=1
|
||||
keystorePass=mypassword
|
||||
keystoreFile=file:/app/certs/server.pkcs12
|
||||
keystoreFile=file:/opt/tip-wlan/certs/server.pkcs12
|
||||
keystoreType=pkcs12
|
||||
keystoreProvider=SunJSSE
|
||||
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/opensync_gateway/src/main/java/ai/connectus/opensync/experiment/OpenSyncProcess.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/OpenJDK 13.0.2"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.telecominfraproject.wlan.opensync.experiment.OpenSyncProcess"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="opensync_gateway_static_process"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dssl.props=file://${connectus_certs}/ssl.properties -Dwhizcontrol.httpClientConfig=file://${connectus_certs}/httpClientConfig.json -D123javax.net.ssl.keyStore=${connectus_certs}/client2Keystore.jks -D123javax.net.ssl.trustStore=${connectus_certs}/truststore.jks -Djavax.net.ssl.keyStore=${plume_certs}/plume_client_keystore.jks -Djavax.net.ssl.trustStore=${plume_certs}/plume_truststore.jks -Djavax.net.ssl.keyStorePassword=mypassword -Djavax.net.ssl.trustStorePassword=mypassword -Dconnectus.ovsdb.managerAddr=192.168.0.137 -Dconnectus.ovsdb.listenPort=6640 -Dconnectus.ovsdb.redirector.listenPort=6643 -Dconnectus.ovsdb.timeoutSec=30 -D123connectus.ovsdb.trustStore=${connectus_certs}/truststore.jks -D123connectus.ovsdb.keyStore=${connectus_certs}/server.p12 -Dconnectus.ovsdb.trustStore=${plume_certs}/plume_truststore.jks -Dconnectus.ovsdb.keyStore=${plume_certs}/opensync_server.pkcs12 -Dconnectus.ovsdb.configFileName=${project_loc:opensync_ext_static}/src/main/resources/config_2_ssids.json -D123connectus.mqttBroker.address=testportal.123wlan.com -Dconnectus.mqttBroker.address=mqtt.zone1.art2wave.com -Dconnectus.mqttBroker.listenPort=1883 -Dspring.profiles.include=ovsdb_redirector,ovsdb_manager -D123spring.profiles.include=mqtt_receiver,ovsdb_redirector,ovsdb_manager -D123spring.profiles.include=mqtt_receiver"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/opensync-gateway/src/main/java/com/telecominfraproject/wlan/opensync/experiment/OpenSyncProcess.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.telecominfraproject.wlan.opensync.experiment.OpenSyncProcess"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="opensync-gateway-static-process"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dssl.props=file://${project_loc:opensync-gateway-static-process}/src/main/resources/app/certs/ssl.properties -Dwhizcontrol.httpClientConfig=file://${project_loc:opensync-gateway-static-process}/src/main/resources/app/certs/httpClientConfig.json -Djavax.net.ssl.keyStore=${connectus_certs}/client_keystore.jks -Djavax.net.ssl.keyStorePassword=mypassword -Djavax.net.ssl.trustStore=${connectus_certs}/truststore.jks -Djavax.net.ssl.trustStorePassword=mypassword -Dconnectus.ovsdb.managerAddr=${local_server_address} -Dconnectus.ovsdb.listenPort=6640 -Dconnectus.ovsdb.redirector.listenPort=6643 -Dconnectus.ovsdb.timeoutSec=30 -Dconnectus.ovsdb.trustStore=${connectus_certs}/truststore.jks -Dconnectus.ovsdb.keyStore=${connectus_certs}/server.pkcs12 -Dconnectus.ovsdb.configFileName=${project_loc:opensync-ext-static}/src/main/resources/config_2_ssids.json -Dconnectus.mqttBroker.address=${local_server_address} -Dconnectus.mqttBroker.listenPort=1883 -Dspring.profiles.include=mqtt_receiver,ovsdb_redirector,ovsdb_manager"/>
|
||||
</launchConfiguration>
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- For assistance related to logback-translator or configuration -->
|
||||
<!-- files in general, please contact the logback user mailing list -->
|
||||
<!-- at http://www.qos.ch/mailman/listinfo/logback-user -->
|
||||
<!-- -->
|
||||
<!-- For professional support please see -->
|
||||
<!-- http://www.qos.ch/shop/products/professionalSupport -->
|
||||
<!-- -->
|
||||
<configuration>
|
||||
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{yyyy-MM-DD HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!--
|
||||
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
|
||||
<file>myApp.log</file>
|
||||
|
||||
<encoder>
|
||||
<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
-->
|
||||
|
||||
<appender name="logfile" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/var/log/a2w/opensyncgw.log</file>
|
||||
<append>true</append>
|
||||
<encoder>
|
||||
<pattern>%date %level [%thread] %logger{36} [%file:%line] %msg%n</pattern>
|
||||
</encoder>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||
<fileNamePattern>/var/log/a2w/opensyncgw.%i.log.gz</fileNamePattern>
|
||||
<minIndex>1</minIndex>
|
||||
<maxIndex>3</maxIndex>
|
||||
</rollingPolicy>
|
||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||
<maxFileSize>20MB</maxFileSize>
|
||||
</triggeringPolicy>
|
||||
</appender>
|
||||
|
||||
<!--
|
||||
details: http://logback.qos.ch/manual/configuration.html#auto_configuration
|
||||
|
||||
runtime configuration, if need to override the defaults:
|
||||
-Dlogback.configurationFile=/path/to/logback.xml
|
||||
|
||||
for log configuration debugging - use
|
||||
-Dlogback.statusListenerClass=ch.qos.logback.core.status.OnConsoleStatusListener
|
||||
|
||||
log levels:
|
||||
OFF ERROR WARN INFO DEBUG TRACE
|
||||
-->
|
||||
<logger name="org.apache.catalina.startup.DigesterFactory" level="ERROR"/>
|
||||
<logger name="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" level="INFO"/>
|
||||
<logger name="org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer" level="INFO"/>
|
||||
|
||||
<logger name="com.telecominfraproject.wlan" level="DEBUG"/>
|
||||
<logger name="ai.connectus" level="DEBUG"/>
|
||||
<logger name="com.netflix.servo.tag.aws.AwsInjectableTag" level="OFF"/>
|
||||
<logger name="com.vmware.ovsdb.service.OvsdbConnectionInfo" level="OFF"/>
|
||||
<logger name="com.vmware.ovsdb.netty.OvsdbConnectionHandler" level="ERROR"/>
|
||||
|
||||
<logger name="MQTT_DATA" level="DEBUG"/>
|
||||
|
||||
<!--
|
||||
<logger name="org.springframework.security.web.authentication.preauth" level="DEBUG"/>
|
||||
-->
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="stdout"/>
|
||||
<!--
|
||||
<appender-ref ref="logfile"/>
|
||||
-->
|
||||
</root>
|
||||
|
||||
</configuration>
|
||||
@@ -1,122 +0,0 @@
|
||||
# see http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#common-application-properties-security for details
|
||||
|
||||
app.name=OpenSyncManager
|
||||
|
||||
#
|
||||
#Select spring profiles
|
||||
#
|
||||
# valid values for security profiles are: no_ssl, use_ssl
|
||||
# valid values for auth profiles are: no_auth, form_based_auth, http_basic_auth, http_digest_auth, client_certificate_auth
|
||||
#
|
||||
# this property can be overridden by application.properties in the following locations:
|
||||
# classpath root
|
||||
# current directory
|
||||
# classpath /config package
|
||||
# /config subdir of the current directory.
|
||||
# System property -Dspring.profiles.active=production
|
||||
# or specified on the command line using the switch --spring.profiles.active=dev,hsqldb
|
||||
#
|
||||
# This does not work: spring.profiles.active=${whizcontrol.core.server.security},${whizcontrol.core.server.auth},Extra_${app.name}
|
||||
# Substitution of ${} in application.properties works in general, but not for spring.profiles.active and not for spring.profiles.include properties
|
||||
#
|
||||
# *** Do not set spring.profiles.active property in this file, or be prepared for the World of Weird.
|
||||
#spring.profiles.active=a_1,a_2,integration_test
|
||||
# Example: with application.properties:spring.profiles.active=a_1,a_2,dev,integration_test and @ActiveProfiles(profiles = "test1")
|
||||
# active profiles: [profile_it_1, profile_it_2, profile_dev_1, profile_dev_2, p_1, p_2, a_1, a_2, dev, integration_test, test1]
|
||||
# What happens:
|
||||
# RealActiveProfiles.addAll(application.properties:spring.profiles.active)
|
||||
# RealActiveProfiles.addAll(application.properties:spring.profiles.include)
|
||||
# Find all other files named application-${profileName}.properties based on content of RealActiveProfiles
|
||||
# All application-${profileName}.properties:spring.profiles.include are read, and for each file:
|
||||
# RealActiveProfiles.addAll(application-${profileName}.properties:spring.profiles.include)
|
||||
# Recursively process other files named application-${profileName}.properties based on content of RealActiveProfiles
|
||||
#
|
||||
# Note that application-${profileName}.properties:spring.profiles.active values are NOT added to the RealActiveProfiles in this case.
|
||||
#
|
||||
# Another Example: with application.properties:spring.profiles.active NOT SET and @ActiveProfiles(profiles = "integration_test")
|
||||
# active profiles: [profile_it_1, profile_it_2, active_it_1, active_it_2, p_1, p_2, integration_test]
|
||||
# What happens:
|
||||
# application.properties:spring.profiles.active is read and not found
|
||||
# RealActiveProfiles.addAll(application.properties:spring.profiles.include)
|
||||
# Find all other files named application-${profileName}.properties based on content of RealActiveProfiles
|
||||
# Found application-integration_test.properties file
|
||||
# RealActiveProfiles.addAll(application-integration_test.properties:spring.profiles.active)
|
||||
# RealActiveProfiles.addAll(application-integration_test.properties:spring.profiles.include)
|
||||
# Find all other files named application-${profileName}.properties based on content of RealActiveProfiles
|
||||
# All application-${profileName}.properties:spring.profiles.include are read, and for each file:
|
||||
# RealActiveProfiles.addAll(application-${profileName}.properties:spring.profiles.include)
|
||||
# Recursively process other files named application-${profileName}.properties based on content of RealActiveProfiles
|
||||
#
|
||||
# Note that only application-integration_test.properties:spring.profiles.active is read,
|
||||
# all other application-${profileName}.properties:spring.profiles.active values
|
||||
# are NOT added to the RealActiveProfiles in this case.
|
||||
#
|
||||
# Summary:
|
||||
# 1. Only the first available property application*.properties:spring.profiles.active is read and added to RealActiveProfiles
|
||||
# 2. All properties application*.properties:spring.profiles.include are read, and their values are added to RealActiveProfiles
|
||||
# 3. Many application*.properties can be read during initialization (i.e. one can include a profile name that is referring to another)
|
||||
#
|
||||
# ***
|
||||
#
|
||||
# Use spring.profiles.active property for unit/integration tests to select proper application-*.properties file
|
||||
# - this can be done by placing annotation @ActiveProfiles(profiles = "integration_test") on the test classes
|
||||
#
|
||||
# Use spring.profiles.active property for specific deployments - staging/cloud to select proper application-*.properties file
|
||||
# - this can be done by using SystemProperty -Dspring.profiles.active=cloud
|
||||
#
|
||||
# Deployment-specific properties can be configured in other property files, like persistence-${envTarget:dev}.properties
|
||||
# where value for property envTarget can be set using any mechanism, including placing it in the application-*.properties
|
||||
#
|
||||
#
|
||||
# Use spring.profiles.include property to specify static collection of profiles that are
|
||||
# always present in this configuration, regardless of spring.profiles.active property
|
||||
# Note: this property is additive, its value is always added to the list of active profiles
|
||||
#spring.profiles.include=use_ssl,http_digest_auth,customer-credential-datastore-inmemory
|
||||
#spring.profiles.include=no_ssl,no_auth
|
||||
#spring.profiles.include=use_ssl,client_certificate_auth
|
||||
spring.profiles.include=use_ssl_with_client_cert_and_basic_auth,client_certificate_and_basic_auth,rest-template-single-user-per-service-digest-auth,use_single_ds
|
||||
|
||||
whizcontrol.equipmentAndNetworkManagementServiceBaseUrl=https://localhost:9094
|
||||
|
||||
#used by *-remote client classes when they authenticate their requests
|
||||
whizcontrol.httpClientConfig=classpath:httpClientConfig.json
|
||||
|
||||
#this user/password is used together with http_digest_auth and http_basic_auth spring profiles
|
||||
whizcontrol.serviceUser=user
|
||||
whizcontrol.servicePassword=password
|
||||
|
||||
spring.main.show-banner=false
|
||||
server.port=9096
|
||||
|
||||
#this port is used by secondary server connector, it is protected by digest authentication, while primary server.port is protected by client certificate auth
|
||||
whizcontrol.secondaryPort=7071
|
||||
|
||||
#this server only supports REST requests, CSRF would get in the way
|
||||
whizcontrol.csrf-enabled=false
|
||||
whizcontrol.emailVerificationTokenExpiryMs=600
|
||||
whizcontrol.passwordResetTokenExpiryMs=3600
|
||||
|
||||
whizcontrol.customerAccountManagementServiceBaseUrl=https://localhost:9092
|
||||
whizcontrol.orderAndSubscriptionManagementServiceBaseUrl=https://localhost:9093
|
||||
whizcontrol.equipmentAndNetworkManagementServiceBaseUrl=https://localhost:9094
|
||||
whizcontrol.equipmentConfigurationManagerServiceBaseUrl=https://localhost:9082
|
||||
whizcontrol.equipmentStatusAndAlarmCollectorServiceBaseUrl=https://localhost:9083
|
||||
whizcontrol.equipmentMetricsCollectorServiceBaseUrl=https://localhost:9085
|
||||
whizcontrol.equipmentRoutingServiceBaseUrl=https://localhost:9081
|
||||
whizcontrol.firmwareManagementServiceBaseUrl=https://localhost:9072
|
||||
whizcontrol.equipmentEventCollectorServiceBaseUrl=https://localhost:9076
|
||||
|
||||
#server.session-timeout= # session timeout in seconds
|
||||
#server.tomcat.max-threads = 0 # number of threads in protocol handler
|
||||
|
||||
#server.context-path= # the context path, defaults to '/'
|
||||
#server.servlet-path= # the servlet path, defaults to '/'
|
||||
#server.tomcat.access-log-pattern= # log pattern of the access log
|
||||
#server.tomcat.access-log-enabled=false # is access logging enabled
|
||||
|
||||
# pretty print JSON
|
||||
spring.jackson.serialization.INDENT_OUTPUT=TRUE
|
||||
# sort keys
|
||||
#http.mappers.json-sort-keys=false
|
||||
|
||||
#spring.jmx.enabled=true # Expose MBeans from Spring
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/opensync_gateway/src/main/java/ai/connectus/opensync/experiment/OpenSyncProcess.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.telecominfraproject.wlan.opensync.experiment.OpenSyncProcess"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="opensync_gateway"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dssl.props=file://${connectus_certs}/ssl.properties -Dwhizcontrol.httpClientConfig=file://${connectus_certs}/httpClientConfig.json -Djavax.net.ssl.keyStore=${connectus_certs}/client2Keystore.jks -Djavax.net.ssl.keyStorePassword=mypassword -Djavax.net.ssl.trustStore=${connectus_certs}/truststore.jks -Djavax.net.ssl.trustStorePassword=mypassword -Dconnectus.ovsdb.managerAddr=192.168.0.137 -Dconnectus.ovsdb.listenPort=6640 -Dconnectus.ovsdb.redirector.listenPort=6643 -Dconnectus.ovsdb.timeoutSec=30 -Dconnectus.ovsdb.trustStore=${connectus_certs}/truststore.jks -Dconnectus.ovsdb.keyStore=${connectus_certs}/server.p12 -Dconnectus.ovsdb.configFileName=${project_loc:opensync_ext_static}/src/main/resources/config_2_ssids.json -Dconnectus.mqttBroker.address=testportal.123wlan.com -Dconnectus.mqttBroker.listenPort=1883"/>
|
||||
</launchConfiguration>
|
||||
@@ -1,48 +0,0 @@
|
||||
PROFILES=" -Dspring.profiles.include=mqtt_receiver,ovsdb_redirector,ovsdb_manager"
|
||||
|
||||
SSL_PROPS=" "
|
||||
SSL_PROPS+=" -Dssl.props=file:///home/ec2-user/opensync/ssl.properties"
|
||||
SSL_PROPS+=" -Dwhizcontrol.httpClientConfig=file:///home/ec2-user/opensync/httpClientConfig.json"
|
||||
|
||||
CLIENT_MQTT_SSL_PROPS=" "
|
||||
CLIENT_MQTT_SSL_PROPS+=" -Djavax.net.ssl.keyStore=/home/ec2-user/opensync/client2Keystore.jks"
|
||||
CLIENT_MQTT_SSL_PROPS+=" -Djavax.net.ssl.keyStorePassword=mypassword"
|
||||
CLIENT_MQTT_SSL_PROPS+=" -Djavax.net.ssl.trustStore=/home/ec2-user/opensync/truststore.jks"
|
||||
CLIENT_MQTT_SSL_PROPS+=" -Djavax.net.ssl.trustStorePassword=mypassword"
|
||||
CLIENT_MQTT_SSL_PROPS+=" -Dconnectus.mqttBroker.password=admin"
|
||||
|
||||
OVSDB_PROPS=" "
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.managerAddr=3.88.149.10"
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.listenPort=6640 "
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.redirector.listenPort=6643"
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.timeoutSec=30"
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.trustStore=/home/ec2-user/opensync/truststore.jks"
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.keyStore=/home/ec2-user/opensync/server.p12"
|
||||
OVSDB_PROPS+=" -Dconnectus.ovsdb.configFileName=/home/ec2-user/opensync/config_2_ssids.json"
|
||||
|
||||
MQTT_PROPS=" "
|
||||
MQTT_PROPS+=" -Dconnectus.mqttBroker.address=testportal.123wlan.com"
|
||||
MQTT_PROPS+=" -Dconnectus.mqttBroker.listenPort=1883"
|
||||
|
||||
LOGGING_PROPS=" -Dlogging.config=file:///home/ec2-user/opensync/logback.xml"
|
||||
|
||||
RESTAPI_PROPS=" "
|
||||
RESTAPI_PROPS+=" -Dserver.port=443"
|
||||
|
||||
PROV_SERVER="provService2.zone1.art2wave.com"
|
||||
SMEC_SERVER="smecService2.zone1.art2wave.com"
|
||||
|
||||
KDC_PROPS=" "
|
||||
KDC_PROPS+=" -Dwhizcontrol.orderAndSubscriptionManagementServiceBaseUrl=https://${PROV_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.equipmentAndNetworkManagementServiceBaseUrl=https://${PROV_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.equipmentConfigurationManagerServiceBaseUrl=https://${PROV_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.equipmentRoutingServiceBaseUrl=https://${PROV_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.equipmentStatusAndAlarmCollectorServiceBaseUrl=https://${SMEC_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.equipmentMetricsCollectorServiceBaseUrl=https://${SMEC_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.equipmentEventCollectorServiceBaseUrl=https://${SMEC_SERVER}"
|
||||
KDC_PROPS+=" -Dwhizcontrol.realTimeDataAnalyticsServiceBaseUrl=https://${SMEC_SERVER}"
|
||||
|
||||
|
||||
export ALL_PROPS="$PROFILES $SSL_PROPS $CLIENT_MQTT_SSL_PROPS $OVSDB_PROPS $MQTT_PROPS $LOGGING_PROPS $RESTAPI_PROPS $KDC_PROPS"
|
||||
|
||||
sudo java $ALL_PROPS -jar opensync_experiment-0.0.1-SNAPSHOT.jar > stdout.out 2>&1 &
|
||||
Reference in New Issue
Block a user