From f122eb540f8e1981e53d43787ee06856300456c5 Mon Sep 17 00:00:00 2001 From: Tom Tankilevitch <59158507+Tankilevitch@users.noreply.github.com> Date: Wed, 10 Apr 2024 23:19:19 +0300 Subject: [PATCH] [Integration][Azure] Fix blueprint identifiers and relation mappings (#497) --- integrations/azure/.port/resources/blueprints.json | 6 +++--- integrations/azure/.port/resources/port-app-config.yaml | 6 +++--- integrations/azure/CHANGELOG.md | 7 +++++++ integrations/azure/pyproject.toml | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/integrations/azure/.port/resources/blueprints.json b/integrations/azure/.port/resources/blueprints.json index 15c791751a..dca5dcd356 100644 --- a/integrations/azure/.port/resources/blueprints.json +++ b/integrations/azure/.port/resources/blueprints.json @@ -1,6 +1,6 @@ [ { - "identifier": "azure_subscription", + "identifier": "azureSubscription", "title": "Azure Subscription", "icon": "Azure", "schema": { @@ -46,7 +46,7 @@ } }, { - "identifier": "cloud_resource", + "identifier": "azureCloudResource", "title": "Cloud Resource", "icon": "Azure", "schema": { @@ -75,7 +75,7 @@ "relations": { "resource_group": { "title": "Resource Group", - "target": "resource_group", + "target": "azureResourceGroup", "required": false, "many": false } diff --git a/integrations/azure/.port/resources/port-app-config.yaml b/integrations/azure/.port/resources/port-app-config.yaml index 70b75270dc..ba65922be2 100644 --- a/integrations/azure/.port/resources/port-app-config.yaml +++ b/integrations/azure/.port/resources/port-app-config.yaml @@ -8,7 +8,7 @@ resources: mappings: identifier: .id title: .display_name - blueprint: '"azure_subscription"' + blueprint: '"azureSubscription"' properties: {} - kind: Microsoft.Resources/resourceGroups selector: @@ -21,7 +21,7 @@ resources: .id | split("/") | .[3] |= ascii_downcase |.[4] |= ascii_downcase | join("/") title: .name - blueprint: '"resource_group"' + blueprint: '"azureResourceGroup"' properties: location: .location provisioningState: .properties.provisioningState + .properties.provisioning_state @@ -46,7 +46,7 @@ resources: .id | split("/") | .[3] |= ascii_downcase |.[4] |= ascii_downcase | join("/") title: .name - blueprint: '"cloud_resource"' + blueprint: '"azureCloudResource"' properties: location: .location type: .type diff --git a/integrations/azure/CHANGELOG.md b/integrations/azure/CHANGELOG.md index 91fa45b2d7..970f93d348 100644 --- a/integrations/azure/CHANGELOG.md +++ b/integrations/azure/CHANGELOG.md @@ -1,3 +1,10 @@ +0.1.41 (2024-04-10) + +### Bug Fixes + +- Fixed blueprints identifiers names and adjusted relations between blueprints + + 0.1.40 (2024-04-10) ### Improvements diff --git a/integrations/azure/pyproject.toml b/integrations/azure/pyproject.toml index dffa962798..e252ab4858 100644 --- a/integrations/azure/pyproject.toml +++ b/integrations/azure/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "azure" -version = "0.1.40" +version = "0.1.41" description = "Azure integration" authors = ["Tom Tankilevitch "]