-
Notifications
You must be signed in to change notification settings - Fork 1
How to define and publish a Solution for the Cosmo Tech Platform
Vincent Carluer edited this page Apr 28, 2021
·
1 revision
A solution is defined in a YAML manifest file in the root of a Cosmo Tech Project. First you need to be in a valid Cosmo Tech Project created with:
csm init --sdk-version 8.0 --project myproject
In the root path of the projet $PROJECT, you need to create a Solution.yaml
file.
The Solution.yaml
structure and properties definition can be found in the OpenAPI definition of the Solution service
key: Brewery Solution
name: Brewery Solution
description: A Brewery Supplier Solution Model which simulate stock, production, transport and customer satisfaction
repository: brewery_solution
version: "1.0.0"
url: https://github.com/Cosm-Tech/brewery.git
tags:
- Brewery
parameters:
- id: prefix
labels:
fr: Prefix des noms
en: Names prefix
varType: string
parameterGroups:
- id: consumers
labels:
fr: Consommateurs
en: Consumers
parameters:
- prefix
run_templates:
- id: hundred
name: Full simulation 100 steps
description: Run a full simulation with 100 steps
csmSimulation: DeployedSimulation
tags:
- Full
- Supply
computeSize: highcpu
parameterGroups:
- consumers