-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Description
For our ScenarioTest.ResourceManager project, we use a couple of ps1 files that are used by module scenario tests, AzureRM.Resources.ps1 and AzureRM.Storage.ps1. These files contain functions that are similar to actual cmdlets from the respective modules. However, these functions only use the SDK calls directly. This allows the scenario tests that rely on this common functionality to use the same version of our SDKs and not rely on changes from the modules or other SDK versions.
However, for AzureRM.Storage.ps1, it currently is using an SDK version. You can see that here. In comparison, the AzureRM.Resources.ps1 is using the internal Resources SDK. We should change AzureRM.Storage.ps1 to use our internal SDK version.
- Update references to
Microsoft.Azure.Management.Storagewith our internal namespace - Test changes in module scenario tests to verify that these changes work appropriately
- Rerecording may be necessary, but likely should not be. I believe the version of Management.Storage we use is the same API version as our internal one, but I could be wrong.
- Publish the Common package with the updated ps1 and make a PR into this repo to change the package version numbers