Change-Id: I25365752a881bdda65130ddaabec6305ee31705d
Issue-ID: AAI-851
Signed-off-by: LiZi <li.zi30@zte.com.cn>
- * Copyright 2017 ZTE Corporation.
+ * Copyright 2017-2018 ZTE Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
msinfo.setUrl("/api/aai-esr-server/v1");
msinfo.setProtocol("REST");
msinfo.setVisualRange("0|1");
msinfo.setUrl("/api/aai-esr-server/v1");
msinfo.setProtocol("REST");
msinfo.setVisualRange("0|1");
+ msinfo.setEnable_ssl(true);
Set<Node> nodes = new HashSet<>();
Node node1 = new Node();
Set<Node> nodes = new HashSet<>();
Node node1 = new Node();
class_path="$main_path/:$main_path/esr-service.jar"
echo @class_path@ $class_path
class_path="$main_path/:$main_path/esr-service.jar"
echo @class_path@ $class_path
+KEY_PATH="$main_path/conf/aaiesr.keystore"
+KEY_PASSWORD="aaiesr"
+
+#HTTPS Configurations
+sed -i "s|keyStorePath:.*|keyStorePath: $KEY_PATH|" "$main_path/conf/extsys.yml"
+sed -i "s|keyStorePassword:.*|keyStorePassword: $KEY_PASSWORD|" "$main_path/conf/extsys.yml"
+
"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.aai.esr.ExtsysApp server "$main_path/conf/extsys.yml"
"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.aai.esr.ExtsysApp server "$main_path/conf/extsys.yml"
-# Copyright 2016-2017 ZTE Corporation.
+# Copyright 2016-2018 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
applicationContextPath: /
adminContextPath: /admin
connector:
applicationContextPath: /
adminContextPath: /admin
connector:
+ keyStorePath: /home/esr/conf/aaiesr.keystore
+ keyStorePassword: aaiesr
+ validateCerts: false
+ validatePeers: false
# Logging settings.
logging:
# Logging settings.
logging: