This repository contains a GitHub Action for deploying and running the IncQuery AUTOSAR-UML Bridge. The action works by donwloading and installing the IncQuery AUTOSAR-UML Bridge, but only if it's not already present on the runner. Also, the installer is cached, to speed subsequent runs up.
The repository also contains a workflow example demonstrating how to use the action.
Firslty, using the provided action, the workflow executes a transformation on an input AUTOSAR model, adding corresponding elements to the specified Enterprise Architect model. Then, should this result in a change in the Enterprise Architect model, the result is pushed back onto the triggering branch.
This works for both documentation purposes, as well as handover automation between architecture and detailed design. The IncQuery AUTOSAR-UML Bridge creates UML elements for the complete AUTOSAR hierarchy, so that software component and sequence diagrams can be created easily. Its seamless integration with Sparx Systems Enterprise Architect helps to streamline the overall design process.
For more information visit https://incquery.io/autosar-uml-bridge.
In case of GitHub hosted runner:
- windows-2022 (or newer) runner
- Valid license
- Credentials to access the IncQuery AUTOSAR-UML Bridge release
In case of self hosted runner:
- Runner hosted on Windows 10 x64 1803 April 2018 Update or newer
- Valid license
- Credentials to access the IncQuery AUTOSAR-UML Bridge or the Bridge being pre-installed on the runner
The following secrets need to be configured in the repository:
- If the IncQuery AUTOSAR-UML Bridge is not pre-installed on the runner: INCQUERY_USERNAME, INCQUERY_PASSWORD to access the Bridge releases
- INCQUERY_AUTOSAR_UML_INTEGRATION_LICENSE: contents of the license file as-is
- name: Run IncQuery AUTOSAR-UML Bridge
uses: IncQueryLabs/incquery-suite-bridge-autosar-uml-action@v1
with:
arxml_folder_path: example-arxml
ea_model_file_path: counting-logic.qeax
incquery_username: "${{ secrets.INCQUERY_USERNAME }}"
incquery_password: "${{ secrets.INCQUERY_PASSWORD }}"
license: "${{ secrets.INCQUERY_AUTOSAR_UML_INTEGRATION_LICENSE }}"
See AutosarUmlActionExample.yml for an example of a full workflow.
Path to the AUTOSAR model. Can point to a singe ARXML file, or a folder containing multiple ARXML files. This parameter is mandatory.
Path to the Enterprise Architect model file, probably .eapx or .qeax. This parameter is mandatory.
Username and password to artifacts.incquery.io. If the runner does not have the Validator already installed, then these parameters are required.
Contents of the license file as-is. The AutosarUMLIntegration and AutosarUMLIntegrationCI license features are required. This parameter is mandatory.