From 13f0622080d7fd2a9633b7bf5b1e2664a12b926a Mon Sep 17 00:00:00 2001 From: Luca Consalvi Date: Mon, 4 Nov 2024 11:51:24 +0100 Subject: [PATCH] delete activation dir and move files into pagopa dir --- src/rtp/02_api_activation.tf | 4 ++-- src/rtp/api/activation/openapi.yaml | 1 - src/rtp/api/{activation => pagopa}/activation_policy.xml | 0 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 src/rtp/api/activation/openapi.yaml rename src/rtp/api/{activation => pagopa}/activation_policy.xml (100%) diff --git a/src/rtp/02_api_activation.tf b/src/rtp/02_api_activation.tf index 345e33a..dfc7c36 100644 --- a/src/rtp/02_api_activation.tf +++ b/src/rtp/02_api_activation.tf @@ -28,7 +28,7 @@ resource "azurerm_api_management_api" "rtp_activation_api" { import { content_format = "openapi" - content_value = templatefile("./api/activation/openapi.yaml", {}) + content_value = templatefile("./api/pagopa/activation.yaml", {}) } } @@ -47,7 +47,7 @@ resource "azurerm_api_management_api_operation_policy" "rtp_activate_policy" { resource_group_name = data.azurerm_api_management.this.resource_group_name operation_id = "activate" - xml_content = templatefile("./api/activation/activation_policy.xml", { + xml_content = templatefile("./api/pagopa/activation_policy.xml", { base_url : "${local.rtp_base_url}/${azurerm_api_management_api.rtp_activation_api.path}/${azurerm_api_management_api.rtp_activation_api.version}/rtps" }) } diff --git a/src/rtp/api/activation/openapi.yaml b/src/rtp/api/activation/openapi.yaml deleted file mode 100644 index b3a4252..0000000 --- a/src/rtp/api/activation/openapi.yaml +++ /dev/null @@ -1 +0,0 @@ -placeholder \ No newline at end of file diff --git a/src/rtp/api/activation/activation_policy.xml b/src/rtp/api/pagopa/activation_policy.xml similarity index 100% rename from src/rtp/api/activation/activation_policy.xml rename to src/rtp/api/pagopa/activation_policy.xml