Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure] Deprecate non-generic steps managing Azure resources #3166

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/modules/plugins/pages/plugin-azure-event-grid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ include::partial$azure-profile-and-subscription.adoc[leveloffset=+1]

==== Collect system topics info

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
ikalinin1 marked this conversation as resolved.
Show resolved Hide resolved
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.EventGrid/systemTopics` using API version `2021-12-01` and save it to <scopes> variable `<variableName>`
----
====

Collects system topics info in the specified resource group and saves it as
JSON to a variable. For more information, see the
https://docs.microsoft.com/en-us/rest/api/eventgrid/controlplane-version2021-12-01/system-topics/get[Azure Docs].
Expand Down
11 changes: 11 additions & 0 deletions docs/modules/plugins/pages/plugin-azure-key-vault.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ include::partial$azure-profile-and-subscription.adoc[leveloffset=+1]

==== Retrieve the Key Vault properties

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.KeyVault/vaults/<keyVaultName>` using API version `2021-10-01` and save it to <scopes> variable `<variableName>`
----
====

Retrieves the properties of the specified Azure key vault and saves them as JSON
to a variable. For more information, see the
https://docs.microsoft.com/en-us/rest/api/keyvault/keyvault/vaults/get[Azure Docs].
Expand Down
33 changes: 33 additions & 0 deletions docs/modules/plugins/pages/plugin-azure-sql-db.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ include::partial$azure-profile-and-subscription.adoc[leveloffset=+1]

==== Collect SQL Servers info

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers` using API version `2021-08-01-preview` and save it to <scopes> variable `<variableName>`
----
====

Collects the info about all the SQL Servers under the specified resource group
and saves it as JSON to a variable. For more information, see the
https://docs.microsoft.com/en-us/rest/api/sql/2021-08-01-preview/servers/list-by-resource-group[Azure Docs].
Expand All @@ -45,6 +56,17 @@ When I collect SQL Servers from resource group `TEST-SQL` and save them as JSON

==== Collect SQL Databases info

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers/<sqlServerName>/databases` using API version `2021-08-01-preview` and save it to <scopes> variable `<variableName>`
----
====

Collects the info about all the databases belonging to the identified SQL Server
under the specified resource group and saves it as JSON to a variable. For more
information, see the
Expand All @@ -68,6 +90,17 @@ When I collect databases from SQL Server `geography-server` from resource group

==== Retrieve the SQL Database properties

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers/<sqlServerName>/databases/<databaseName>` using API version `2021-08-01-preview` and save it to <scopes> variable `<variableName>`
----
====

Retrieves the properties of the specified SQL Database belonging to the
identified SQL Server and saves them as JSON to a variable. For more
information, see the
Expand Down
22 changes: 22 additions & 0 deletions docs/modules/plugins/pages/plugin-azure-storage-account.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,17 @@ include::partial$azure-profile-and-subscription.adoc[leveloffset=+1]

==== Collect storage accounts info

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts` using API version `2021-08-01` and save it to <scopes> variable `<variableName>`
----
====

Collects storage accounts info in the specified resource group and saves it as
JSON to a variable. For more information, see the
https://docs.microsoft.com/en-us/rest/api/storagerp/storage-accounts/list[Azure Docs].
Expand Down Expand Up @@ -413,6 +424,17 @@ When I collect storage accounts in resource group `TEST-SA` and save them as JSO

==== Retrieve the blob service properties

[WARNING]
====
The step is deprecated and will be removed in VIVIDUS 0.6.0. The replacement is
xref:plugins:plugin-azure-resource-manager.adoc#_get_information_about_azure_resource[the generic step retrieving information about Azure resources].
The replacement pattern is:
[source,gherkin]
----
When I get Azure resource with identifier `resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName>/blobServices/default` using API version `2021-08-01` and save it to <scopes> variable `<variableName>`
----
====

Retrieves the properties of a storage account’s Blob service, including
properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules,
and saves them as JSON to a variable. For more information, see the
Expand Down
2 changes: 0 additions & 2 deletions vividus-extension-azure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ project.description = 'Vividus extension for Azure Cloud'
dependencies {
api platform(group: 'com.azure', name: 'azure-sdk-bom', version: '1.2.5')
api(group: 'com.azure', name: 'azure-identity')
implementation project(':vividus-engine')
implementation project(':vividus-soft-assert')

testImplementation platform(group: 'org.junit', name: 'junit-bom', version: '5.9.0')
testImplementation(group: 'org.junit.jupiter', name: 'junit-jupiter')
Expand Down

This file was deleted.

This file was deleted.

Loading