Skip to content

Releases: Cosmo-Tech/cosmotech-api

3.0.14-dev

08 Dec 08:24

Choose a tag to compare

3.0.14-dev Pre-release
Pre-release

What's Changed

Full Changelog: 3.0.13-dev...3.0.14-dev

2.4.10

28 Nov 13:46

Choose a tag to compare

What's new

  • New default sizing in accordance with AKS node pool allocatable resources. 64a00f9

3.0.13-dev

15 Nov 14:51

Choose a tag to compare

3.0.13-dev Pre-release
Pre-release

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

13 Nov 13:54

Choose a tag to compare

3.0.12-dev Pre-release
Pre-release

Fix conflicting bean name

3.0.11-dev

13 Nov 09:22

Choose a tag to compare

3.0.11-dev Pre-release
Pre-release

Make the check solution's image optional so we can desactivate it in local

3.0.10-private

03 Nov 08:57

Choose a tag to compare

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

Read more

3.0.10-dev

02 Nov 15:43

Choose a tag to compare

3.0.10-dev Pre-release
Pre-release

What's Changed

  • add twincache2twincache_connector to api_configuration by @lalepee in #578

Full Changelog: 3.0.9-dev...3.0.10-dev

3.0.9-dev

30 Oct 10:41

Choose a tag to compare

3.0.9-dev Pre-release
Pre-release

Fix ScenarioRunStatus when workflow is stopped

3.0.8-dev

18 Oct 13:56

Choose a tag to compare

fix deletion not working on great amount of scenarios

3.0.7-dev

13 Oct 11:11

Choose a tag to compare

What's Changed

Full Changelog: 3.0.6-dev...3.0.7-dev