diff options
author | Dan Timoney <dtimoney@att.com> | 2021-05-14 14:52:24 -0400 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2021-06-18 16:31:58 +0000 |
commit | 65cb0a032cf45d35ae07244752600cecc8eb930d (patch) | |
tree | 9716167c070758f1314e613375d32eb7de358aa5 /README.md | |
parent | 4ce68295eebdda1a3fdb069f6137a180a94f63e9 (diff) |
Add CSIT test cases to sdnc/oam repo
Refactored csit tests currently in integration/csit and moved them as
part of sdnc/oam project so that we can trigger csit tests as part of
our docker builds.
Change-Id: I3acd25c7a6f1bc0ea9b2a2bd756cedc5fb2bf701
Issue-ID: SDNC-1545
Signed-off-by: Dan Timoney <dtimoney@att.com>
(cherry picked from commit 1ab7133b8e2fcbda0e4ac3f2e69790506b79b952 [formerly 16a6e0ea52a4a681ed2799612e310c867e720a61])
Former-commit-id: 704ba02c4f41dc2970d7ed2b72f5d6726ef24b00
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 38 |
1 files changed, 30 insertions, 8 deletions
@@ -1,14 +1,36 @@ -This source repository contains the code for SDN Controller operations, administration and maintenance utilities. This code depends on the following, which should be downloaded and compiled first: +This source repository contains the directed graphs to support the +SDNC controller, as well as the code to create the SDNC docker containers. -1. org.openecomp.sdnc/sdnc-core -2. org.openecomp.sdnc/sdnc-adaptors -3. org.openecomp.sdnc/sdnc-northbound -4. org.openecomp.sdnc/sdnc-plugins +# Local compilation -To compile this code: +The following command will do a local build and create all SDNC +docker containers: -1. Make sure your local Maven settings file ($HOME/.m2/settings.xml) contains references to the OpenECOMP repositories and OpenDaylight repositories. See example-settings.xml for an example. +```bash +mvn clean install -P docker -Ddocker.pull.registry=nexus3.onap.org:10001 +``` -2. To compile, run "mvn clean install". +To do a local build of only the SDNC controller docker image: +```bash +cd installation/sdnc +mvn clean install -P docker -Ddocker.pull.registry=nexus3.onap.org:10001 +``` + +# Local CSIT testing + +To perform local CSIT testing, first create a local docker build +of the SDNC controller images following the steps above. + +Important note: CSIT testing is still based on Python2. So, before +running the CSIT locally, be sure that your local environment is +using the python2 version of 'python' and 'pip' + +Once you have a local SDNC image build and python2 is installed, +you can run a local CSIT test by running the following commands: + +```bash +cd csit +./run-project-csit.sh +``` |