Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support for Submodel Services with Configurable Docker Image #445

Open
geso02 opened this issue Sep 11, 2024 · 0 comments · May be fixed by #446
Open

[FEATURE] Support for Submodel Services with Configurable Docker Image #445

geso02 opened this issue Sep 11, 2024 · 0 comments · May be fixed by #446
Assignees
Labels
enhancement New feature or request

Comments

@geso02
Copy link
Contributor

geso02 commented Sep 11, 2024

Creating submodel services can be quite cumbersome, as it requires building a Spring Boot application and creating a Docker script each time.

It would be beneficial to have a pre-configured Docker image that can be customized or extended. I propose developing an approach where Java classes can be mapped to an operation. A method of the Java object would then be called upon an HTTP-POST to the operation's invoke URL.

The Java classes do not need to be built against the basys-server-sdk and can be provided either as source code (which will be compiled within the service) or as .class or .jar files.

This approach would allow for quick testing and setup of submodel services. Additionally, deploying a custom service through the Docker registry would be straightforward by using the created image as a base image and copying the necessary classes and configurations into the image.

The pull request initially includes only an in-memory variant, which can then be extended with MongoDB persistence, authorization and a registry-integration-feature.

@geso02 geso02 added the enhancement New feature or request label Sep 11, 2024
geso02 added a commit to geso02/basyx-java-server-sdk that referenced this issue Sep 11, 2024
@geso02 geso02 linked a pull request Sep 11, 2024 that will close this issue
geso02 added a commit to geso02/basyx-java-server-sdk that referenced this issue Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In review
Development

Successfully merging a pull request may close this issue.

1 participant