Last Commit Info
EDC-Connector Extension:
Last Commit Info
About this Extension
It adds an endpoint /last-commit-info
on the Management API which returns the commit information of the last commit of built EDC Connector. Example:
Why does this extension exist?
Building EDC Connectors requires one to build one's own EDC Connector and EDC Connector Images.
We need a way to find out the version of running EDC Connector instances.
We found that finding the last commit of the EDC Connector Image was the most accurate way we could judge the running EDC Connector instance.
Since our EDC Images use our EDC Extensions from this repository we also embed a second "jar last commit info" during build time of the edc-ce, which represent all other EDC Extensions of this repository, since they will always be used with the same version.
Configuration
Connector Version
The ENV var EDC_LAST_COMMIT_INFO
should be set in the Dockerfile via build args.
JAR Version
The contents of the file src/main/resources/jar-last-commit-info.txt
will be adjusted by the repository's GitHub pipeline to reflect the last commit info.
License
Apache License 2.0 - see LICENSE
Contact
sovity GmbH - contact@sovity.de
Last updated