FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
07-22-2024 11:14 AM
Hello Container Engine app team,
We are trying to add an dependency to our Locator snap app to check if the "ctrlX Container Engine" is already installed on the target system before hand.
We have checked and observed that this feature is already implemted in the "ctrlX Container Engine" app as below:
Could you help to elaborate further how this feature is implemented in your app so that we are able to bring this feature to our app also?
Thank you all for your help.
Solved! Go to Solution.
07-22-2024 04:36 PM - edited 07-22-2024 04:38 PM
Hello @stvihuynh ,
Dependency checking can be added by including the required snaps in the dependencies field of the package manifest. I am requesting some documentation on this functionality be included in the Github documentation.
Example from Node-RED.
"dependencies": {
"dependsOn": {
"rexroth-automationcore": "^2.6.0",
"rexroth-deviceadmin": "^2.6.0",
"rexroth-solutions": "^2.6.0"
}
},
07-22-2024 05:02 PM
Thank you for your sharing.
Let us check and confirm later whether this solution is appicable in our use case.
07-22-2024 05:10 PM
Just want to add that the json-schema of the package-manifest (with the entry "dependencies") and a little example can be found on GitHub: