From fa1db43d43abd43a8f18bb26d0054de41fdb2a22 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Tue, 29 Oct 2019 17:18:22 +0000 Subject: Add non-mano software information to sanity test PNF packages Adds a sample non-mano artifact onap_pnf_software_information to existing api sanity test PNF packages. Resigns the 2 signed packages with the new root certificate. 2/3 packages are signed, so a new root certificate had to be generated, as the private key of the previous one is missing. In the docker_run script, creates a new folder to the test certificate, different from the production folder, and bind it with the sdc-api-tests docker. Minor changes in docker_run script. Change-Id: I78b28303215912df129a0e0d70afad5f3d0c2d09 Issue-ID: SDC-2641 Signed-off-by: andre.schmid --- .../Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar | Bin 22793 -> 24623 bytes ...le-pnf-1.0.1-non-mano-software-information.csar | Bin 24623 -> 0 bytes .../PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip | Bin 23124 -> 23905 bytes ...signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip | Bin 22840 -> 23568 bytes .../sdc-api-tests/files/default/cert/root.cert | 40 +++++++++++---------- 5 files changed, 21 insertions(+), 19 deletions(-) delete mode 100644 test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-non-mano-software-information.csar (limited to 'test-apis-ci/sdc-api-tests/chef-repo') diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar index e5e492eef2..b4d2b3eda3 100644 Binary files a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar and b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-SNAPSHOT.csar differ diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-non-mano-software-information.csar b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-non-mano-software-information.csar deleted file mode 100644 index b4d2b3eda3..0000000000 Binary files a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-pnf-1.0.1-non-mano-software-information.csar and /dev/null differ diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip index b0dfb2daad..fecb45aaaf 100644 Binary files a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip and b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-1.0.1-SNAPSHOT.zip differ diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip index 1c80c5fe28..676a9ff777 100644 Binary files a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip and b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/PNFs/sample-signed-pnf-cms-includes-cert-1.0.1-SNAPSHOT.zip differ diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/cert/root.cert b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/cert/root.cert index 6bfff9e71e..11c827ac6f 100644 --- a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/cert/root.cert +++ b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/cert/root.cert @@ -1,21 +1,23 @@ -----BEGIN CERTIFICATE----- -MIIDYDCCAkigAwIBAgIJALtnu4aRjdS9MA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV -BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX -aWRnaXRzIFB0eSBMdGQwHhcNMTkwNDMwMTEwNzI4WhcNMjkwNDI3MTEwNzI4WjBF -MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50 -ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEAy6B58urvKz4GbDiwcWIrfKBd7X3IG4kzn3p8Eo5Q9t47Z99HghhemfeO -Oallo1MCueB5BByi4ytw3CncQkZTiLcvqeyItO+FkxCspc37uCg5S340F8ITSQoR -XF0RiUI3h6lMGBQLi70x6nZvU+gyqBM4vrHASiNt+xQTn/pvdk9nBIQvC7g3O7x4 -5JVwX9s2XDhhkdB7pqtw/iXv/6m3EP77s3mfliub2sIeHhB71rV9NAuX49ctTJZD -yf/zEpV02LKROwaQDW8o0kzi7q8kEscdP1iO1BMLn0X15apXzXYIV9DFk1QY1mp6 -mdIg6XrxJ8ZTiaI4CETkpi6Si0JblQIDAQABo1MwUTAdBgNVHQ4EFgQUG1OniXCl -Tp3yveWrZzgNMnchfckwHwYDVR0jBBgwFoAUG1OniXClTp3yveWrZzgNMnchfckw -DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9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