aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/models/upgrade/README.md
blob: ff4bef204cabcca5de5ebf664cd899e087583cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This folder purpose is to contain any models that needs its imports file updated during the 
initialization of an upgrade.

```bash
├── upgrade
│   ├── <model_1_to_upgrade>
│   │   ├── payload.json
│   │   ├── imports
│   │   │   ├── **/*.yaml
[...]
│   ├── <model_n_to_upgrade>
│   │   ├── payload.json
│   │   ├── imports
│   │   │   ├── **/*.yaml
```

The model folder name is irrelevant to indicate which model should be updated. This information must
be provided in the payload.json contained within the model folder.

The content of the payload.json for the model with name "ETSI SOL001 v2.5.1" is expected to be:
```json
{
  "name": "ETSI SOL001 v2.5.1"
}
```