Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions example/aas/ShellTemplate.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version='1.0' encoding='UTF-8'?>
<environment xmlns="https://admin-shell.io/aas/3/0">
<assetAdministrationShells>
<assetAdministrationShell>
<id>https://mm-software.com/aas/aasTemplate</id>
<assetInformation>
<assetKind>Instance</assetKind>
</assetInformation>
<submodels>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>Nameplate</value>
</key>
</keys>
</reference>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>ContactInformation</value>
</key>
</keys>
</reference>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>TechnicalData</value>
</key>
</keys>
</reference>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>CarbonFootprint</value>
</key>
</keys>
</reference>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>HandoverDocumentation</value>
</key>
</keys>
</reference>
</submodels>
</assetAdministrationShell>
</assetAdministrationShells>
</environment>
21 changes: 1 addition & 20 deletions example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,25 +141,6 @@ services:
networks:
- twinengine-network

shell-template-creator:
image: curlimages/curl:8.18.0
container_name: shell-template-creator
depends_on:
template-repository:
condition: service_healthy
entrypoint: >
sh -c '
echo "Waiting for template-repository to be ready...";
sleep 10;
curl -X POST http://template-repository:8081/shells \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-d "{\"id\":\"https://mm-software.com/aas/aasTemplate\",\"assetInformation\":{\"assetKind\":\"Instance\"},\"submodels\":[{\"type\":\"ModelReference\",\"keys\":[{\"type\":\"Submodel\",\"value\":\"Nameplate\"}]},{\"type\":\"ModelReference\",\"keys\":[{\"type\":\"Submodel\",\"value\":\"ContactInformation\"}]},{\"type\":\"ModelReference\",\"keys\":[{\"type\":\"Submodel\",\"value\":\"TechnicalData\"}]},{\"type\":\"ModelReference\",\"keys\":[{\"type\":\"Submodel\",\"value\":\"CarbonFootprint\"}]},{\"type\":\"ModelReference\",\"keys\":[{\"type\":\"Submodel\",\"value\":\"HandoverDocumentation\"}]}],\"modelType\":\"AssetAdministrationShell\"}";
echo "Shell creation request sent.";
'
networks:
- twinengine-network

aas-web-ui:
image: eclipsebasyx/aas-gui:SNAPSHOT
container_name: aas-ui
Expand Down Expand Up @@ -222,4 +203,4 @@ services:
condition: service_healthy
restart: always
networks:
- twinengine-network
- twinengine-network
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version='1.0' encoding='UTF-8'?>
<environment xmlns="https://admin-shell.io/aas/3/0">
<assetAdministrationShells>
<assetAdministrationShell>
<id>https://mm-software.com/aas/aasTemplate</id>
<assetInformation>
<assetKind>Instance</assetKind>
</assetInformation>
<submodels>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>CustomSubmodel</value>
</key>
</keys>
</reference>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>ContactInformation</value>
</key>
</keys>
</reference>
<reference>
<type>ModelReference</type>
<keys>
<key>
<type>Submodel</type>
<value>HandoverDocumentation</value>
</key>
</keys>
</reference>
</submodels>
</assetAdministrationShell>
</assetAdministrationShells>
</environment>
19 changes: 0 additions & 19 deletions source/AAS.TwinEngine.Plugin.TestPlugin/Example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,25 +134,6 @@ services:
networks:
- dataengine-network

shell-template-creator:
image: curlimages/curl:latest
container_name: shell-template-creator
depends_on:
template-repository:
condition: service_healthy
entrypoint: >
sh -c '
echo "Waiting for template-repository to be ready...";
sleep 10;
curl -X POST http://template-repository:8081/shells \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-d "{\"id\": \"https://mm-software.com/aas/aasTemplate\", \"assetInformation\": {\"assetKind\": \"Instance\"}, \"submodels\": [{\"type\": \"ModelReference\", \"keys\": [{\"type\": \"Submodel\", \"value\": \"CustomSubmodel\"}]}, {\"type\": \"ModelReference\", \"keys\": [{\"type\": \"Submodel\", \"value\": \"ContactInformation\"}]}, {\"type\": \"ModelReference\", \"keys\": [{\"type\": \"Submodel\", \"value\": \"HandoverDocumentation\"}]}], \"modelType\": \"AssetAdministrationShell\"}";
echo "Shell creation request sent.";
'
networks:
- dataengine-network

aas-web-ui:
image: eclipsebasyx/aas-gui:SNAPSHOT
container_name: aas-ui
Expand Down
Loading