X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fcommon.git;a=blobdiff_plain;f=osm_common%2Ftests%2Fpackages%2Finvalid_package_vnf%2Fmanifest.mf;fp=osm_common%2Ftests%2Fpackages%2Finvalid_package_vnf%2Fmanifest.mf;h=dacf77fd75890907b536d7e5d9f618aa8ea4c3a1;hp=0000000000000000000000000000000000000000;hb=0839503b0c0fb61f256f387bfdf07419e673bbe3;hpb=277c931191194490c5595307c22b721d94294254 diff --git a/osm_common/tests/packages/invalid_package_vnf/manifest.mf b/osm_common/tests/packages/invalid_package_vnf/manifest.mf new file mode 100644 index 0000000..dacf77f --- /dev/null +++ b/osm_common/tests/packages/invalid_package_vnf/manifest.mf @@ -0,0 +1,57 @@ +# +# Copyright 2020 Whitestack, LLC +# ************************************************************* +# +# This file is part of OSM common repository. +# All Rights Reserved to Whitestack, LLC +# +# 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: agarcia@whitestack.com +## + +# General definitions of the package +vnfd_id: native_charm-vnf +vnf_product_name: native_charm-vnf +vnf_provider_id: AFA +vnf_software_version: 1.0 +vnf_package_version: 1.0 +vnf_release_date_time: 2021.12.01T11:36-03:00 +compatible_specification_versions: 3.3.1 +vnfm_info: OSM + +Source: Definitions/native_charm_vnfd.yaml +Algorithm: SHA-256 +Hash: ede8daf9748ac4849e1a1aac955d6c84cafef9ea34067eaef76ee4e5996974c2 + +Source: Scripts/cloud_init/cloud-config.txt +Algorithm: SHA-256 +Hash: 7455ca868843cc5da1f0a2255cdedb64a69df3b618c344b83b82848a94540eda + + +# The below sections are all wrong on purpose as they are intended for testing + +# Invalid hash algorithm +Source: Scripts/charms/simple/src/charm.py +Algorithm: SHA-733 +Hash: 7895f7b9e1b7ed5b5bcd64398950ca95b456d7fc973334351474eed466c2f480 + +# Wrong hash +Source: Scripts/charms/simple/hooks/start +Algorithm: SHA-256 +Hash: 123456aaaaaa123456aaaaaae2bb9d0197f41619165dde6cf205c974f9aa86ae + +# Unspecified hash +Source: Scripts/charms/simple/hooks/upgrade-charm +Algorithm: SHA-256