-
Notifications
You must be signed in to change notification settings - Fork 9
PackagerPlugins: TangoPackager
Manuel Peuster edited this page Jul 4, 2018
·
2 revisions
The documentation of the TangoPackager
plugin that can handle the 5GTANGO package format.
- Extract ZIP file to a temporary working folder
- Collect all information about the package
- Validate
NAPD.yaml
against its schema (if available) - Order of information gathering:
TOSCA.meta
overwritten byETSI manifest (e.g.g mynsd.mf)
overwritten byNAPD.yaml
. This means that information in theNAPD.yaml
has the highest priority and redundant information is overwritten by the content of theNAPD.yaml
. - Assert that a minimum set of meatdata is available. If not: Abort with malformed pkg error.
- Validate
- Validate checksums (if enabled: abort on missmatch, if disabled: warn on missmatch)
- Call storage backend for all artifacts that should be returned
- Local storage backend will copy the files to
args.output
- Catalogue backend will upload the files
- Local storage backend will copy the files to
- Generate result information (e.g. metadate containing links to artifacts)
- find and load project.yml
- create NAPDR for the new package
- create a tmp. working directory
- generate package directory tree
- copy project files and artifacts to temp filder
- generate/write NAPD
- generate/write ETSI MF
- generate/write TOSCA meta data
- zip and write package