Skip to content

Added oid validation for azure

Deepa Kumari requested to merge az/dk-add-oid-validation into master

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)

  1. Group
  2. Default Service principal Client ID/OID, multiple service principal's in environment
  3. User
  4. All validations are behind feature flag and apply to User type of node being added from entitlements.

Common code changes:

  1. 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:

  1. 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

Merge request reports