This is the second stage of the TOSCA Controlloop merge.
In this review, the src directories of the old tosca-controlloop modules
are moved to the new modules off the root of the clamp repo and the
pom.xml files are updated with dependencies to allow the build of the
moved modules to run.
So the changes are renaming of files and updates of POM files in the
modules to which src directories are added so that the build works, and
of course deletion of the tosca-controlloop directory and its sub-
modules
The third and final review will follow this, which will merge the
tosca-poc branch onto master, in effect merging this review to master.
The differences with the clamp master repo are shown here:
diff -qr clamp clamp-tp | diff_filter.sh
Files clamp/INFO.yaml and clamp-tp/INFO.yaml differ
Only in clamp-tp/common: src
Only in clamp-tp/models: src
Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-tp/participant/participant-impl/participant-impl-dcae/pom.xml differ
Only in clamp-tp/participant/participant-impl/participant-impl-dcae: src
Only in clamp-tp/participant/participant-impl/participant-impl-policy: src
Only in clamp-tp/participant/participant-impl/participant-impl-simulator: src
Files clamp/participant/participant-impl/pom.xml and clamp-tp/participant/participant-impl/pom.xml differ
Only in clamp-tp/participant/participant-intermediary: src
Files clamp/participant/pom.xml and clamp-tp/participant/pom.xml differ
Files clamp/pom.xml and clamp-tp/pom.xml differ
Only in clamp/releases: 6.0.1-container.yaml
Only in clamp/releases: 6.0.1.yaml
Only in clamp/releases: 6.0.2-container.yaml
Only in clamp/releases: 6.0.2.yaml
Only in clamp/releases: 6.1.0-container.yaml
Only in clamp/releases: 6.1.0.yaml
Only in clamp/releases: 6.1.1-container.yaml
Only in clamp/releases: 6.1.1.yaml
Files clamp/runtime/pom.xml and clamp-tp/runtime/pom.xml differ
Only in clamp-tp: runtime-controlloop
Issue-ID: POLICY-3215
Change-Id: I0e69e3c566ea387d61f77cfa118bb6d67b4f8253
Signed-off-by: liamfallon <liam.fallon@est.tech>
<artifactId>policy-clamp-participant-impl-dcae</artifactId>
<name>${project.artifactId}</name>
<description>DCAE participant, that allows DCAE to partake in control loops</description>
+
+ <properties>
+ <mockserver.version>5.11.2</mockserver.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.mock-server</groupId>
+ <artifactId>mockserver-netty</artifactId>
+ <version>${mockserver.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mock-server</groupId>
+ <artifactId>mockserver-client-java</artifactId>
+ <version>${mockserver.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
</project>
<module>participant-impl-cds</module>
<module>participant-impl-kubernetes</module>
</modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.onap.policy.clamp.participant</groupId>
+ <artifactId>policy-clamp-participant-intermediary</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
</project>
<module>participant-intermediary</module>
<module>participant-impl</module>
</modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.onap.policy.clamp</groupId>
+ <artifactId>policy-clamp-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.clamp</groupId>
+ <artifactId>policy-clamp-models</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.onap.policy.clamp.controlloop.participant.simulator.main.startstop.Main</mainClass>
+ </manifest>
+ </archive>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
<module>common</module>
<module>models</module>
<module>runtime</module>
+ <module>runtime-controlloop</module>
<module>participant</module>
</modules>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>common-parameters</artifactId>
+ <version>${policy.common.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>utils</artifactId>
+ <version>${policy.common.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>policy-endpoints</artifactId>
+ <version>${policy.common.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>gson</artifactId>
+ <version>${policy.common.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.models</groupId>
+ <artifactId>policy-models-provider</artifactId>
+ <version>${policy.models.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>utils-test</artifactId>
+ <version>${policy.common.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-api-mockito2</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-module-junit4</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.awaitility</groupId>
+ <artifactId>awaitility</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop</artifactId>
- <version>6.1.0-SNAPSHOT</version>
+ <groupId>org.onap.policy.clamp</groupId>
+ <artifactId>policy-clamp</artifactId>
+ <version>6.1.2-SNAPSHOT</version>
</parent>
- <artifactId>controlloop-runtime</artifactId>
+ <artifactId>policy-clamp-runtime-controlloop</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop-common</artifactId>
+ <groupId>org.onap.policy.clamp</groupId>
+ <artifactId>policy-clamp-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop-models</artifactId>
+ <groupId>org.onap.policy.clamp</groupId>
+ <artifactId>policy-clamp-models</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
</dependency>
</dependencies>
<configuration>
- <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
+ <swaggerInput>${project.basedir}/../docs/swagger/swagger.json</swaggerInput>
<outputDir>${project.build.directory}/asciidoc/generated</outputDir>
<config>
<swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2021-05-10 12:05:55 IST
+Last updated 2021-05-20 16:43:12 IST
</div>
</div>
</body>
-</html>
+</html>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>controlloop-common</artifactId>
- <name>${project.artifactId}</name>
- <description>Common utilities and code for the TOSCA Control Loop system</description>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>controlloop-design</artifactId>
- <name>${project.artifactId}</name>
- <description>Design time part of the TOSCA Control Loop system</description>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>controlloop-models</artifactId>
- <name>${project.artifactId}</name>
-</project>
+++ /dev/null
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-impl</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-impl-cds</artifactId>
- <name>${project.artifactId}</name>
- <description>CDS participant, that allows CDS to partake in control loops</description>
-</project>
+++ /dev/null
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-impl</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-impl-dcae</artifactId>
- <name>${project.artifactId}</name>
- <description>DCAE participant, that allows DCAE to partake in control loops</description>
-
- <properties>
- <mockserver.version>5.11.2</mockserver.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-intermediary</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mock-server</groupId>
- <artifactId>mockserver-netty</artifactId>
- <version>${mockserver.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mock-server</groupId>
- <artifactId>mockserver-client-java</artifactId>
- <version>${mockserver.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
+++ /dev/null
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-impl</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-impl-kubernetes</artifactId>
- <name>${project.artifactId}</name>
- <description>Kubernetes participant, that allows microservices running in Kubernetes to partake in control loops</description>
-</project>
+++ /dev/null
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-impl</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-impl-policy</artifactId>
- <name>${project.artifactId}</name>
- <description>Policy participant, that allows Policy to partake in control loops</description>
-
- <dependencies>
- <dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-intermediary</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
+++ /dev/null
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-impl</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-impl-simulator</artifactId>
- <name>${project.artifactId}</name>
- <description>Participant simulator, used to test control loops</description>
-
- <dependencies>
- <dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant-intermediary</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-impl</artifactId>
- <name>${project.artifactId}</name>
- <packaging>pom</packaging>
-
- <modules>
- <module>participant-impl-simulator</module>
- <module>participant-impl-dcae</module>
- <module>participant-impl-policy</module>
- <module>participant-impl-cds</module>
- <module>participant-impl-kubernetes</module>
- </modules>
-</project>
+++ /dev/null
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>participant</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant-intermediary</artifactId>
- <name>${project.artifactId}</name>
- <description>Common intermediary library for managing DMaaP participant messaging and holding participant and control
- loop state</description>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>participant</artifactId>
- <name>${project.artifactId}</name>
- <packaging>pom</packaging>
- <description>participants that communicate with the runtime server to handle control loops</description>
-
- <modules>
- <module>participant-intermediary</module>
- <module>participant-impl</module>
- </modules>
-
- <dependencies>
- <dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop-models</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>org.onap.policy.clamp.controlloop.participant.simulator.main.startstop.Main</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 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=========================================================
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.policy.parent</groupId>
- <artifactId>integration</artifactId>
- <version>3.4.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.policy.clamp.controlloop</groupId>
- <artifactId>controlloop</artifactId>
- <version>6.1.0-SNAPSHOT</version>
- <name>${project.artifactId}</name>
- <packaging>pom</packaging>
-
- <properties>
- <policy.common.version>1.9.0-SNAPSHOT</policy.common.version>
- <policy.models.version>2.5.0-SNAPSHOT</policy.models.version>
- </properties>
-
- <modules>
- <module>common</module>
- <module>models</module>
- <module>design</module>
- <module>runtime</module>
- <module>participant</module>
- </modules>
-
- <dependencies>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.common</groupId>
- <artifactId>common-parameters</artifactId>
- <version>${policy.common.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.common</groupId>
- <artifactId>utils</artifactId>
- <version>${policy.common.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.common</groupId>
- <artifactId>policy-endpoints</artifactId>
- <version>${policy.common.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.common</groupId>
- <artifactId>gson</artifactId>
- <version>${policy.common.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.models</groupId>
- <artifactId>policy-models-provider</artifactId>
- <version>${policy.models.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.onap.policy.common</groupId>
- <artifactId>utils-test</artifactId>
- <version>${policy.common.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito2</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <!-- Output the version of the control loop system -->
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/version.txt</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>**/version.txt</exclude>
- </excludes>
- </resource>
- </resources>
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1C</forkCount>
- <reuseForks>true</reuseForks>
- <useSystemClassLoader>false</useSystemClassLoader>
- <parallel>methods</parallel>
- <useUnlimitedThreads>true</useUnlimitedThreads>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
+++ /dev/null
-{
- "info": {
- "_postman_id": "193b3b58-1daa-4b66-9783-7530cf47356b",
- "name": "Tosca POC",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "TOSCA Control Loop Instantiation",
- "item": [
- {
- "name": "Put instantiation command 1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"orderedState\": \"RUNNING\",\r\n \"controlLoopIdentifierList\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.1\"\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.1\"\r\n }\r\n ]\r\n}\r\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation/command",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation",
- "command"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get instantiation by name and version 1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=name&version=1.001",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "name"
- },
- {
- "key": "version",
- "value": "1.001"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete instantiation by name and version 1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=name&version=1.001",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "name"
- },
- {
- "key": "version",
- "value": "1.001"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Create instantiation 1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"controlLoops\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.1\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 0\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loop\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.1\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 1\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\r\n }\r\n ]\r\n }\r\n ]\r\n}\r\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Change instantiation 1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"controlLoops\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.1\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 0\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy for Control Loop Element for the PMSH instance 0 control loop has been \"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loop\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.1\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 1\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c24\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c25\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c26\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c27\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\r\n }\r\n ]\r\n }\r\n ]\r\n}\r\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ]
- }
- },
- "response": []
- }
- ]
- },
- {
- "name": "Get commissioned control loop definition with name and version",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete commissioned control loop definition",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": ""
- }
- },
- "response": []
- },
- {
- "name": "Comission control loop definition",
- "protocolProfileBehavior": {
- "disabledSystemHeaders": {
- "content-type": true
- }
- },
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "appiication/yaml",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "# ============LICENSE_START=======================================================\n# Copyright (C) 2021 Nordix Foundation.\n# ================================================================================\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n# ============LICENSE_END=========================================================\n\ntosca_definitions_version: tosca_simple_yaml_1_3\ndata_types:\n onap.datatypes.ToscaConceptIdentifier:\n derived_from: tosca.datatypes.Root\n properties:\n name:\n type: string\n required: true\n version:\n type: string\n required: true\nnode_types:\n org.onap.policy.clamp.controlloop.Participant:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n org.onap.policy.clamp.controlloop.ControlLoopElement:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n participant_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.ControlLoop:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n elements:\n type: list\n required: true\n entry_schema:\n type: onap.datatypes.ToscaConceptIdentifier\n org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n dcae_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.PolicyTypeControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.CDSControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n cds_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\ntopology_template:\n node_templates:\n org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.policy.controlloop.PolicyControlLoopParticipant:\n version: 2.3.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant:\n version: 2.2.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.domain.pmsh.PMSH_DCAEMicroservice:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the DCAE microservice for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant\n version: 2.3.4\n dcae_blueprint_id:\n name: org.onap.dcae.blueprints.PMSHBlueprint\n version: 1.0.0\n org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyTypeControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the monitoring policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.monitoring.pm-subscription-handler\n version: 1.0.0\n org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyTypeControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the operational policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.2.1\n policy_type_id:\n name: onap.policies.operational.pm-subscription-handler\n version: 1.0.0\n org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.CDSControlLoopElement\n type_version: 1.0.0\n description: Control loop element for CDS for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_Id:\n name: org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant\n version: 3.2.1\n cds_blueprint_id:\n name: org.onap.ccsdk.cds.PMSHCdsBlueprint\n version: 1.0.0\n org.onap.domain.pmsh.PMSHControlLoopDefinition:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.ControlLoop\n type_version: 1.0.0\n description: Control loop for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n elements:\n - name: org.onap.domain.pmsh.PMSH_DCAEMicroservice\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\n version: 1.2.3"
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Update commissioned control loop definition",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\ncapability_types:\n org.onap.EventProducer:\n properties:\n carrier_protocol_type:\n type: string\n required: true\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n data_format:\n type: string\n required: true\n constraints:\n - valid_values:\n - JSON\n - YAML\n - JMS\n event_format:\n type: string\n required: true\n event_format_version:\n type: string\n required: false\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key may be generated\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n version: 0.0.1\n derived_from: tosca.capabilities.Root\n org.onap.EventConsumer:\n properties:\n responding_capability:\n type: string\n required: false\n carrier_protocol_type:\n type: string\n required: true\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n data_format:\n type: string\n required: true\n constraints:\n - valid_values:\n - JSON\n - YAML\n - JMS\n - all valid values should be added here\n event_format:\n type: string\n description: 'examples for event_format: Ves_specification, LinkUp, VnfConfigured,\n etc.'\n required: true\n event_format_version:\n type: string\n description: 'examples for event_format_version: 5.28.4, 7.30.1, etc.'\n required: false\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key may be generated\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n version: 0.0.1\n derived_from: tosca.capabilities.Root\nnode_types:\n org.onap.DynamicConfig:\n properties:\n application_name:\n type: string\n description: Value used to tie the config to an application ? should we be\n using a relationship here instead?\n required: true\n application_version:\n type: string\n required: true\n application_provider:\n type: string\n required: false\n data_types:\n type: object\n required: false\n schema:\n type: object\n required: false\n version: 0.0.1\n derived_from: tosca.nodes.Root\n org.onap.APP:\n properties:\n application_name:\n type: string\n description: Human readable name for the application Product\n required: false\n provider:\n type: string\n description: Provider of the application and of the descriptor\n required: true\n application_version:\n type: string\n description: Software version of the application\n required: true\n blueprint_id:\n type: string\n description: A reference to the app blueprint\n required: false\n monitoring_policy:\n type: string\n description: A reference to the monitoring policy\n required: false\n requirements:\n - receive:\n capability: org.onap.EventProducer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n - send:\n capability: org.onap.EventConsumer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n version: 0.0.1\n derived_from: tosca.nodes.Root\n org.onap.EventRelay:\n properties:\n event_format:\n type: string\n description: 'examples for event_format: Ves_specification, etc.'\n required: true\n event_format_version:\n type: string\n description: 'examples for event_format_version: 5.28.4, 7.30.1, etc.'\n required: true\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key is relayed\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n supported_carrier_protocols:\n type: map\n description: 'A map describing supported carrier protocols and translations.\n The tuples define what protocol combinations are supported on the producer\n and consumer side: e.g. { REST: REST, DMAAP: REST, DMAAP: DMAAP}'\n required: true\n key_schema:\n type: string\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n - all valid values should be added here\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n - all valid values should be added here\n supported_data_formats:\n type: map\n description: 'Is a map describing supported data formats and translation.\n The tuples define what protocol combinations are supported on the producer\n and consumer side: e.g. { JSON: JSON, JMS: JSON, YAML:YAML }'\n required: true\n key_schema:\n type: string\n constraints:\n - valid_values:\n - JSON\n - JMS\n - YAML\n - etc\n - all valid values should be added here\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - JSON\n - JMS\n - YAML\n - etc\n - all valid values should be added here\n requirements:\n - receive:\n capability: org.onap.EventProducer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n - send:\n capability: org.onap.EventConsumer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n version: 0.0.1\n derived_from: tosca.nodes.Root\nrelationship_types:\n org.onap.PropagateEvent:\n properties:\n config_keys:\n type: list\n description: The relationship type used on requirements to org.onap.EventProducer\n and org.onap.EventConsumer capabilities. Filters events by specific config_keys\n to be transferred by this relationship. That is, any event with a specific\n config_key found in the list is transferred. If list is not defined or is\n empty, events with all config_keys are transferred.\n required: false\n entry_schema:\n type: string\n version: 0.0.1\n derived_from: tosca.relationships.Root\ntopology_template:\n inputs:\n pm_subscription_topic:\n type: string\n pm_subscription_response_topic:\n type: string\n pm_subscription_handler_blueprint_id:\n type: string\n pm_subscription_operational_policy_id:\n type: string\n pm_subscription_cds_blueprint_id:\n type: string\n enable_tls:\n type: string\n node_templates:\n org.onap.PM_Subscription_Handler:\n type: org.onap.APP\n properties:\n application_name: PM Subscription Handler\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_handler_blueprint_id\n description: Is this a reference to the DCAE Cloudify Blueprint that is\n already stored(or will be stored before CL configuration & instatiation)\n in DCAE Inventory?\n artifact_config:\n enable_tls:\n get_input: enable_tls\n pmsh_publish_topic_name:\n get_input: pm_subscription_topic\n capabilities:\n pm-subscription-event-publisher:\n properties:\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-format\n event_format_version: 1.0.0\n attributes:\n type: org.onap.EventProducer\n occurrences:\n - 0\n - UNBOUNDED\n pm-subscription-event-receiver:\n properties:\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-response-format\n event_format_version: 1.0.0\n relationships:\n - type: tosca.relationships.DependsOn\n - description: any ideas on a better realtionship ? or is it better to\n just use the root realtionship ?\n - target: org.onap.PM_Monitoring_Policy\n attributes:\n type: org.onap.EventConsumer\n occurrences:\n - 0\n - UNBOUNDED\n org.onap.PM_Monitoring_Policy:\n type: org.onap.DynamicConfig\n properties:\n application_name: PM Subscription Handler\n application_version: 1.0.0\n provider: Ericsson\n data_types:\n measurementType:\n type: string\n DN:\n type: string\n nfFilter:\n properties:\n nfNames:\n type: list\n entry_schema: string\n modelInvariantIDs:\n type: list\n entry_schema:\n type: string\n modelVersionIDs:\n type: list\n entry_schema:\n type: string\n measurementGroup:\n properties:\n masurementTypes:\n type: list\n entry_schema:\n type: measurementType\n managedObjectDNsBasic:\n type: list\n entry_schema:\n type: DN\n schema:\n subscription:\n subscriptionName:\n type: string\n required: true\n administrativeState:\n type: string\n required: true\n filebasedGP:\n type: integer\n required: true\n fileLocation:\n type: string\n required: true\n nfFilter:\n type: nfFilter\n measurementGroups:\n type: list\n entry_schema:\n type: measurementGroup\n description: Should I be showing a dependency between PM Subscription Handler\n and the PM Monitoring Policy\n org.onap.PM_Policy:\n type: org.onap.APP\n properties:\n application_name: PM Subscription Operational Policy\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_operational_policy_id\n artifact_config: NOT_DEFINED\n requirements:\n - receive_0:\n capability: pm-subscription-event-publisher\n node: org.onap.PM_Subscription_Handler\n relationship: NOT_DEFINED\n properties:\n config_keys:\n - topic_name:\n get_input: pm_subscription_topic\n - send_0:\n capability: cds-rest-receive\n node: org.onap.CDS\n - receive_1:\n capability: cds-rest-response\n node: org.onap.CDS\n - send_1:\n capability: pm-subscription-event-receiver\n node: org.onap.PM_Subscription_Handler\n relationship: NOT_DEFINED\n properties:\n config_keys:\n - topic_name:\n get_input: pm_subscription_response_topic\n capabilities:\n pm-subscription-response-event-publisher:\n properties:\n type: org.onap.EventProducer\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-response-format\n event_format_version: 1.0.0\n occurrences:\n - 0\n - UNBOUNDED\n org.onap.PM_CDS_Blueprint:\n type: org.onap.APP\n properties:\n application_name: PM Subscription CDS Blueprint\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_cds_blueprint_id\n capabilities:\n cds-rest-receive:\n properties:\n type: org.onap.EventConsumer\n protocol_type: REST\n data_format: JSON\n event_format: cds_action_format\n event_format_version: 1.0.0\n responding_capability: cds-rest-response\n occurrences:\n - 0\n - UNBOUNDED\n cds-rest-response:\n properties:\n type: org.onap.EventProducer\n protocol_type: REST\n data_format: JSON\n event_format: cds_action_response_format\n event_format_version: 1.0.0\n occurrences:\n - 0\n org.onap.controlloop0:\n type: org.onap.APP\n properties:\n application_name: Test Control Loop\n provider: Ericsson\n application_version: 1.0.0\n status: NOT_DEPLOYED\n"
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission/update",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission",
- "update"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST ParticipantStatus from PolicyParticipant to DMaaP",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"response\": {\n \"responseTo\": \"3742c95b-9c1f-4f46-8624-83e4655624b7\",\n \"responseStatus\": \"SUCCESS\",\n \"responseMessage\": \"Resonpse Message\"\n },\n \"state\": \"PASSIVE\",\n \"healthStatus\": \"HEALTHY\",\n \"elements\": [\n [\n {\n \"name\": \"PMSHInstance0\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-d21eb79c6c21\": {\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c21\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"PolicyParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 0 control loop\"\n },\n \"709c62b3-8918-41b9-a747-d21eb79c6c22\": {\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c22\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"PolicyParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 0 control loop\"\n }\n }\n ],\n [\n {\n \"name\": \"PMSHInstance1\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-e21eb79c6c25\": {\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c25\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"PolicyParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 1 control loop\"\n },\n \"709c62b3-8918-41b9-a747-e21eb79c6c26\": {\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c26\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"PolicyParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 1 control loop\"\n }\n }\n ]\n ],\n \"message\": \"Control Loop Elements passivated\",\n \"messageType\": \"PARTICIPANT_STATUS\",\n \"requestId\": \"3742c95b-9c1f-4f46-8624-83e4655624b8\",\n \"timestampMs\": 1612169281148,\n \"participantId\": {\n \"name\": \"PolicyParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"controlLoopId\": null\n}\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:3904/events/POLICY-CLRUNTIME-PARTICIPANT",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "3904",
- "path": [
- "events",
- "POLICY-CLRUNTIME-PARTICIPANT"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST ParticipantStatus from DCAE to DMaaP",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"response\": {\n \"responseTo\": \"3742c95b-9c1f-4f46-8624-83e4655624b7\",\n \"responseStatus\": \"SUCCESS\",\n \"responseMessage\": \"Resonpse Message\"\n },\n \"state\": \"PASSIVE\",\n \"healthStatus\": \"HEALTHY\",\n \"elements\": [\n [\n {\n \"name\": \"PMSHInstance0\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-d21eb79c6c20\": {\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c20\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"DCAEParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"DCAE Control Loop Element for the PMSH instance 0 control loop\"\n }\n }\n ],\n [\n {\n \"name\": \"PMSHInstance1\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-e21eb79c6c24\": {\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c24\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"DCAEParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"DCAE Control Loop Element for the PMSH instance 1 control loop\"\n }\n }\n ]\n ],\n \"message\": \"Control Loop Elements passivated\",\n \"messageType\": \"PARTICIPANT_STATUS\",\n \"requestId\": \"3742c95b-9c1f-4f46-8624-83e4655624b8\",\n \"timestampMs\": 1612169281148,\n \"participantId\": {\n \"name\": \"DCAEParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"controlLoopId\": null\n}\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:3904/events/POLICY-CLRUNTIME-PARTICIPANT",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "3904",
- "path": [
- "events",
- "POLICY-CLRUNTIME-PARTICIPANT"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST ParticipantStatus from CDS to DMaaP",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"response\": {\n \"responseTo\": \"3742c95b-9c1f-4f46-8624-83e4655624b7\",\n \"responseStatus\": \"SUCCESS\",\n \"responseMessage\": \"Resonpse Message\"\n },\n \"state\": \"PASSIVE\",\n \"healthStatus\": \"HEALTHY\",\n \"elements\": [\n [\n {\n \"name\": \"PMSHInstance0\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-d21eb79c6c23\": {\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"CDSParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loopp\"\n }\n }\n ],\n [\n {\n \"name\": \"PMSHInstance1\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-e21eb79c6c27\": {\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c27\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"CDSParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\n }\n }\n ]\n ],\n \"message\": \"Control Loop Elements passivated\",\n \"messageType\": \"PARTICIPANT_STATUS\",\n \"requestId\": \"3742c95b-9c1f-4f46-8624-83e4655624b8\",\n \"timestampMs\": 1612169281148,\n \"participantId\": {\n \"name\": \"CDSParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"controlLoopId\": null\n}\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:3904/events/POLICY-CLRUNTIME-PARTICIPANT",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "3904",
- "path": [
- "events",
- "POLICY-CLRUNTIME-PARTICIPANT"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST ParticipantControlLoopUpdate from server to participant",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"response\": {\n \"responseTo\": \"3742c95b-9c1f-4f46-8624-83e4655624b7\",\n \"responseStatus\": \"SUCCESS\",\n \"responseMessage\": \"Resonpse Message\"\n },\n \"state\": \"PASSIVE\",\n \"healthStatus\": \"HEALTHY\",\n \"elements\": [\n [\n {\n \"name\": \"PMSHInstance0\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-d21eb79c6c23\": {\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"CDSParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loopp\"\n }\n }\n ],\n [\n {\n \"name\": \"PMSHInstance1\",\n \"version\": \"1.0.1\"\n },\n {\n \"709c62b3-8918-41b9-a747-e21eb79c6c27\": {\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c27\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantId\": {\n \"name\": \"CDSParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"PASSIVE\",\n \"orderedState\": \"PASSIVE\",\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\n }\n }\n ]\n ],\n \"message\": \"Control Loop Elements passivated\",\n \"messageType\": \"PARTICIPANT_STATUS\",\n \"requestId\": \"3742c95b-9c1f-4f46-8624-83e4655624b8\",\n \"timestampMs\": 1612169281148,\n \"participantId\": {\n \"name\": \"CDSParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"controlLoopId\": null\n}\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:3904/events/POLICY-CLRUNTIME-PARTICIPANT",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "3904",
- "path": [
- "events",
- "POLICY-CLRUNTIME-PARTICIPANT"
- ]
- }
- },
- "response": []
- }
- ]
-}
\ No newline at end of file
+++ /dev/null
-{
- "info": {
- "_postman_id": "cd54a2f7-4adc-4d3c-a9d8-41014af06370",
- "name": "Tosca POC",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "TOSCA CL Instantiation API",
- "item": [
- {
- "name": "Create instantiation 1.0.1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"controlLoops\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.1\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 0\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loop\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.1\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 1\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\r\n }\r\n ]\r\n }\r\n ]\r\n}\r\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Create instantiation 1.0.2",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"controlLoops\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.2\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 0\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loop\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.2\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 1\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c20\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\r\n }\r\n ]\r\n }\r\n ]\r\n}\r\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get all instantiations",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get instantiations by name",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSHInstance0",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "PMSHInstance0"
- },
- {
- "key": "version",
- "value": "",
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get instantiation by name and version",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSHInstance0&version=1.0.1",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "PMSHInstance0"
- },
- {
- "key": "version",
- "value": "1.0.1"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Change instantiation",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"controlLoops\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.2\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 1\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c21\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c22\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c23\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 0 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-d21eb79c6c24\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 0 control loop\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.2\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSHControlLoopDefinition\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"PMSH control loop instance 1\",\r\n \"elements\": [\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c25\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_DCAEMicroservice\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"DCAEParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"DCAE Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c26\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Monitoring Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c27\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"PolicyParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"Operational Policy Control Loop Element for the PMSH instance 1 control loop\"\r\n },\r\n {\r\n \"id\": \"709c62b3-8918-41b9-a747-e21eb79c6c28\",\r\n \"definition\": {\r\n \"name\": \"org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\",\r\n \"version\": \"1.2.3\"\r\n },\r\n \"participantId\": {\r\n \"name\": \"CDSParticipant0\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"state\": \"UNINITIALISED\",\r\n \"orderedState\": \"UNINITIALISED\",\r\n \"description\": \"CDS Control Loop Element for the PMSH instance 1 control loop\"\r\n }\r\n ]\r\n }\r\n ]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Change instantiation state",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"orderedState\": \"PASSIVE\",\r\n \"controlLoopIdentifierList\": [\r\n {\r\n \"name\": \"PMSHInstance0\",\r\n \"version\": \"1.0.1\"\r\n },\r\n {\r\n \"name\": \"PMSHInstance1\",\r\n \"version\": \"1.0.1\"\r\n }\r\n ]\r\n}\r\n",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation/command",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation",
- "command"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete instantiation PMSHInstance0 1.0.1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSHInstance0&version=1.0.1",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "PMSHInstance0"
- },
- {
- "key": "version",
- "value": "1.0.1"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete instantiation PMSHInstance1 1.0.1",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSHInstance1&version=1.0.1",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "PMSHInstance1"
- },
- {
- "key": "version",
- "value": "1.0.1"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete instantiation PMSHInstance0 1.0.2",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSHInstance0&version=1.0.2",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "PMSHInstance0"
- },
- {
- "key": "version",
- "value": "1.0.2"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete instantiation PMSHInstance1 1.0.2",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "",
- "value": "",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSHInstance1&version=1.0.2",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "instantiation"
- ],
- "query": [
- {
- "key": "name",
- "value": "PMSHInstance1"
- },
- {
- "key": "version",
- "value": "1.0.2"
- }
- ]
- }
- },
- "response": []
- }
- ]
- },
- {
- "name": "TOSCA Commissioning",
- "item": [
- {
- "name": "Get all commissions",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get all commissions by name and version",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission?name=MyTemplate&version=1.0.0",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ],
- "query": [
- {
- "key": "name",
- "value": "MyTemplate"
- },
- {
- "key": "version",
- "value": "1.0.0"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get all commissioned partecipants",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission/participants?name=ToscaServiceTemplateSimple&version=1.0.0",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission",
- "participants"
- ],
- "query": [
- {
- "key": "name",
- "value": "ToscaServiceTemplateSimple"
- },
- {
- "key": "version",
- "value": "1.0.0"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get all commissioned control loop definitions",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- }
- ],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission/loop-elements?name=ToscaServiceTemplateSimple&version=1.0.0",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission",
- "loop-elements"
- ],
- "query": [
- {
- "key": "name",
- "value": "ToscaServiceTemplateSimple"
- },
- {
- "key": "version",
- "value": "1.0.0"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Comission org.onap.APP",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/yaml",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\nname: ToscaServiceTemplateSimple\nversion: 1.0.0\ncapability_types:\n org.onap.EventProducer:\n properties:\n carrier_protocol_type:\n type: string\n required: true\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n data_format:\n type: string\n required: true\n constraints:\n - valid_values:\n - JSON\n - YAML\n - JMS\n event_format:\n type: string\n required: true\n event_format_version:\n type: string\n required: false\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key may be generated\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n version: 0.0.1\n derived_from: tosca.capabilities.Root\n org.onap.EventConsumer:\n properties:\n responding_capability:\n type: string\n required: false\n carrier_protocol_type:\n type: string\n required: true\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n data_format:\n type: string\n required: true\n constraints:\n - valid_values:\n - JSON\n - YAML\n - JMS\n - all valid values should be added here\n event_format:\n type: string\n description: 'examples for event_format: Ves_specification, LinkUp, VnfConfigured,\n etc.'\n required: true\n event_format_version:\n type: string\n description: 'examples for event_format_version: 5.28.4, 7.30.1, etc.'\n required: false\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key may be generated\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n version: 0.0.1\n derived_from: tosca.capabilities.Root\nnode_types:\n org.onap.DynamicConfig:\n properties:\n application_name:\n type: string\n description: Value used to tie the config to an application ? should we be\n using a relationship here instead?\n required: true\n application_version:\n type: string\n required: true\n application_provider:\n type: string\n required: false\n data_types:\n type: object\n required: false\n schema:\n type: object\n required: false\n version: 0.0.1\n derived_from: tosca.nodes.Root\n org.onap.APP:\n properties:\n application_name:\n type: string\n description: Human readable name for the application Product\n required: false\n provider:\n type: string\n description: Provider of the application and of the descriptor\n required: true\n application_version:\n type: string\n description: Software version of the application\n required: true\n blueprint_id:\n type: string\n description: A reference to the app blueprint\n required: false\n monitoring_policy:\n type: string\n description: A reference to the monitoring policy\n required: false\n requirements:\n - receive:\n capability: org.onap.EventProducer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n - send:\n capability: org.onap.EventConsumer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n version: 0.0.1\n derived_from: tosca.nodes.Root\n org.onap.EventRelay:\n properties:\n event_format:\n type: string\n description: 'examples for event_format: Ves_specification, etc.'\n required: true\n event_format_version:\n type: string\n description: 'examples for event_format_version: 5.28.4, 7.30.1, etc.'\n required: true\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key is relayed\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n supported_carrier_protocols:\n type: map\n description: 'A map describing supported carrier protocols and translations.\n The tuples define what protocol combinations are supported on the producer\n and consumer side: e.g. { REST: REST, DMAAP: REST, DMAAP: DMAAP}'\n required: true\n key_schema:\n type: string\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n - all valid values should be added here\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n - all valid values should be added here\n supported_data_formats:\n type: map\n description: 'Is a map describing supported data formats and translation.\n The tuples define what protocol combinations are supported on the producer\n and consumer side: e.g. { JSON: JSON, JMS: JSON, YAML:YAML }'\n required: true\n key_schema:\n type: string\n constraints:\n - valid_values:\n - JSON\n - JMS\n - YAML\n - etc\n - all valid values should be added here\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - JSON\n - JMS\n - YAML\n - etc\n - all valid values should be added here\n requirements:\n - receive:\n capability: org.onap.EventProducer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n - send:\n capability: org.onap.EventConsumer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n version: 0.0.1\n derived_from: tosca.nodes.Root\nrelationship_types:\n org.onap.PropagateEvent:\n properties:\n config_keys:\n type: list\n description: The relationship type used on requirements to org.onap.EventProducer\n and org.onap.EventConsumer capabilities. Filters events by specific config_keys\n to be transferred by this relationship. That is, any event with a specific\n config_key found in the list is transferred. If list is not defined or is\n empty, events with all config_keys are transferred.\n required: false\n entry_schema:\n type: string\n version: 0.0.1\n derived_from: tosca.relationships.Root\ntopology_template:\n inputs:\n pm_subscription_topic:\n type: string\n pm_subscription_response_topic:\n type: string\n pm_subscription_handler_blueprint_id:\n type: string\n pm_subscription_operational_policy_id:\n type: string\n pm_subscription_cds_blueprint_id:\n type: string\n enable_tls:\n type: string\n node_templates:\n org.onap.PM_Subscription_Handler:\n type: org.onap.APP\n properties:\n application_name: PM Subscription Handler\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_handler_blueprint_id\n description: Is this a reference to the DCAE Cloudify Blueprint that is\n already stored(or will be stored before CL configuration & instatiation)\n in DCAE Inventory?\n artifact_config:\n enable_tls:\n get_input: enable_tls\n pmsh_publish_topic_name:\n get_input: pm_subscription_topic\n capabilities:\n pm-subscription-event-publisher:\n properties:\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-format\n event_format_version: 1.0.0\n attributes:\n type: org.onap.EventProducer\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n pm-subscription-event-receiver:\n properties:\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-response-format\n event_format_version: 1.0.0\n relationships:\n - type: tosca.relationships.DependsOn\n - description: any ideas on a better realtionship ? or is it better to\n just use the root realtionship ?\n - target: org.onap.PM_Monitoring_Policy\n attributes:\n type: org.onap.EventConsumer\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n version: 0.0.0\n org.onap.PM_Monitoring_Policy:\n type: org.onap.DynamicConfig\n properties:\n application_name: PM Subscription Handler\n application_version: 1.0.0\n provider: Ericsson\n data_types:\n measurementType:\n type: string\n DN:\n type: string\n nfFilter:\n properties:\n nfNames:\n type: list\n entry_schema: string\n modelInvariantIDs:\n type: list\n entry_schema:\n type: string\n modelVersionIDs:\n type: list\n entry_schema:\n type: string\n measurementGroup:\n properties:\n masurementTypes:\n type: list\n entry_schema:\n type: measurementType\n managedObjectDNsBasic:\n type: list\n entry_schema:\n type: DN\n schema:\n subscription:\n subscriptionName:\n type: string\n required: true\n administrativeState:\n type: string\n required: true\n filebasedGP:\n type: integer\n required: true\n fileLocation:\n type: string\n required: true\n nfFilter:\n type: nfFilter\n measurementGroups:\n type: list\n entry_schema:\n type: measurementGroup\n version: 0.0.0\n description: Should I be showing a dependency between PM Subscription Handler\n and the PM Monitoring Policy\n org.onap.PM_Policy:\n type: org.onap.APP\n properties:\n application_name: PM Subscription Operational Policy\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_operational_policy_id\n artifact_config: NOT_DEFINED\n requirements:\n - receive_0:\n capability: pm-subscription-event-publisher\n node: org.onap.PM_Subscription_Handler\n relationship: NOT_DEFINED\n properties:\n config_keys:\n - topic_name:\n get_input: pm_subscription_topic\n version: 0.0.0\n - send_0:\n capability: cds-rest-receive\n node: org.onap.CDS\n version: 0.0.0\n - receive_1:\n capability: cds-rest-response\n node: org.onap.CDS\n version: 0.0.0\n - send_1:\n capability: pm-subscription-event-receiver\n node: org.onap.PM_Subscription_Handler\n relationship: NOT_DEFINED\n properties:\n config_keys:\n - topic_name:\n get_input: pm_subscription_response_topic\n version: 0.0.0\n capabilities:\n pm-subscription-response-event-publisher:\n properties:\n type: org.onap.EventProducer\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-response-format\n event_format_version: 1.0.0\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n version: 0.0.0\n org.onap.PM_CDS_Blueprint:\n type: org.onap.APP\n properties:\n application_name: PM Subscription CDS Blueprint\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_cds_blueprint_id\n capabilities:\n cds-rest-receive:\n properties:\n type: org.onap.EventConsumer\n protocol_type: REST\n data_format: JSON\n event_format: cds_action_format\n event_format_version: 1.0.0\n responding_capability: cds-rest-response\n occurrences:\n - 0.0\n - UNBOUNDED\n version: 0.0.0\n cds-rest-response:\n properties:\n type: org.onap.EventProducer\n protocol_type: REST\n data_format: JSON\n event_format: cds_action_response_format\n event_format_version: 1.0.0\n occurrences:\n - 0.0\n version: 0.0.0\n version: 0.0.0\n org.onap.controlloop0:\n type: org.onap.APP\n properties:\n application_name: Test Control Loop\n provider: Ericsson\n application_version: 1.0.0\n status: NOT_DEPLOYED\n version: 0.0.0\n",
- "options": {
- "raw": {
- "language": "text"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Comission ControlLoop",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/yaml",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\nname: ToscaServiceTemplateSimple\nversion: 1.0.0\ndata_types:\n onap.datatypes.ToscaConceptIdentifier:\n derived_from: tosca.datatypes.Root\n properties:\n name:\n type: string\n required: true\n version:\n type: string\n required: true\nnode_types:\n org.onap.policy.clamp.controlloop.Participant:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n org.onap.policy.clamp.controlloop.ControlLoopElement:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n participant_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.ControlLoop:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n elements:\n type: list\n required: true\n entry_schema:\n type: onap.datatypes.ToscaConceptIdentifier\n org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n dcae_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.PolicyTypeControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.CDSControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n cds_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\ntopology_template:\n node_templates:\n org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.policy.controlloop.MonitoringPolicyControlLoopParticipant:\n version: 2.3.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.policy.controlloop.OperationalPolicyControlLoopParticipant:\n version: 3.2.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant:\n version: 2.2.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.domain.pmsh.PMSH_DCAEMicroservice:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the DCAE microservice for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant\n version: 2.3.4\n dcae_blueprint_id:\n name: org.onap.dcae.blueprints.PMSHBlueprint\n version: 1.0.0\n org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyTypeControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the monitoring policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.policy.controlloop.MonitoringPolicyControlLoopParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.monitoring.pm-subscription-handler\n version: 1.0.0\n org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyTypeControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the operational policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.policy.controlloop.OperationalPolicyControlLoopParticipant\n version: 2.2.1\n policy_type_id:\n name: onap.policies.operational.pm-subscription-handler\n version: 1.0.0\n org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.ControlLoopElement\n type_version: 1.0.0\n description: Control loop element for CDS for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_Id:\n name: org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant\n version: 3.2.1\n cds_blueprint_id:\n name: org.onap.ccsdk.cds.PMSHCdsBlueprint\n version: 1.0.0\n org.onap.domain.pmsh.PMSHControlLoopDefinition:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.ControlLoop\n type_version: 1.0.0\n description: Control loop for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n elements:\n - name: org.onap.domain.pmsh.PMSH_DCAEMicroservice\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement\n version: 1.2.3\n",
- "options": {
- "raw": {
- "language": "text"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- }
- ]
- },
- {
- "name": "Get commissioned control loop definition with name and version",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get instantiated control loops",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete commissioned control loop definition",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": ""
- }
- },
- "response": []
- },
- {
- "name": "Comission control loop definition",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"name\": \"Hello\"\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Update commissioned control loop definition",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "zb!XztG34",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "X-ONAP-RequestID",
- "value": "709c62b3-8918-41b9-a747-d21eb79c6c20",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\ncapability_types:\n org.onap.EventProducer:\n properties:\n carrier_protocol_type:\n type: string\n required: true\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n data_format:\n type: string\n required: true\n constraints:\n - valid_values:\n - JSON\n - YAML\n - JMS\n event_format:\n type: string\n required: true\n event_format_version:\n type: string\n required: false\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key may be generated\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n version: 0.0.1\n derived_from: tosca.capabilities.Root\n org.onap.EventConsumer:\n properties:\n responding_capability:\n type: string\n required: false\n carrier_protocol_type:\n type: string\n required: true\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n data_format:\n type: string\n required: true\n constraints:\n - valid_values:\n - JSON\n - YAML\n - JMS\n - all valid values should be added here\n event_format:\n type: string\n description: 'examples for event_format: Ves_specification, LinkUp, VnfConfigured,\n etc.'\n required: true\n event_format_version:\n type: string\n description: 'examples for event_format_version: 5.28.4, 7.30.1, etc.'\n required: false\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key may be generated\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n version: 0.0.1\n derived_from: tosca.capabilities.Root\nnode_types:\n org.onap.DynamicConfig:\n properties:\n application_name:\n type: string\n description: Value used to tie the config to an application ? should we be\n using a relationship here instead?\n required: true\n application_version:\n type: string\n required: true\n application_provider:\n type: string\n required: false\n data_types:\n type: object\n required: false\n schema:\n type: object\n required: false\n version: 0.0.1\n derived_from: tosca.nodes.Root\n org.onap.APP:\n properties:\n application_name:\n type: string\n description: Human readable name for the application Product\n required: false\n provider:\n type: string\n description: Provider of the application and of the descriptor\n required: true\n application_version:\n type: string\n description: Software version of the application\n required: true\n blueprint_id:\n type: string\n description: A reference to the app blueprint\n required: false\n monitoring_policy:\n type: string\n description: A reference to the monitoring policy\n required: false\n requirements:\n - receive:\n capability: org.onap.EventProducer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n - send:\n capability: org.onap.EventConsumer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n version: 0.0.1\n derived_from: tosca.nodes.Root\n org.onap.EventRelay:\n properties:\n event_format:\n type: string\n description: 'examples for event_format: Ves_specification, etc.'\n required: true\n event_format_version:\n type: string\n description: 'examples for event_format_version: 5.28.4, 7.30.1, etc.'\n required: true\n config_keys:\n type: list\n required: false\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - all valid values should be added here\n - if not specified, events of any config key is relayed\n - 'examples for config_key: ves-measurement, ves-syslog, tca_handle_out,\n etc.'\n supported_carrier_protocols:\n type: map\n description: 'A map describing supported carrier protocols and translations.\n The tuples define what protocol combinations are supported on the producer\n and consumer side: e.g. { REST: REST, DMAAP: REST, DMAAP: DMAAP}'\n required: true\n key_schema:\n type: string\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n - all valid values should be added here\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - DMAAP_message_router\n - SOMETHING_ELSE\n - REST\n - all valid values should be added here\n supported_data_formats:\n type: map\n description: 'Is a map describing supported data formats and translation.\n The tuples define what protocol combinations are supported on the producer\n and consumer side: e.g. { JSON: JSON, JMS: JSON, YAML:YAML }'\n required: true\n key_schema:\n type: string\n constraints:\n - valid_values:\n - JSON\n - JMS\n - YAML\n - etc\n - all valid values should be added here\n entry_schema:\n type: string\n constraints:\n - valid_values:\n - JSON\n - JMS\n - YAML\n - etc\n - all valid values should be added here\n requirements:\n - receive:\n capability: org.onap.EventProducer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n - send:\n capability: org.onap.EventConsumer\n relationship: org.onap.PropagateEvent\n occurrences:\n - 0\n - UNBOUNDED\n version: 0.0.1\n derived_from: tosca.nodes.Root\nrelationship_types:\n org.onap.PropagateEvent:\n properties:\n config_keys:\n type: list\n description: The relationship type used on requirements to org.onap.EventProducer\n and org.onap.EventConsumer capabilities. Filters events by specific config_keys\n to be transferred by this relationship. That is, any event with a specific\n config_key found in the list is transferred. If list is not defined or is\n empty, events with all config_keys are transferred.\n required: false\n entry_schema:\n type: string\n version: 0.0.1\n derived_from: tosca.relationships.Root\ntopology_template:\n inputs:\n pm_subscription_topic:\n type: string\n pm_subscription_response_topic:\n type: string\n pm_subscription_handler_blueprint_id:\n type: string\n pm_subscription_operational_policy_id:\n type: string\n pm_subscription_cds_blueprint_id:\n type: string\n enable_tls:\n type: string\n node_templates:\n org.onap.PM_Subscription_Handler:\n type: org.onap.APP\n properties:\n application_name: PM Subscription Handler\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_handler_blueprint_id\n description: Is this a reference to the DCAE Cloudify Blueprint that is\n already stored(or will be stored before CL configuration & instatiation)\n in DCAE Inventory?\n artifact_config:\n enable_tls:\n get_input: enable_tls\n pmsh_publish_topic_name:\n get_input: pm_subscription_topic\n capabilities:\n pm-subscription-event-publisher:\n properties:\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-format\n event_format_version: 1.0.0\n attributes:\n type: org.onap.EventProducer\n occurrences:\n - 0\n - UNBOUNDED\n pm-subscription-event-receiver:\n properties:\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-response-format\n event_format_version: 1.0.0\n relationships:\n - type: tosca.relationships.DependsOn\n - description: any ideas on a better realtionship ? or is it better to\n just use the root realtionship ?\n - target: org.onap.PM_Monitoring_Policy\n attributes:\n type: org.onap.EventConsumer\n occurrences:\n - 0\n - UNBOUNDED\n org.onap.PM_Monitoring_Policy:\n type: org.onap.DynamicConfig\n properties:\n application_name: PM Subscription Handler\n application_version: 1.0.0\n provider: Ericsson\n data_types:\n measurementType:\n type: string\n DN:\n type: string\n nfFilter:\n properties:\n nfNames:\n type: list\n entry_schema: string\n modelInvariantIDs:\n type: list\n entry_schema:\n type: string\n modelVersionIDs:\n type: list\n entry_schema:\n type: string\n measurementGroup:\n properties:\n masurementTypes:\n type: list\n entry_schema:\n type: measurementType\n managedObjectDNsBasic:\n type: list\n entry_schema:\n type: DN\n schema:\n subscription:\n subscriptionName:\n type: string\n required: true\n administrativeState:\n type: string\n required: true\n filebasedGP:\n type: integer\n required: true\n fileLocation:\n type: string\n required: true\n nfFilter:\n type: nfFilter\n measurementGroups:\n type: list\n entry_schema:\n type: measurementGroup\n description: Should I be showing a dependency between PM Subscription Handler\n and the PM Monitoring Policy\n org.onap.PM_Policy:\n type: org.onap.APP\n properties:\n application_name: PM Subscription Operational Policy\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_operational_policy_id\n artifact_config: NOT_DEFINED\n requirements:\n - receive_0:\n capability: pm-subscription-event-publisher\n node: org.onap.PM_Subscription_Handler\n relationship: NOT_DEFINED\n properties:\n config_keys:\n - topic_name:\n get_input: pm_subscription_topic\n - send_0:\n capability: cds-rest-receive\n node: org.onap.CDS\n - receive_1:\n capability: cds-rest-response\n node: org.onap.CDS\n - send_1:\n capability: pm-subscription-event-receiver\n node: org.onap.PM_Subscription_Handler\n relationship: NOT_DEFINED\n properties:\n config_keys:\n - topic_name:\n get_input: pm_subscription_response_topic\n capabilities:\n pm-subscription-response-event-publisher:\n properties:\n type: org.onap.EventProducer\n carrier_protocol_type: DMAAP_message_router\n data_format: JSON\n event_format: pm-subscription-event-response-format\n event_format_version: 1.0.0\n occurrences:\n - 0\n - UNBOUNDED\n org.onap.PM_CDS_Blueprint:\n type: org.onap.APP\n properties:\n application_name: PM Subscription CDS Blueprint\n provider: Ericsson\n application_version: 1.0.0\n artifact_id:\n get_input: pm_subscription_cds_blueprint_id\n capabilities:\n cds-rest-receive:\n properties:\n type: org.onap.EventConsumer\n protocol_type: REST\n data_format: JSON\n event_format: cds_action_format\n event_format_version: 1.0.0\n responding_capability: cds-rest-response\n occurrences:\n - 0\n - UNBOUNDED\n cds-rest-response:\n properties:\n type: org.onap.EventProducer\n protocol_type: REST\n data_format: JSON\n event_format: cds_action_response_format\n event_format_version: 1.0.0\n occurrences:\n - 0\n org.onap.controlloop0:\n type: org.onap.APP\n properties:\n application_name: Test Control Loop\n provider: Ericsson\n application_version: 1.0.0\n status: NOT_DEPLOYED\n"
- },
- "url": {
- "raw": "localhost:6969/onap/controlloop/v2/commission/update",
- "host": [
- "localhost"
- ],
- "port": "6969",
- "path": [
- "onap",
- "controlloop",
- "v2",
- "commission",
- "update"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST ParticipantStatus to DMaaP",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{ \n \"state\":\"TEST\",\n \"messageType\":\"PARTICIPANT_STATUS\",\n \"requestId\":\"22fa87e9-0ee7-446e-b4f2-c60724ff38b3\",\n \"timestampMs\":1611045725322\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:3904/events/POLICY-CLRUNTIME-PARTICIPANT",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "3904",
- "path": [
- "events",
- "POLICY-CLRUNTIME-PARTICIPANT"
- ]
- }
- },
- "response": []
- }
- ]
-}
\ No newline at end of file