Hi,
I am looking for vCO APIs which can GET me the config related info (such as network, authentication, db, licensing etc) and workflow related info (such as list of all default workflows, user-created workflows, schedules (if any)). Are there any APIs which can get me all this info..? I searched in the documentation and all I can find is how to SET these configurations with the help of workflow IDs. But I couldn't find any APIs to GET this info.
I have also searched the workflows in vCO, but there also I couldn't find them. All the config related workflows listed there are to SET the configurations.
What I am trying to accomplish from the above task is that I am taking a backup of vCO and then I am restoring it. I want to automate the procedure to check the correctness of vCO after restore. So I thought of comparing the config related info and workflow related info before taking backup and after restoring it. I tried the following things, but none of them seems to be trustworthy.
- Config related info
- Export the config (vmoconfig) before taking the backup and after restoring it. Compare the checksum of those files. But the checksum does not match at all. Actually, checksum is not matching even if I take it twice without making any changes to config. May be some timestamp is included inside vmoconfig file. I couldn’t find the differences as it is a binary file.
- I saw few config files under /etc/vco/app-server (e.g. sso.properties, vmo.properties etc). I am not sure if it is ok, if I compare these files. If they are intact, can I safely assume that vCO restore is proper..?
- Workflow related info
- I have created packages before and after the restore and tried to compare the check-sums. Here also I faced the same issue. Though I haven't made any changes to workflows the checksums are different.
So I am sort of puzzled how to accomplish this. Any help on this front..?