ADR: Adapt Admin UI for supporting by other CSPs: step 1
- We propose to add a CSP specific build process. In this case we can add a new set of CSP specific dependencies in package.json (azureDependencies, gcDependencies, etc)
- The next step can be in updating angular.json with adding new configurations to the existing ones or replacing them (development, production can be replaced with azureProduction, azureDevelopemnt, gcDevelopment, etc.)
- Add new folders src/providers/gc, src/providers/azure, etc with cloud specific code. The structure of the folders will correspond the structure of src/app. The intent is to combine src/providers/azure into src/app at the build phase.
The expected result:
- the common code will be cloud agnostic,
- the csp specific code will be independent from other csp specific codes.