commit | 46b38a2350bfd29331f9a18529c23b2d672a13d8 | [log] [tgz] |
---|---|---|
author | sharath reddy <bs.reddy@huawei.com> | Thu May 26 19:07:03 2022 +0530 |
committer | sharath reddy <bs.reddy@huawei.com> | Wed Jun 01 14:26:44 2022 +0530 |
tree | 16351134bfcda6092a9b98c3f830c99bf0480b56 | |
parent | 0bf80c915d8c4e7b2dabee463459d8198fdeacc6 [diff] |
Changed code to not construct the path from user-controlled data. Issue-ID: VNFSDK-834 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: If9eb5ee546436ed9c4495bac8706883ee1ca98ce Signed-off-by: sharath reddy <bs.reddy@huawei.com>
comment: # (Licensed under the Apache License, Version 2.0 (the "License") comment: # (# you may not use this file except in compliance with the License.) comment: # (# You may obtain a copy of the License at) comment: # (#) comment: # (# http://www.apache.org/licenses/LICENSE-2.0) comment: # (#) comment: # (# Unless required by applicable law or agreed to in writing, software) comment: # (# distributed under the License is distributed on an "AS IS" BASIS,) comment: # (# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) comment: # (# See the License for the specific language governing permissions and) comment: # (# limitations under the License.)
VNFSDK marketplace provides
A platform to automate and manage different kind of VNF test cases for given VNF package(s) and provides unified accessibility over CLI, REST API and UI portal for operating the test cases. Also it facilitate to write test cases in different languages like java, shell scripts, python, etc.
mvn clean package -Pdocker -Dpush.docker.image=false
docker run --name refrepo -p 8702:8702 nexus3.onap.org:10003/onap/vnfsdk/refrepo:latest
To browse folder you must enter to the refrepo container, so first run docker container locally (see above section) then execute
docker exec -it refrepo bash
In the running container you will find a few important folders:
If you want to verify validation logic (validation-csar project), first you need to build validation-csar project, next remove existing validation-csar.jar from /opt/vpt/lib folder in the container and then copy the new validation-csar jar file into the /opt/vpt/lib folder in the container and restart this container.
1. docker exec -it refrepo bash 2. Inside the container: rm /opt/vtp/lib/ validation-csar-XXX.jar 3. docker cp validation-csar.jar refrepo:/opt/vtp/lib 4. docker restart refrepo
VNF Marketplace UI is available at http://127.0.0.1:8702/onapui/vnfmarket