--- /dev/null
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "usecases": {
+ "type": "onap.policies.native.drools.Artifact",
+ "type_version": "1.0.0",
+ "name": "usecases.artifacts",
+ "version": "1.0.0",
+ "metadata": {
+ "policy-id": "usecases.artifacts"
+ },
+ "properties": {
+ "rulesArtifact": {
+ "groupId": "org.onap.policy.drools-applications.controlloop.common",
+ "artifactId": "controller-usecases",
+ "version": "1.6.1"
+ },
+ "controller": {
+ "name": "usecases"
+ }
+ }
+ }
+ }
+ ]
+ }
+}
--- /dev/null
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+topology_template:
+ policies:
+ - usecases:
+ type: onap.policies.native.drools.Artifact
+ type_version: 1.0.0
+ name: usecases.artifacts
+ version: 1.0.0
+ metadata:
+ policy-id: usecases.artifacts
+ properties:
+ rulesArtifact:
+ groupId: org.onap.policy.drools-applications.controlloop.common
+ artifactId: controller-usecases
+ version: 1.6.1
+ controller:
+ name: usecases
{
- "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
"topology_template": {
"policies": [
{
-tosca_definitions_version: tosca_simple_yaml_1_0_0
+tosca_definitions_version: tosca_simple_yaml_1_1_0
topology_template:
policies:
- usecases:
#!/bin/bash
#
# ============LICENSE_START=======================================================
-# Copyright (C) 2019 Nordix Foundation.
+# Copyright (C) 2019-2020 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
CONFIG_FILE="$PDP_SIM_HOME/etc/config/OnapPfConfig.json"
fi
-echo "PDP simulatior configuration file: $CONFIG_FILE
+echo "PDP simulator configuration file:" $CONFIG_FILE
$JAVA_HOME/bin/java \
-cp "$PDP_SIM_HOME/etc:$PDP_SIM_HOME/lib/*" \