Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Deployer code improvements #692

@BMurri

Description

@BMurri

Describe the bug
There are multiple inconsistencies in "List" API usages (leading to inconsistent ability for the deployer to find the results it's looking for.
There are also multiple places where deployment cancellation due to failures can stall out, delaying the error reporting as well as permitting more parallel deployment activities to continue.

These two issues are found in both CoA and TES deployers.

Steps to Reproduce
Use an account with access to a lot of subscriptions with a lot of resources already deployed.

Expected behavior
Existing resources are found rather than not found, resulting in either duplicate resource creation (possibly leading to disconnects or failures later in connectivity) or failures in the deployment due to not finding the existing specified resource.

Code dependencies
Will this require code changes in:

  • CoA: yes (deployer code only)
  • TES: yes (deployer, CommonUtilities, TesApi.Web, TesApi.Test)
  • Build pipeline: no
  • Integration tests: no

Additional context
Code was written and is in the TES service that ameliorates the issues with list apis not always returning all the needed data using a consistent pattern that can be checked for and it eliminates having to learn all the different API styles for paged lists in the azure sdks. It should be made available to be used in both repositories (ideally by placing it in the CommonUtilities project).

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions