Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object-status #101

Open
rssubham88 opened this issue Apr 23, 2020 · 1 comment
Open

object-status #101

rssubham88 opened this issue Apr 23, 2020 · 1 comment

Comments

@rssubham88
Copy link

Hi,
I want to get the object status from DataPower. I am using object-status ant task but getting the following error:
The Ant property 'object-status.file' is required but not defined. This is the file containing the dcm:definition/dcm:object-state-manifest

Do I need to create any file. If yes what should be the content of that file and where sholud it be placed.
Also can some one give me the ant command which I need to run to get object status of the appliance.

Is it possible to get the object status of all the domains at once?

@samdjones
Copy link
Contributor

samdjones commented May 1, 2020

There is an example manifest in the src repo: https://github.com/ibm-datapower/datapower-configuration-manager/blob/master/tests-deploy.ant/object-status.dcm.xml

The purpose of the task is usually to determine if certain objects are in the "up" state post-deploy. Normally you would just need to know if an MPG or two is up since all their child objects must be up for that to happen.

As with all DCM tasks, it only works on one domain per-call, so you would need to make multiple calls if you need to check multiple domains.

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

No branches or pull requests

2 participants