commit | 3e7c337f500cc6984b38b74b7b0e3241a71c0ee3 | [log] [tgz] |
---|---|---|
author | pranitk1905 <pranit.kapdule@t-systems.com> | Mon Feb 06 14:13:29 2023 +0530 |
committer | pranitk1905 <pranit.kapdule@t-systems.com> | Tue Feb 07 15:28:30 2023 +0530 |
tree | fd2cce6bd094c1409887ef5aff0f7bdeb295f83f | |
parent | 8f547cd9f15d26a2f8f7e942e9185f39ed7866e3 [diff] |
[DCAEGEN2]Upgrade dependencies for dcaegen2-platform-ves-openapi-manager Upgrade dependency version as per SECCOM recommendation Issue-ID: DCAEGEN2-3342 Change-Id: Ia4a93d8503c8e6e9594217606b7b06ebfd85f956 Signed-off-by: pranitk1905 <pranit.kapdule@t-systems.com> [DCAEGEN2]Upgrade dependencies for dcaegen2-platform-ves-openapi-manager corrected tabbed indentations in pom.xml file Issue-ID: DCAEGEN2-3342 Change-Id: Ia4a93d8503c8e6e9594217606b7b06ebfd85f956 Signed-off-by: pranitk1905 <pranit.kapdule@t-systems.com> [DCAEGEN2]Upgrade dependencies dcaegen2-platform-ves-openapi-manager Rearranged pom.xml file Issue-ID: DCAEGEN2-3342 Change-Id: Ia4a93d8503c8e6e9594217606b7b06ebfd85f956 Signed-off-by: pranitk1905 <pranit.kapdule@t-systems.com>
This application should partially validate incoming service distributions in SDC. It validates each artifact of type VES_EVENT. Its purpose is to check whether schemaReferences of stndDefined events included in VES_EVENT artifacts are matching the schemas which VES Collector contains.
Connect to lab and expose ports of message-router service by setting spec.type to NodePort.
Add to /etc/hosts new entry:
<lab_worker_node_ip> sdc-be.onap
Get exposed port of 3904 internal port of message-router.
Set up connection configuration in environment.config file.
Local port forwarding is required to set up proper connection from local environment to message-router on the lab.
Run this to enable port-forwarding (CTRL+C to end):
make port-forwarding
Currently, there are two common ways to run application, both described below.
Right click on Main class, then Run or Debug button.
Run (from other terminal than used for port-forwarding):
make all
Correctly connected to lab application should print logs:
distribution client initialized successfuly
and
distribution client started successfuly
After preparing environment, starting ves-openapi-manager and successful connection to lab, application will listen for service distributions taking place in SDC.
When distribution takes place, ves-openapi-manager downloads each VES_EVENT artifact to validate its stndDefined events.
Results of validation are visible in two places:
There are at least two ways to build docker image.
Using makefile:
make build docker
Direct creation with mvn:
mvn clean package docker:build
Image will be named: onap/org.onap.dcaegen2.platform.ves-openapi-manager