Releases: Cosmo-Tech/cosmotech-api
3.0.14-dev
What's Changed
- add scenariorunid to getCommonEnvVars by @lalepee in #589
- upgrade twincache-twincache-connector version to 0.1.2 by @lalepee in #591
- Lcra/add default security solution dataset creation prod 12647 by @Leopold-Cramer in #594
- Lcra/fix dataset twingraph upload bugs prod 12644 prod 12645 prod 12646 by @Leopold-Cramer in #592
- Lcra/avoid multiple occurence same user security prod 12648 by @Leopold-Cramer in #595
- change refresh dataset openapi description by @Leopold-Cramer in #597
- update examples for scenariorunresults and datasets openapi by @Leopold-Cramer in #596
- add integration test for refresh dataset by @Leopold-Cramer in #599
- change openapi description for create dataset examples by @Leopold-Cramer in #600
Full Changelog: 3.0.13-dev...3.0.14-dev
2.4.10
3.0.13-dev
What's Changed
- annotated twingraph to inform what service to use instead by @Leopold-Cramer in #588
- change status check only on pending state by @lalepee in #586
- add default value for dataset.source by @lalepee in #587
- fix dataset status when get is called on type none by @lalepee in #590
Full Changelog: 3.0.12-dev...3.0.13-dev
3.0.12-dev
Fix conflicting bean name
3.0.11-dev
Make the check solution's image optional so we can desactivate it in local
3.0.10-private
New features🆕
Dataset & scenario graph
You can now create sub-datasets. A sub-dataset is a copy or partial copy of a dataset resulting from a cypher query. This capability is used in the creation of scenario. the given dataset is copied and set in the scenario, this aim to give user a sandbox of the dataset for modification.
Dataset are now linked to a twingraph. To simplify actions on the twingraph linked to the dataset all actions under the twingraph group has been copied to dataset.
Dataset module
/organizations/{organization_id}/datasets/{dataset_id}- POST Upload file endpoint has been added. Allow formated files to be upload to dataset.
/organizations/{organization_id}/datasets/{dataset_id}/subdataset- POST create subdataset endpoint has been added. Allow to create a copy of the dataset using a cypher query.
/organizations/{organization_id}/datasets/{dataset_id}/refresh- POST refresh data endpoint has been added. Allow the copy from the source data.
/organizations/{organization_id}/datasets/{dataset_id}/twingraph- POST Query twingraph endpoint has been added. Copied from twingraph module.
/organizations/{organization_id}/datasets/{dataset_id}/twingraph/{type}- POST Create entities endpoint has been added. Copied from twingraph module.
- GET Get entities endpoint has been added. Copied from twingraph module.
- PATCH Update entities endpoint has been added. Copied from twingraph module.
- DELETE Delete entities endpoint has been added. Copied from twingraph module.
/organizations/{organization_id}/datasets/{dataset_id}/batch- POST Batch update endpoint has been added. Copied from twingraph module.
/organizations/{organization_id}/datasets/{dataset_id}/batch-query- POST Batch Query endpoint has been added. Copied from twingraph module.
/organizations/{organization_id}/datasets/twingraph/download/{hash}- GET Download Batch Query result endpoint has been added. Copied from twingraph module.
/organizations/{organization_id}/datasets/{dataset_id}/job/{job_id}/status- GET Import status endpoint has been added. Copied from twingraph module.
Connector module
/connectors/name/{connector_name}- GET connector by name endpoint has been added.
REST service for Simulation results (1.0)
A new module ScenarioRunResult has been added. These endpoints allow storage and retrieval of .json simulation result files under the identifier scenariorun_id-probe_id.
ScenarioRunResult module
/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/scenarioruns/{scenariorun_id}/probes/{probe_id}- GET Probe endpoint has been added.
- POST Probe endpoint has been added.
Breaking changes⚠️
Access Control Lists (ACL) coverage extension
ACL now available for Solution and Dataset resources.
Solution module
/organizations/{organization_id}/solutions/{solution_id}/security/users- GET Security users endpoints has been added.
/organizations/{organization_id}/solutions/{solution_id}/security/access- POST Security access endpoints has been added.
/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}- GET Security users endpoints has been added.
- PATCH Security users endpoints has been added.
- DELETE Security users endpoints has been added.
Dataset module
/organizations/{organization_id}/datasets/{dataset_id}/security/access- POST Security access control endpoint has been added.
/organizations/{organization_id}/datasets/{dataset_id}/security/access/{identity_id}- GET Security users endpoints has been added.
- PATCH Security users endpoints has been added.
- DELETE Security users endpoints has been added.
/organizations/{organization_id}/datasets/{dataset_id}/security/users- GET Security users endpoints has been added.
Scenario module
Fix to conform to other modules.
/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/permissions/{role}- GET Scenario permission endpoint new path parameter scenario_id has been added.
Migration import function removed
All modules had an import endpoint that bypass validation to allow database migration from CosmosDB to Redis. Those endpoints aren’t needed anymore and have been removed.
Organization module
/organizations/import- POST Import endpoint has been removed.
Workspace module
/organizations/{organization_id}/workspaces/import- POST Import endpoint has been removed.
Scenario module
/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/import- POST Import endpoint has been removed.
Solution module
/organizations/{organization_id}/solutions/import- POST Import endpoint has been removed.
Dataset module
/organizations/{organization_id}/datasets/import- POST Import endpoint has been removed.
Connector module
/connectors/import- POST Import endpoint has been removed.
ScenarioRun module
/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/run/import- POST Import endpoint has been removed.
Twingraph module
/organizations/{organization_id}/twingraph/import- POST Import endpoint has been removed.
Python orchestrator
Run templates now use csm-orc as the new simulation orchestrator by default: new RunTemplate property orchestratorType is set by default to csmOrc. To keep the previous Argo Workflows orchestrator, set it to argoworkflow.
Run template behaviour change
Run templates steps must now be explicitly set to true in solution file to be used. Previous version assumed every step was true unless explicitly set to false. This means steps set to null (or not set at all) were executed. With the new behavior these same steps will not be executed.
Changelog
- Add app reg id acl by @jreynard-code in #519
- Updated default sizing informations for pods by @neomatamune in #506
- Use scenario's runSizing if provided to run a scenario by @mahkoCosmo in #521
- Merge api_documentation into main by @github-actions in #531
- Fix brewery URL in examples by @sjoubert in #532
- removed wait_relationship_propagation from delete scenario endpoint by @Leopold-Cramer in #530
- License check by @vcarluer in #520
- forbid scenario deletion during a run by @Leopold-Cramer in #533
- Mig/implement loki log aggregation prod 11724 by @mahkoCosmo in #518
- Lcra/make twingraph endpoints non case sensitive by @Leopold-Cramer in #542
- Afos/add metrics labels scenario run prod 11945 prod 11946 by @jreynard-code in #540
- Keycloak by @jreynard-code in #537
- Added creationDate to ScenarioRun by @neomatamune in #538
- Mig/unexisting solution image not handled properly prod 11181 by @mahkoCosmo in #510
- Refactoring organization integration tests by @jreynard-code in #543
- Change default run step status to false by @neomatamune in #552
- Add new orchestrator type to Run Templates by @neomatamune in #554
- replaced entrypoint called in all simulator image by "entrypoint.py" by @neomatamune in #556
- fix wrongly deletion on update runTemplate by @Leopold-Cramer in #557
- Only capture logs in phoenix ns, also drop all apps except workflows by @mahkoCosmo in #558
- New service scenariorunresults by @Leopold-Cramer in #505
- Lcra/update acl organization workspace scenario by @Leopold-Cramer in #555
- Multitenant by @jreynard-code in #563
- Lcra/add acl to solution service by @Leopold-Cramer in #565
- Lcra/add acl to scenario run service by @Leopold-Cramer in #566
- Dataset Management by @icreated in #549
- Connector versions by @icreated in #570
- Remove import endpoints from Connector and Twingraph Services by @Leopold-Cramer in #569
- twincache Connector version 0.4.1 by @icreated in #571
- Creation & refresh dates by @icreated in #572
- fix dataset deletion on scenario deletion by @lalepee in #573
- fix deletion not working on great amount of scenarios by @Leopold-Cramer in https://github.com/Cosmo-Tech/cosmotec...
3.0.10-dev
What's Changed
Full Changelog: 3.0.9-dev...3.0.10-dev
3.0.9-dev
Fix ScenarioRunStatus when workflow is stopped