admin-shell-io / aas-specs-api

Repository of the Asset Administration Shell Specification DTA-01002 API
https://admin-shell-io.github.io/aas-specs-antora/index/home/index.html
Creative Commons Attribution 4.0 International
11 stars 4 forks source link

Interface for Creating whole Environments #20

Open sebbader opened 1 year ago

sebbader commented 1 year ago

What?

There is no API to create the whole AAS environment. If there is an AAS files with 10 submodels, there will be 11 calls which will have to happen in a specific order. AAS call first and others afterwards. This is one of the common use case of catena x. /aasx url is not sufficient since creating an aasx file is an unnecessary overhead for just json/xml files.

How?

Create an additional API like /v1/env/.

This issue relates to finding Go#7.

BirgitBoss commented 1 year ago

see also https://github.com/admin-shell-io/aas-specs-api/issues/44 w.r.t. naming

BirgitBoss commented 1 year ago

Why are there 11 calls? The repository/environment is NOT created, a repository (empty or non-empty) is assumed to be already available. So there are only 10 calls in my counting.

BirgitBoss commented 1 year ago

compare to https://github.com/admin-shell-io/aas-specs-api/issues/3 for batch/bulk operations, there focus on barch operations for the discovery-and-registry interface. Here, you seem to request similar operations for the submodel repository and the AAS repository?