Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Readme.md

Eclipse BaSyx - Standalone Submodel Service Example

This project is a blueprint on how to build a standalone submodel component and provide it as a Docker Image.

Content

  • ExampleSubmodelFactory: Creates a submodel with Id Example and two SubmodelElements:
    • Property test with value 123
    • Operation square that takes a property and squares its value
  • ExampleSubmodelConfiguration: Contains the spring setup
  • ExampleSubmodelComponent: Starts the ExampleSubmodelComponent

Building as Docker Image

The standalone submodel can be build as docker image via:

mvn clean install -Ddocker.namespace=yournamespace

For image name configuration, see the docker.image.name property in pom.xml.

After successful installation, the container can be access on http://localhost:8081/submodel after being started via:

docker run -p 8081:8081 testnamespace/standalone_submodel_example:2.0.0-SNAPSHOT