Upgrade metacat more intelligently by waiting for metacat node capabilities status change.
Description
Upgrade metacat more intelligently by waiting for metacat node capabilities status change.
Read configured version and make sure it's 2.12.3 or above to apply the node capabilities upgrade monitoring method. If it's below 2.12.3, then it will apply a sleep for x time.
Wait incrementally if the upgrade didn't finish, and time out if the upgrade took too more than 5 minutes.
Read current metacat version from the node capabilities end point to properly log it.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[x] Integration tests
[x] Other - add any additional tests here
Checked the DB loading after the upgrade.
Upgrade metacat more intelligently by waiting for metacat node capabilities status change.
Description
Description
Closes ess-dive/ess-dive-project#134
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration