The application manifest file
The application manifest file is a local YAML file that lists the artifacts of an application and contains information on where they are stored.
To make the most of the following explanations, you must be familiar with The Wazi Deploy workflow.
What is the application manifest file
In a static deployment, where Wazi Deploy deploys the application package that you provide as input, Wazi Deploy uses the manifest to know the list of the artifacts that your application package contains.
The application manifest file is generated by The Wazi Deploy packager command and used as input to The Wazi Deploy generation command.
Structure and parameters
This file must not contain any information about the target environment. Its model is constrained and must follow a predefined structure.
apiVersion: wazideploy.ibm.com/v1
kind: ManifestState
metadata:
name: GenAppCICS
description: GenAppCICS
version: 1.0.359
annotations:
creationTimestamp: 20220809.092936.548
scm:
type: git
uri: git@github.com:myuser/cics-genapp.git
branch: HEAD
shortCommit: 02ad1c4c
package:
name: cics-genapp-build-main
description:
properties:
- key: repoPath
value: cics-genapp-build/cics-genapp-build-main
uri: https://example.artifactory.com/ui/builds/cics-genapp-build-main/7
type: ARTIFACTORY
artifacts:
- name: LGUCDB01
description: LGUCDB01.CICSLOAD
properties:
- key: path
value: CICSLOAD/LGUCDB01.CICSLOAD
type: CICSLOAD
hash: 0d5c0cfe38d672389b859925fededc56b4a28a41a3183103519982b324cb4bd3
- name: LGUPDB01
description: LGUPDB01.DBRM
properties:
- key: path
value: DBRM/LGUPDB01.DBRM
type: DBRM
hash: 1376845d53f8f5edd8bf7e2f5e46028da4ec14f7912df68d2fc56620f5d11b6d
deleted_artifacts:
- name: LGACDB02
description: LGACDB02.CICSLOAD
properties:
- key: path
value: NAZARE.WDEPLOY.DBBBUILD.GENAPP.LOAD/LGACDB02.CICSLOAD
type: CICSLOAD
An application manifest file is constituted of the following parameters:
- metadata
- The metadata of the application manifest that was generated by the Wazi Deploy packager.
- artifacts
- Information on each artifact in the application package file.
- name
Name of the artifact.
- description
Name of the artifact, followed by its type (for example
LGUCDB01.CICSLOAD). - properties
The
keyand associatedvaluethat are listed for each artifact.In a static deployment, the key is the path to the artifact in the package file.
- type
The artifact
typethat is indicated in the deployment method. - hash
When the manifest is produced by The Wazi Deploy packager command, the hash is the
sha256value of the source file.
- name
- deleted_artifacts
- The artifacts that are to be deleted.
- name
Name of the artifact.
- description
The optional description.
- properties
The
keyand associatedvaluethat are listed for each artifact.In a static deployment, the key is the path to the artifact in the package file.
- type
The artifact
typethat is indicated in the deployment method.
- name