Add new product to an existing distribution
Ways to add a new product to an existing distribution
Steps to add a new product to a distribution
dir structure:
be/
-->> data/ (The latest json data for the FE)
--->>> distributions/
--->>> products/
--->>> software-catalog.json (Complete list of products)
--->>> software-distributions.json (Complete list of distributions)
-->> templates/ (All the templates needes in the process)
data/ ├── config.js ├── distributions/ │ ├── CMD-ONE │ │ ├── 0.0.0.json │ │ └── 1.1.0.json
1st approach
Add the
cd /var/www/be
Copy the template:
cp SW/templates/product.yaml ./release.yaml
Convert the yaml to json yaml2json release.yaml (this will create a release.json file in the same dir)
Manually add product