Added oid validation for azure
Added OID validation for Azure, below scenarios covered with the help of osdu/platform/system/lib/cloud/azure/os-core-lib-azure!340 (merged)
Issue: #166 (closed)
- Group
- Default Service principal Client ID/OID, multiple service principal's in environment
- User
- All validations are behind feature flag and apply to User type of node being added from entitlements.
Common code changes:
- Only integration tests where overriding member to be added was necessary, so stubbed it additional default members inside ConfigurationService class, and tests referring from there, instead of direct hardcoded values
Azure:
- Added other validations for integration tests, uncovered from common scenarios, additional variables introduced:
- AZURE_AD_VALID_OID_USER1
- AZURE_AD_VALID_OID_USER2
- AZURE_AD_NO_DATA_ACCESS_SP_OID
- AZURE_AD_GROUP_OID
Edited by Deepa Kumari