Skip to content

Removed the shell-template-creator service from the example and added a shell template XML file#90

Merged
mm-hsh merged 4 commits intodevelopfrom
feature/Update-Example
Apr 2, 2026
Merged

Removed the shell-template-creator service from the example and added a shell template XML file#90
mm-hsh merged 4 commits intodevelopfrom
feature/Update-Example

Conversation

@mm-hsh
Copy link
Copy Markdown
Contributor

@mm-hsh mm-hsh commented Apr 1, 2026

Summary
This PR simplifies the example configuration by removing the unnecessary shell-template-creator service and introducing an XML-based shell template instead.

What Changed

  • Removed the shell-template-creator service from the example setup
  • Added an .xml file to define the shell template
  • Updated the example to use the XML-based shell template configuration

Why This Change

Reduces complexity by eliminating an extra service
Encourages a more declarative and maintainable shell template definition
Aligns the example with the recommended configuration approach

Impact

No functional impact on runtime behavior
Example setup is easier to understand and maintain

Revised ShellTemplate.xml with new submodels. Removed shell-template-creator service from docker-compose.yml, so AAS template is no longer auto-created at startup. Updated aas-template-registry image version and adjusted network references. Minor formatting improvements.
Copilot AI review requested due to automatic review settings April 1, 2026 08:50
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the Docker Compose–based example setups by removing the runtime “shell-template-creator” container and instead providing the shell template declaratively as an AAS environment XML file that the template repository can load from the mounted ./aas folder.

Changes:

  • Removed the shell-template-creator service from both example compose files.
  • Added ShellTemplate.xml AAS environment files for both example setups to define the shell template declaratively.
  • Minor compose-file formatting adjustments.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
source/AAS.TwinEngine.Plugin.TestPlugin/Example/docker-compose.yml Removes the curl-based shell template creation service from the test-plugin example compose stack.
source/AAS.TwinEngine.Plugin.TestPlugin/Example/aas/ShellTemplate.xml Adds an XML-defined shell template for the test-plugin example.
example/docker-compose.yml Removes the curl-based shell template creation service from the main example compose stack (plus minor formatting).
example/aas/ShellTemplate.xml Adds an XML-defined shell template for the main example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mm-hsh and others added 2 commits April 1, 2026 14:24
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Test & Coverage Report

Test Results Summary

Metric Count
✅ Passed 1021
❌ Failed 0
⏭️ Skipped 0

View Detailed Test Results


Code Coverage

Unit Tests Coverage

Package Line Rate Branch Rate Complexity Health
AAS.TwinEngine.DataEngine 91% 83% 1505
Summary 91% (2560 / 2810) 83% (1075 / 1295) 1505

Minimum allowed line rate is 80%

Module Tests Coverage

Package Line Rate Branch Rate Complexity Health
AAS.TwinEngine.DataEngine 56% 42% 1505
Summary 56% (1563 / 2810) 42% (540 / 1295) 1505

@mm-hsh mm-hsh requested review from mm-asha and mm-mcn April 1, 2026 09:11
@mm-hsh mm-hsh merged commit 3b736da into develop Apr 2, 2026
10 checks passed
@mm-hsh mm-hsh deleted the feature/Update-Example branch April 2, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants