I have 2 bundles A and B, using Apache ACE I have provisioned these bundle to a target in following steps.
- Provisioned A (having version 1.0.0) to the target
- Provisioned B (having version 1.0.0) to the target
- Provisioned B (having version 2.0.0) to the target (upgrade of previous version step 2)
When I access (http://localhost:8080/deployment/gatewayid/versions)
I get following result
1.0.0
2.0.0
3.0.0
How will the management agent figure out which version belongs to which software?
Every time the set of configured artifacts for a target changes, ACE will create a new version for a target. To actually see what is in a version, the management agent on the target needs to fetch the version. The deployment package you then get contains all the metadata you need (ie. a list of artifacts and their versions).