[return] ${policyadmin}
HealthCheckAuth
- ${healthcheck}= Create list healthcheck zb!XztG34
+ ${healthcheck}= Create list policyadmin zb!XztG34
[return] ${healthcheck}
PerformPostRequest
"restServerParameters": {
"host": "0.0.0.0",
"port": 6969,
- "userName": "healthcheck",
+ "userName": "policyadmin",
"password": "zb!XztG34",
"https": false,
"prometheus": true
user:
name: participantUser
password: zb!XztG34
+ autoconfigure:
+ exclude: >
+ org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
+ org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
+ org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
security:
enable-csrf: false
participant:
user:
name: participantUser
password: zb!XztG34
+ autoconfigure:
+ exclude: >
+ org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
+ org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
+ org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
security:
enable-csrf: false
user:
name: participantUser
password: zb!XztG34
-
+ autoconfigure:
+ exclude: >
+ org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
+ org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
+ org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
participant:
pdpGroup: defaultGroup
pdpType: apex
"restServerParameters":{
"host":"0.0.0.0",
"port":6969,
- "userName":"healthcheck",
+ "userName":"policyadmin",
"password":"zb!XztG34",
"https": false,
"prometheus": true
PDP_HOST=policy-xacml-pdp
PDP_PORT=6969
PDP_CONTEXT_URI=policy/pdpx/v1/
-PDP_USERNAME=healthcheck
+PDP_USERNAME=policyadmin
PDP_PASSWORD=zb!XztG34
PDP_HTTPS=false
SO_CONTEXT_URI=
SO_URL=http://message-router:6669/
SO_USERNAME=InfraPortalClient
-SO_PASSWORD=password1$
+SO_PASSWORD='password1$'
# VFC
SO_CONTEXT_URI=onap/so/infra/
SO_URL=http://vm1.mso.simpledemo.onap.org:8080/onap/so/infra
SO_USERNAME=InfraPortalClient
-SO_PASSWORD=password1$
+SO_PASSWORD='password1$'
# VFC
"restServerParameters": {
"host": "0.0.0.0",
"port": 6969,
- "userName": "healthcheck",
+ "userName": "policyadmin",
"password": "zb!XztG34",
"https": false,
"aaf": false,
- 6670
- 3904
- 6680
+ ports:
+ - 30227:3904
api:
image: ${CONTAINER_LOCATION}onap/policy-api:${POLICY_API_VERSION}
container_name: policy-api
hostname: policy-xacml-pdp
ports:
- 30441:6969
+ - 30999:3904
volumes:
- ./config/xacml-pdp/defaultConfig.json:/opt/app/policy/pdpx/etc/defaultConfig.json:ro
- ./config/xacml-pdp/logback.xml:/opt/app/policy/pdpx/etc/logback.xml:ro
if $(docker images | grep -q "onap\/policy-api")
then
- echo where
export CONTAINER_LOCATION=$(
docker images |
grep onap/policy-api |
--- /dev/null
+# ============LICENSE_START====================================================
+# Copyright (C) 2022 Nordix Foundation.
+# =============================================================================
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END======================================================
+
+
+if [ "$#" -ne 1 ]
+then
+ echo "Usage: $0 <container-name>"
+ exit 1
+fi
+
+export PROJECT=$1
+
+if $(docker images | grep -q "onap\/policy-api")
+then
+ export CONTAINER_LOCATION=$(
+ docker images |
+ grep onap/policy-api |
+ head -1 |
+ sed 's/onap\/policy-api.*$//'
+ )
+else
+ export CONTAINER_LOCATION="nexus3.onap.org:10001/"
+fi
+
+SCRIPTS=$(git rev-parse --show-toplevel)
+export SCRIPTS="${SCRIPTS}"/csit
+
+source "${SCRIPTS}"/get-versions.sh
+
+docker-compose -f "${SCRIPTS}"/docker-compose-all.yml up $*
+
+echo "Clamp GUI: https://localhost:2445/clamp"