From 37042c6bbe09ba18473298fc7e4e776937b6204a Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Wed, 12 Jul 2023 14:49:49 +0200 Subject: [PATCH 1/7] fix: wrong error message in update of directory resource (#286) --- internal/provider/resource_directory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/resource_directory.go b/internal/provider/resource_directory.go index ce5d584f..b993a8d8 100644 --- a/internal/provider/resource_directory.go +++ b/internal/provider/resource_directory.go @@ -307,7 +307,7 @@ func (rs *directoryResource) Update(ctx context.Context, req resource.UpdateRequ updatedRes, err := createStateConf.WaitForStateContext(ctx) if err != nil { - resp.Diagnostics.AddError("API Error Creating Resource Directory", fmt.Sprintf("%s", err)) + resp.Diagnostics.AddError("API Error Updating Resource Directory", fmt.Sprintf("%s", err)) } plan, diags = directoryValueFrom(ctx, updatedRes.(cis.DirectoryResponseObject)) From 00fed858305e0d3cbfa336ec4bd9888fe77abddd Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Wed, 12 Jul 2023 16:43:08 +0200 Subject: [PATCH 2/7] fix: reprioritized FIXME comments (#287) --- internal/btpcli/facade_accounts_subscription.go | 2 +- internal/btpcli/types/xsuaa_authz/model_user_reference.go | 2 +- internal/tfutils/tfutils.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/btpcli/facade_accounts_subscription.go b/internal/btpcli/facade_accounts_subscription.go index b427e219..8657718d 100644 --- a/internal/btpcli/facade_accounts_subscription.go +++ b/internal/btpcli/facade_accounts_subscription.go @@ -19,7 +19,7 @@ func (f *accountsSubscriptionFacade) getCommand() string { } func (f *accountsSubscriptionFacade) List(ctx context.Context, subaccountId string) ([]saas_manager_service.EntitledApplicationsResponseObject, CommandResponse, error) { - type wrapper struct { // FIXME should be in types package + type wrapper struct { // TODO should be in types package Applications []saas_manager_service.EntitledApplicationsResponseObject `json:"applications"` } diff --git a/internal/btpcli/types/xsuaa_authz/model_user_reference.go b/internal/btpcli/types/xsuaa_authz/model_user_reference.go index 0e620472..e9bd8162 100644 --- a/internal/btpcli/types/xsuaa_authz/model_user_reference.go +++ b/internal/btpcli/types/xsuaa_authz/model_user_reference.go @@ -17,7 +17,7 @@ type UserReference struct { FamilyName string `json:"familyName,omitempty"` Origin string `json:"origin,omitempty"` - // FIXME additional fields not mentioned in the swagger file + // TODO additional fields not mentioned in the swagger file Verified bool `json:"verified,omitempty"` LegacyVerificationBehavior bool `json:"legacyVerificationBehavior,omitempty"` PasswordChangeRequired bool `json:"passwordChangeRequired,omitempty"` diff --git a/internal/tfutils/tfutils.go b/internal/tfutils/tfutils.go index 6d50ac5c..be5e38e4 100644 --- a/internal/tfutils/tfutils.go +++ b/internal/tfutils/tfutils.go @@ -96,7 +96,7 @@ func ToBTPCLIParamsMap(a any) (map[string]string, error) { } value = field.Elem().Interface().(string) - case "map[string][]string": // FIXME would be nice to have `enodethisasjson` tag, instead of an explicit typemapping + case "map[string][]string": // TODO would be nice to have `encodethisasjson` tag, instead of an explicit type mapping if field.IsNil() { continue From cc79927cd5c2fe4e40b5547100c29c8f803e586e Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Thu, 13 Jul 2023 18:14:06 +0200 Subject: [PATCH 3/7] chore: adjustment of sonar cloud setting (#290) --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 488d2b4a..8b0a7ccf 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -4,7 +4,7 @@ sonar.projectName=terraform-provider-btp sonar.language=go sonar.sources=. sonar.inclusions=**/*.go -sonar.exclusions=**/*_test.go,test/**,**/zz-generated* +sonar.exclusions=**/*_test.go,test/**,**/zz-generated*,**/type_*.go,**/main.go sonar.tests=, sonar.test.inclusions=**/*_test.go sonar.test.exclusions=**/vendor/** From 23b00bbe0fb4d28dc997bf612da94096535010aa Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Thu, 13 Jul 2023 18:15:50 +0200 Subject: [PATCH 4/7] fix: retest FIXME issues in tests (#289) --- .../datasource_directory_users_test.go | 33 +- ...urce_globalaccount_role_collection_test.go | 15 +- ..._globalaccount_trust_configuration_test.go | 18 +- ...rce_subaccount_trust_configuration_test.go | 18 +- ...urce_directory_users.non_existing_idp.yaml | 26 +- ...lection.role_collection_not_available.yaml | 604 +----------- ...configuration.custom_idp_not_existing.yaml | 596 +----------- ...configuration.custom_idp_not_existing.yaml | 912 +----------------- 8 files changed, 94 insertions(+), 2128 deletions(-) diff --git a/internal/provider/datasource_directory_users_test.go b/internal/provider/datasource_directory_users_test.go index bb97f62e..556aa4e1 100644 --- a/internal/provider/datasource_directory_users_test.go +++ b/internal/provider/datasource_directory_users_test.go @@ -49,26 +49,21 @@ func TestDataSourceDirectoryUsers(t *testing.T) { }, }) }) - // FIXME ends in unmarshal error - /* - t.Run("error path - non existing idp", func(t *testing.T) { - rec := setupVCR(t, "fixtures/datasource_directory_users.non_existing_idp") - defer stopQuietly(rec) + t.Run("error path - non existing idp", func(t *testing.T) { + rec := setupVCR(t, "fixtures/datasource_directory_users.non_existing_idp") + defer stopQuietly(rec) - resource.Test(t, resource.TestCase{ - IsUnitTest: true, - ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), - Steps: []resource.TestStep{ - { - Config: hclProvider() + hclDatasourceDirectoryUsersWithCustomIdp("uut", "05368777-4934-41e8-9f3c-6ec5f4d564b9", "this-doesnt-exist"), - Check: resource.ComposeAggregateTestCheckFunc( - resource.TestCheckResourceAttr("data.btp_directory_users.uut", "directory_id", "05368777-4934-41e8-9f3c-6ec5f4d564b9"), - resource.TestCheckResourceAttr("data.btp_directory_users.uut", "values.#", "2"), - ), - }, - }, - }) - })*/ + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceDirectoryUsersWithCustomIdp("uut", "05368777-4934-41e8-9f3c-6ec5f4d564b9", "this-doesnt-exist"), + ExpectError: regexp.MustCompile(`API Error Reading Resource Users \(Directory\)`), + }, + }, + }) + }) t.Run("error path - directory_id mandatory", func(t *testing.T) { resource.Test(t, resource.TestCase{ IsUnitTest: true, diff --git a/internal/provider/datasource_globalaccount_role_collection_test.go b/internal/provider/datasource_globalaccount_role_collection_test.go index aeebde25..a4a87de3 100644 --- a/internal/provider/datasource_globalaccount_role_collection_test.go +++ b/internal/provider/datasource_globalaccount_role_collection_test.go @@ -32,8 +32,8 @@ func TestDataSourceGlobalaccountRoleCollection(t *testing.T) { }, }) }) - // FIXME https://github.com/SAP/terraform-provider-btp/issues/160 - /*t.Run("happy path - role collection not available", func(t *testing.T) { + + t.Run("error path - role collection not available", func(t *testing.T) { rec := setupVCR(t, "fixtures/datasource_globalaccount_role_collection.role_collection_not_available") defer stopQuietly(rec) @@ -42,16 +42,13 @@ func TestDataSourceGlobalaccountRoleCollection(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclDatasourceGlobalaccountRoleCollection("uut", "fuh"), - Check: resource.ComposeAggregateTestCheckFunc( - resource.TestCheckResourceAttr("data.btp_globalaccount_role_collection.uut", "description", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_role_collection.uut", "read_only", "false"), - resource.TestCheckResourceAttr("data.btp_globalaccount_role_collection.uut", "roles.#", "0"), - ), + Config: hclProvider() + hclDatasourceGlobalaccountRoleCollection("uut", "fuh"), + ExpectError: regexp.MustCompile(`API Error Reading Resource Role Collection \(Global Account\)`), }, }, }) - })*/ + }) + t.Run("error path - name must not be empty", func(t *testing.T) { resource.Test(t, resource.TestCase{ IsUnitTest: true, diff --git a/internal/provider/datasource_globalaccount_trust_configuration_test.go b/internal/provider/datasource_globalaccount_trust_configuration_test.go index 7b43d299..85551255 100644 --- a/internal/provider/datasource_globalaccount_trust_configuration_test.go +++ b/internal/provider/datasource_globalaccount_trust_configuration_test.go @@ -61,8 +61,7 @@ func TestDataSourceGlobalaccountTrustConfiguration(t *testing.T) { }, }) }) - // FIXME https://github.com/SAP/terraform-provider-btp/issues/167 - /*t.Run("happy path - custom idp - not existing", func(t *testing.T) { + t.Run("error path - custom idp - not existing", func(t *testing.T) { rec := setupVCR(t, "fixtures/datasource_globalaccount_trust_configuration.custom_idp_not_existing") defer stopQuietly(rec) @@ -71,21 +70,12 @@ func TestDataSourceGlobalaccountTrustConfiguration(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclDatasourceGlobalaccountTrustConfiguration("uut", "fuh"), - Check: resource.ComposeAggregateTestCheckFunc( - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "id", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "description", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "identity_provider", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "name", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "protocol", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "read_only", "false"), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "status", ""), - resource.TestCheckResourceAttr("data.btp_globalaccount_trust_configuration.uut", "type", ""), - ), + Config: hclProvider() + hclDatasourceGlobalaccountTrustConfiguration("uut", "fuh"), + ExpectError: regexp.MustCompile(`API Error Reading Resource Trust Configuration \(Global Account\)`), }, }, }) - })*/ + }) t.Run("error path - origin must not be empty", func(t *testing.T) { resource.Test(t, resource.TestCase{ IsUnitTest: true, diff --git a/internal/provider/datasource_subaccount_trust_configuration_test.go b/internal/provider/datasource_subaccount_trust_configuration_test.go index 4ed8697d..ea3dfc07 100644 --- a/internal/provider/datasource_subaccount_trust_configuration_test.go +++ b/internal/provider/datasource_subaccount_trust_configuration_test.go @@ -61,8 +61,7 @@ func TestDataSourceSubaccountTrustConfiguration(t *testing.T) { }, }) }) - // FIXME https://github.com/SAP/terraform-provider-btp/issues/167 - /*t.Run("happy path", func(t *testing.T) { + t.Run("error path - custom idp not existing", func(t *testing.T) { rec := setupVCR(t, "fixtures/datasource_subaccount_trust_configuration.custom_idp_not_existing") defer stopQuietly(rec) @@ -71,21 +70,12 @@ func TestDataSourceSubaccountTrustConfiguration(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclDatasourceSubaccountTrustConfiguration("uut", "ef23ace8-6ade-4d78-9c1f-8df729548bbf", "fuh"), - Check: resource.ComposeAggregateTestCheckFunc( - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "id", ""), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "description", ""), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "identity_provider", ""), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "name", ""), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "protocol", ""), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "read_only", "false"), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "status", ""), - resource.TestCheckResourceAttr("data.btp_subaccount_trust_configuration.uut", "type", ""), - ), + Config: hclProvider() + hclDatasourceSubaccountTrustConfiguration("uut", "ef23ace8-6ade-4d78-9c1f-8df729548bbf", "fuh"), + ExpectError: regexp.MustCompile(`API Error Reading Resource Trust Configuration \(Subaccount\)`), }, }, }) - })*/ + }) t.Run("error path - origin must not be empty", func(t *testing.T) { resource.Test(t, resource.TestCase{ IsUnitTest: true, diff --git a/internal/provider/fixtures/datasource_directory_users.non_existing_idp.yaml b/internal/provider/fixtures/datasource_directory_users.non_existing_idp.yaml index 6f4cbda4..7380ca73 100644 --- a/internal/provider/fixtures/datasource_directory_users.non_existing_idp.yaml +++ b/internal/provider/fixtures/datasource_directory_users.non_existing_idp.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 115 + content_length: 118 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.3.9 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 2d18dfc7-4fe3-7f3c-465f-9f3fcb2e34f2 + - 55499ef8-d702-331d-5070-96a6191987ac X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 143 + content_length: 149 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "143" + - "149" Content-Type: - application/json Date: - - Thu, 15 Jun 2023 10:08:19 GMT + - Wed, 12 Jul 2023 13:13:25 GMT Expires: - "0" Pragma: @@ -57,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 14a9c909-5b96-47ec-6e0f-0a107f1473d8 + - 5b391618-243c-4b96-6a8f-f96b7c10c6f7 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 966.583683ms + duration: 759.7271ms - id: 1 request: proto: HTTP/1.1 @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.3.9 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 743f177f-60bc-1c0e-721c-8b3b4549bab3 + - 921d6ebb-acf0-4774-5ac9-5c6a76b06ef9 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -109,7 +109,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 15 Jun 2023 10:08:21 GMT + - Wed, 12 Jul 2023 13:13:26 GMT Expires: - "0" Pragma: @@ -131,9 +131,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a713b570-dd5e-421c-634d-1c554cd89ecd + - 0e706860-07c7-45a5-49b2-61ee135de91a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 652.213329ms + duration: 444.1048ms diff --git a/internal/provider/fixtures/datasource_globalaccount_role_collection.role_collection_not_available.yaml b/internal/provider/fixtures/datasource_globalaccount_role_collection.role_collection_not_available.yaml index 4ab326c7..05a7f77b 100644 --- a/internal/provider/fixtures/datasource_globalaccount_role_collection.role_collection_not_available.yaml +++ b/internal/provider/fixtures/datasource_globalaccount_role_collection.role_collection_not_available.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 113 + content_length: 118 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -18,8 +18,10 @@ interactions: headers: Content-Type: - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - b488cb1e-aa7a-0ccd-58d3-a28dfa71cd44 + - d6df8181-0331-4956-233e-08599cdacdfc X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -30,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 139 + content_length: 149 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "139" + - "149" Content-Type: - application/json Date: - - Thu, 01 Jun 2023 15:06:05 GMT + - Wed, 12 Jul 2023 13:02:30 GMT Expires: - "0" Pragma: @@ -55,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - cac1f34f-3d28-4115-48fa-495cfadd177b + - 8ea539b6-24b1-4b99-7abb-91bf4d27414b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 546.507424ms + duration: 721.9811ms - id: 1 request: proto: HTTP/1.1 @@ -78,8 +80,10 @@ interactions: headers: Content-Type: - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - cf7b3ae4-02c8-eb9b-23cb-bcb280b72700 + - 78caadfb-71a0-67be-5762-33b490061685 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -105,7 +109,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Jun 2023 15:06:05 GMT + - Wed, 12 Jul 2023 13:02:31 GMT Expires: - "0" Pragma: @@ -120,594 +124,16 @@ interactions: - application/json X-Cpcli-Backend-Status: - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 7cfabfb7-dc33-48b8-504f-65e96258b1c2 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 170.393425ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 70936472-676e-fa20-b4ed-5fbd8e29acc4 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:06 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - b8fd1d51-5ea8-49bd-7760-3eeed316b0b0 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 554.644909ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 82 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 216a09a6-ed85-c562-96f5-9d1df2c4de46 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"error":"No entity found with values = [[03760ecf-9d89-4189-a92a-1c7efed09298, fuh, 03760ecf-9d89-4189-a92a-1c7efed09298]]"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:07 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Mediatype: - - application/json - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 6437ec54-9991-437a-5d94-7d818a94504c - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 215.337366ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - d5ac2eb8-2ef7-d494-35ee-a0fa6bf2c25c - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:08 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 8afdb4ca-1473-4db3-6e58-4892d17f589e - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 519.010067ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 82 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 566459a5-d2fe-f753-ab4a-c0ff99bf57db - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"error":"No entity found with values = [[03760ecf-9d89-4189-a92a-1c7efed09298, fuh, 03760ecf-9d89-4189-a92a-1c7efed09298]]"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:09 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Mediatype: - - application/json - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 042e577a-b415-43c3-6060-3964e1bcb9a2 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 159.637487ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 893cd9cf-530c-9327-6e78-96268317ecd5 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:10 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 02b81e11-444b-4cce-4e73-d7f0c9e7a0be - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 431.254826ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 82 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 2dd75a21-5b61-208f-ddb3-ce7a43e181aa - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"error":"No entity found with values = [[03760ecf-9d89-4189-a92a-1c7efed09298, fuh, 03760ecf-9d89-4189-a92a-1c7efed09298]]"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:10 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Mediatype: - - application/json - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 028f2ef4-09f4-4dfc-4efd-12fd076aa7ba - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 171.407962ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - bd548ce5-fc9f-1a4f-2449-316b040891ac - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:11 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 3a8db265-a971-49e1-4582-55c7bff6e8b9 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 468.45719ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 82 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - b8171e62-6692-0165-13e0-891925146600 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json X-Cpcli-Refreshtoken: - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"error":"No entity found with values = [[03760ecf-9d89-4189-a92a-1c7efed09298, fuh, 03760ecf-9d89-4189-a92a-1c7efed09298]]"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:12 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Mediatype: - - application/json - X-Cpcli-Backend-Status: - - "404" X-Cpcli-Replacementrefreshtoken: - redacted X-Frame-Options: - DENY X-Vcap-Request-Id: - - 7bddd6a2-7832-4e18-7354-d6fb8178e556 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 170.067777ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - a91945ee-dfd4-41e5-f4f5-52d9b812ac40 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:06:13 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 34a22c2c-fb3a-4a07-5088-d7a4e7a53508 + - a134570a-035e-4b41-53b0-c1a1a85b23ac X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 412.109612ms + duration: 290.3803ms diff --git a/internal/provider/fixtures/datasource_globalaccount_trust_configuration.custom_idp_not_existing.yaml b/internal/provider/fixtures/datasource_globalaccount_trust_configuration.custom_idp_not_existing.yaml index eb3ec15f..30be6998 100644 --- a/internal/provider/fixtures/datasource_globalaccount_trust_configuration.custom_idp_not_existing.yaml +++ b/internal/provider/fixtures/datasource_globalaccount_trust_configuration.custom_idp_not_existing.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 113 + content_length: 118 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -18,8 +18,10 @@ interactions: headers: Content-Type: - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 2e311499-1ceb-74ce-3821-2eeefef24bfc + - c813e830-7724-f21e-6e9e-4fcd271b79ca X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -30,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 139 + content_length: 149 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "139" + - "149" Content-Type: - application/json Date: - - Thu, 01 Jun 2023 15:39:22 GMT + - Wed, 12 Jul 2023 13:06:22 GMT Expires: - "0" Pragma: @@ -55,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 30856af6-4e38-41c0-7441-159ff6f1e43e + - 5f0ae7ac-6651-4298-489e-3e3f0199aaad X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 395.254908ms + duration: 781.1796ms - id: 1 request: proto: HTTP/1.1 @@ -78,8 +80,10 @@ interactions: headers: Content-Type: - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - a205f3b9-1dd5-c221-ba26-a280632394b5 + - 77da52fb-827c-c31c-5a80-1ee175462911 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -105,7 +109,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Jun 2023 15:39:23 GMT + - Wed, 12 Jul 2023 13:06:22 GMT Expires: - "0" Pragma: @@ -118,586 +122,16 @@ interactions: - nosniff X-Cpcli-Backend-Status: - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 6546800e-98ca-4b77-6724-8e2a38258f55 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 189.025779ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 55afbac8-dc5e-94d8-2f1a-c983592a85b6 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:23 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 7c002f5c-d604-47c2-6b69-80b2034a99a8 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 481.571995ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 70 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","origin":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 1e34d750-0ea0-d9bb-0286-8b1c2205433e - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:24 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 0fff3f26-96e8-47fa-7971-b299896c5a06 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 165.372359ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 115f4ba7-d202-28e5-e259-1428ecb9df13 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:25 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - bd3cb481-1845-4c64-4479-351f97f6e44f - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 398.37739ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 70 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","origin":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - f3f795d1-d261-340f-cb1a-91039411c0a2 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:26 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 755ea2a7-3096-4137-5bf7-eb48815a2787 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 165.744631ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 80f842cc-7d03-f284-a36f-4999e1894467 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:26 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 0d9646db-598f-4a50-5266-a0dc7f66e405 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 395.332805ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 70 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","origin":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - e2e1c092-c8f0-4dc5-10c5-993d2d62745d - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json X-Cpcli-Refreshtoken: - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:27 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" X-Cpcli-Replacementrefreshtoken: - redacted X-Frame-Options: - DENY X-Vcap-Request-Id: - - e6739a2b-7e99-4c19-5f73-99c894b569ec - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 154.407432ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 33bb17a3-0d69-eb5e-94d9-7492118f875f - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:27 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 201fbbe5-c6aa-4966-4b50-96fedce03086 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 368.962555ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 70 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","origin":"fuh"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - ff3d0605-9d38-245a-2f2e-07797e85de78 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:28 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - a78b31ab-fe05-48c7-55a4-61e53600d9cc - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 168.773762ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - ed9c98aa-9036-b6f4-95a5-be286d199603 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 15:39:29 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 003b30ab-d685-4396-4081-d405ff28bd0b + - cb73309b-a27c-4b0c-55aa-747a1c720e8b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 408.1277ms + duration: 275.9017ms diff --git a/internal/provider/fixtures/datasource_subaccount_trust_configuration.custom_idp_not_existing.yaml b/internal/provider/fixtures/datasource_subaccount_trust_configuration.custom_idp_not_existing.yaml index f718afda..caf68c15 100644 --- a/internal/provider/fixtures/datasource_subaccount_trust_configuration.custom_idp_not_existing.yaml +++ b/internal/provider/fixtures/datasource_subaccount_trust_configuration.custom_idp_not_existing.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 113 + content_length: 118 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -18,8 +18,10 @@ interactions: headers: Content-Type: - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - a2fea34b-e8fa-c701-eb20-445c8a27a6ab + - a03081f6-9086-6b38-8d3e-370fedcee300 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -30,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 139 + content_length: 149 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "139" + - "149" Content-Type: - application/json Date: - - Thu, 01 Jun 2023 16:09:25 GMT + - Wed, 12 Jul 2023 13:10:41 GMT Expires: - "0" Pragma: @@ -55,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 84b94f53-89d3-4a98-5493-38a7d1a9c827 + - f6878b7f-66ba-4cf3-67fd-388a2774725c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 420.443823ms + duration: 869.8759ms - id: 1 request: proto: HTTP/1.1 @@ -78,8 +80,10 @@ interactions: headers: Content-Type: - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - aaede633-7a35-cdf7-af32-9c280f73df78 + - ebcc37e5-cce9-42fb-e1e2-c15c1af637bb X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -105,7 +109,7 @@ interactions: Content-Length: - "0" Date: - - Thu, 01 Jun 2023 16:09:25 GMT + - Wed, 12 Jul 2023 13:10:42 GMT Expires: - "0" Location: @@ -118,6 +122,8 @@ interactions: - max-age=31536000; includeSubDomains; preload; X-Content-Type-Options: - nosniff + X-Cpcli-Refreshtoken: + - redacted X-Cpcli-Replacementrefreshtoken: - redacted X-Cpcli-Subdomain: @@ -127,12 +133,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 0bbbf0c3-a118-4421-69e5-07a2996c1bbe + - 1d49894f-d0d4-4ec7-6535-57f5f132c692 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 155.62749ms + duration: 270.1916ms - id: 2 request: proto: "" @@ -152,8 +158,10 @@ interactions: - application/json Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - aaede633-7a35-cdf7-af32-9c280f73df78 + - ebcc37e5-cce9-42fb-e1e2-c15c1af637bb X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -181,7 +189,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Jun 2023 16:09:25 GMT + - Wed, 12 Jul 2023 13:10:42 GMT Expires: - "0" Pragma: @@ -194,890 +202,16 @@ interactions: - nosniff X-Cpcli-Backend-Status: - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - cc15aef4-e35e-4431-4e43-fa5ccf4894a3 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 96.07395ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - dc4e6ce5-59df-8b0f-ee18-448ad4c0d6a6 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:26 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 309431df-a162-4aef-5417-56abd6f8385d - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 446.69298ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - f5732975-c191-35fa-44e9-5b80cb54afe3 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "0" - Date: - - Thu, 01 Jun 2023 16:09:27 GMT - Expires: - - "0" - Location: - - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Frame-Options: - - DENY - X-Id-Token: - - redacted - X-Vcap-Request-Id: - - 3eb8ff08-2f39-437b-6088-4e1112cf8b41 - X-Xss-Protection: - - "0" - status: 307 Temporary Redirect - code: 307 - duration: 200.692747ms - - id: 5 - request: - proto: "" - proto_major: 0 - proto_minor: 0 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: "" - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - Referer: - - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - X-Correlationid: - - f5732975-c191-35fa-44e9-5b80cb54afe3 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json X-Cpcli-Refreshtoken: - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Id-Token: - - redacted - url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:27 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" X-Cpcli-Replacementrefreshtoken: - redacted X-Frame-Options: - DENY X-Vcap-Request-Id: - - e9a20e39-400b-4bb5-620b-fa10a463ea06 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 79.685982ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - b229e716-47c7-adf8-8967-96f450cd3938 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:28 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - acf09ee3-56ea-4ebf-5abb-f9daf14c0df5 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 423.107366ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - a5266fe7-b46f-0dae-5881-c180eab2931c - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "0" - Date: - - Thu, 01 Jun 2023 16:09:28 GMT - Expires: - - "0" - Location: - - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Frame-Options: - - DENY - X-Id-Token: - - redacted - X-Vcap-Request-Id: - - de555eba-e850-46cb-6d30-e2b2a2b3834e - X-Xss-Protection: - - "0" - status: 307 Temporary Redirect - code: 307 - duration: 156.397962ms - - id: 8 - request: - proto: "" - proto_major: 0 - proto_minor: 0 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: "" - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - Referer: - - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - X-Correlationid: - - a5266fe7-b46f-0dae-5881-c180eab2931c - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Id-Token: - - redacted - url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:29 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 10ab8583-6cd2-430d-40cd-1d00e6b7565d - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 90.916295ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 76b2cd27-4167-240b-7d19-e9a97808d87e - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:29 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - aad416e4-d85d-4200-7894-63b4a2362119 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 477.397092ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - d4da9c7a-953e-f116-d379-95f756da4c45 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "0" - Date: - - Thu, 01 Jun 2023 16:09:30 GMT - Expires: - - "0" - Location: - - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Frame-Options: - - DENY - X-Id-Token: - - redacted - X-Vcap-Request-Id: - - b5b02133-2bf1-4f4f-6747-febee991ed43 - X-Xss-Protection: - - "0" - status: 307 Temporary Redirect - code: 307 - duration: 163.357862ms - - id: 11 - request: - proto: "" - proto_major: 0 - proto_minor: 0 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: "" - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - Referer: - - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - X-Correlationid: - - d4da9c7a-953e-f116-d379-95f756da4c45 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Id-Token: - - redacted - url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:30 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - ec3b5b08-bb08-47bc-630d-2e1baa43bf96 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 93.113962ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 4188ddc3-0a96-a2bd-c7ab-d1686d97bbe7 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:31 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 822544ca-83f0-47fe-4656-893b58a9db33 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 388.457883ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - 43d80534-c382-43e6-69cf-b59e7fb5e602 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "0" - Date: - - Thu, 01 Jun 2023 16:09:31 GMT - Expires: - - "0" - Location: - - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Frame-Options: - - DENY - X-Id-Token: - - redacted - X-Vcap-Request-Id: - - 4de51720-a47b-4fdf-4c90-9c8f6f9a5b97 - X-Xss-Protection: - - "0" - status: 307 Temporary Redirect - code: 307 - duration: 199.655662ms - - id: 14 - request: - proto: "" - proto_major: 0 - proto_minor: 0 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: "" - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"origin":"fuh","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - Referer: - - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/trust?get - X-Correlationid: - - 43d80534-c382-43e6-69cf-b59e7fb5e602 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Id-Token: - - redacted - url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/trust?get - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:32 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "404" - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - c8b29426-de95-4113-5ebe-35601d4502c2 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 92.855893ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 113 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} - form: {} - headers: - Content-Type: - - application/json - X-Correlationid: - - cc8a35a3-bcdf-d960-3791-8b84e5ebfd33 - X-Cpcli-Format: - - json - url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 139 - uncompressed: false - body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "139" - Content-Type: - - application/json - Date: - - Thu, 01 Jun 2023 16:09:32 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 61c4e84a-0a5f-40b0-55ef-ea86e16ef26f + - 45c45ce5-e972-4eb2-401c-83cfb07659c5 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 385.92853ms + duration: 382.0496ms From 482784ecd94faf4868651cb4e7eaf2b4c7e88be0 Mon Sep 17 00:00:00 2001 From: Daniel Kuntze <137066232+kuntzed@users.noreply.github.com> Date: Tue, 18 Jul 2023 11:23:29 +0200 Subject: [PATCH 5/7] feature(resource): support role collection update (#299) --- .../btpcli/facade_security_role_collection.go | 24 + .../facade_security_role_collection_test.go | 86 + ...irectory_role_collection.error_import.yaml | 184 +- ...ectory_role_collection.multiple_roles.yaml | 204 +- ...ectory_role_collection.no_description.yaml | 194 +- ...urce_directory_role_collection.update.yaml | 2403 ++++++++++++++ ...tory_role_collection.with_description.yaml | 194 +- ...account_role_collection.import_error.yaml} | 262 +- ..._globalaccount_role_collection.update.yaml | 1737 ++++++++++ ...esource_globalaccount_role_collection.yaml | 194 +- ...account_role_collection.import_error.yaml} | 528 +-- ...rce_subaccount_role_collection.update.yaml | 2921 +++++++++++++++++ .../resource_subaccount_role_collection.yaml | 264 +- .../resource_directory_role_collection.go | 71 +- ...resource_directory_role_collection_test.go | 97 +- .../resource_globalaccount_role_collection.go | 70 +- ...urce_globalaccount_role_collection_test.go | 79 +- .../resource_subaccount_role_collection.go | 70 +- ...esource_subaccount_role_collection_test.go | 99 +- internal/tfutils/tfutils.go | 24 + 20 files changed, 8436 insertions(+), 1269 deletions(-) create mode 100644 internal/provider/fixtures/resource_directory_role_collection.update.yaml rename internal/provider/fixtures/{resource_globalaccount_role_collection_import_error.yaml => resource_globalaccount_role_collection.import_error.yaml} (76%) create mode 100644 internal/provider/fixtures/resource_globalaccount_role_collection.update.yaml rename internal/provider/fixtures/{resource_subaccount_role_collection_import_error.yaml => resource_subaccount_role_collection.import_error.yaml} (65%) create mode 100644 internal/provider/fixtures/resource_subaccount_role_collection.update.yaml diff --git a/internal/btpcli/facade_security_role_collection.go b/internal/btpcli/facade_security_role_collection.go index 6c940c50..b0e6d7d4 100644 --- a/internal/btpcli/facade_security_role_collection.go +++ b/internal/btpcli/facade_security_role_collection.go @@ -39,6 +39,14 @@ func (f *securityRoleCollectionFacade) CreateByGlobalAccount(ctx context.Context })) } +func (f *securityRoleCollectionFacade) UpdateByGlobalAccount(ctx context.Context, roleCollectionName string, description string) (xsuaa_authz.RoleCollection, CommandResponse, error) { + return doExecute[xsuaa_authz.RoleCollection](f.cliClient, ctx, NewUpdateRequest(f.getCommand(), map[string]string{ + "globalAccount": f.cliClient.GetGlobalAccountSubdomain(), + "roleCollectionName": roleCollectionName, + "description": description, + })) +} + func (f *securityRoleCollectionFacade) DeleteByGlobalAccount(ctx context.Context, roleCollectionName string) (xsuaa_authz.RoleCollection, CommandResponse, error) { return doExecute[xsuaa_authz.RoleCollection](f.cliClient, ctx, NewDeleteRequest(f.getCommand(), map[string]string{ "globalAccount": f.cliClient.GetGlobalAccountSubdomain(), @@ -67,6 +75,14 @@ func (f *securityRoleCollectionFacade) CreateBySubaccount(ctx context.Context, s })) } +func (f *securityRoleCollectionFacade) UpdateBySubaccount(ctx context.Context, subaccountId string, roleCollectionName string, description string) (xsuaa_authz.RoleCollection, CommandResponse, error) { + return doExecute[xsuaa_authz.RoleCollection](f.cliClient, ctx, NewUpdateRequest(f.getCommand(), map[string]string{ + "subaccount": subaccountId, + "roleCollectionName": roleCollectionName, + "description": description, + })) +} + func (f *securityRoleCollectionFacade) DeleteBySubaccount(ctx context.Context, subaccountId string, roleCollectionName string) (xsuaa_authz.RoleCollection, CommandResponse, error) { return doExecute[xsuaa_authz.RoleCollection](f.cliClient, ctx, NewDeleteRequest(f.getCommand(), map[string]string{ "subaccount": subaccountId, @@ -95,6 +111,14 @@ func (f *securityRoleCollectionFacade) CreateByDirectory(ctx context.Context, di })) } +func (f *securityRoleCollectionFacade) UpdateByDirectory(ctx context.Context, directoryId string, roleCollectionName string, description string) (xsuaa_authz.RoleCollection, CommandResponse, error) { + return doExecute[xsuaa_authz.RoleCollection](f.cliClient, ctx, NewUpdateRequest(f.getCommand(), map[string]string{ + "directory": directoryId, + "roleCollectionName": roleCollectionName, + "description": description, + })) +} + func (f *securityRoleCollectionFacade) DeleteByDirectory(ctx context.Context, directoryId string, roleCollectionName string) (xsuaa_authz.RoleCollection, CommandResponse, error) { return doExecute[xsuaa_authz.RoleCollection](f.cliClient, ctx, NewDeleteRequest(f.getCommand(), map[string]string{ "directory": directoryId, diff --git a/internal/btpcli/facade_security_role_collection_test.go b/internal/btpcli/facade_security_role_collection_test.go index 854354d7..73915562 100644 --- a/internal/btpcli/facade_security_role_collection_test.go +++ b/internal/btpcli/facade_security_role_collection_test.go @@ -248,6 +248,92 @@ func TestSecurityRoleCollectionFacade_CreateByDirectory(t *testing.T) { }) } +func TestSecurityRoleCollectionFacade_UpdateByGlobalAccount(t *testing.T) { + command := "security/role-collection" + + roleCollectionName := "my own rolecollection" + description := "This is the updated description of my own rolecollection" + + t.Run("constructs the CLI params correctly", func(t *testing.T) { + var srvCalled bool + + uut, srv := prepareClientFacadeForTest(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + srvCalled = true + + assertCall(t, r, command, ActionUpdate, map[string]string{ + "globalAccount": "795b53bb-a3f0-4769-adf0-26173282a975", + "roleCollectionName": roleCollectionName, + "description": description, + }) + })) + defer srv.Close() + + _, res, err := uut.Security.RoleCollection.UpdateByGlobalAccount(context.TODO(), roleCollectionName, description) + + if assert.True(t, srvCalled) && assert.NoError(t, err) { + assert.Equal(t, 200, res.StatusCode) + } + }) +} + +func TestSecurityRoleCollectionFacade_UpdateBySubaccount(t *testing.T) { + command := "security/role-collection" + + subaccountId := "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" + roleCollectionName := "my own rolecollection" + description := "This is the updated description of my own rolecollection" + + t.Run("constructs the CLI params correctly", func(t *testing.T) { + var srvCalled bool + + uut, srv := prepareClientFacadeForTest(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + srvCalled = true + + assertCall(t, r, command, ActionUpdate, map[string]string{ + "subaccount": subaccountId, + "roleCollectionName": roleCollectionName, + "description": description, + }) + })) + defer srv.Close() + + _, res, err := uut.Security.RoleCollection.UpdateBySubaccount(context.TODO(), subaccountId, roleCollectionName, description) + + if assert.True(t, srvCalled) && assert.NoError(t, err) { + assert.Equal(t, 200, res.StatusCode) + } + }) +} + +func TestSecurityRoleCollectionFacade_UpdateByDirectory(t *testing.T) { + command := "security/role-collection" + + directoryId := "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" + roleCollectionName := "my own rolecollection" + description := "This is the updated description of my own rolecollection" + + t.Run("constructs the CLI params correctly", func(t *testing.T) { + var srvCalled bool + + uut, srv := prepareClientFacadeForTest(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + srvCalled = true + + assertCall(t, r, command, ActionUpdate, map[string]string{ + "directory": directoryId, + "roleCollectionName": roleCollectionName, + "description": description, + }) + })) + defer srv.Close() + + _, res, err := uut.Security.RoleCollection.UpdateByDirectory(context.TODO(), directoryId, roleCollectionName, description) + + if assert.True(t, srvCalled) && assert.NoError(t, err) { + assert.Equal(t, 200, res.StatusCode) + } + }) +} + func TestSecurityRoleCollectionFacade_DeleteByGlobalAccount(t *testing.T) { command := "security/role-collection" diff --git a/internal/provider/fixtures/resource_directory_role_collection.error_import.yaml b/internal/provider/fixtures/resource_directory_role_collection.error_import.yaml index b14f7392..64d72563 100644 --- a/internal/provider/fixtures/resource_directory_role_collection.error_import.yaml +++ b/internal/provider/fixtures/resource_directory_role_collection.error_import.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - e77974da-1ad1-c0f5-74d7-5e5bd8e39cc2 + - 2da785fa-0917-1467-a2bc-8e072dad5a67 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:41 GMT + - Tue, 18 Jul 2023 07:36:30 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 009f604e-2c2a-46af-7749-edf38868f92c + - 47322d95-c13e-4cd3-4add-266c8404f0c0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 397.0334ms + duration: 433.623827ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - b84eb024-4d35-2516-fe0e-c4c999a571b0 + - 3a10fdb5-64f3-59ea-aa85-362ecd9f0f21 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:41 GMT + - Tue, 18 Jul 2023 07:36:31 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 98f57437-7f06-4c8b-40e9-32a74e229810 + - 67a4d4cb-20e1-4a4f-4d07-c6df7dcf4694 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 354.2894ms + duration: 231.955479ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - aa9d80ba-a4a2-3481-5245-3f84640efc4a + - 76186fff-48ad-0799-5143-ff68d834c01d X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:42 GMT + - Tue, 18 Jul 2023 07:36:31 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d0eb8378-6d25-4825-6411-f9d5d96beb0f + - 1fe056f2-37a5-4eb1-6178-97f3270d4c33 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 368.3794ms + duration: 209.040546ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 7f169fbc-b7af-8b80-1434-64a73374b622 + - f6a9497c-b0aa-5711-259e-1477a3ac617f X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:43 GMT + - Tue, 18 Jul 2023 07:36:31 GMT Expires: - "0" Pragma: @@ -255,12 +255,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - e8dbe53f-883d-4c6c-59d6-fba150bdb3e0 + - 92fde023-36dd-4a3a-5e0b-a268b40db9fd X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 273.353ms + duration: 329.946886ms - id: 4 request: proto: HTTP/1.1 @@ -279,9 +279,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 4b810100-72c9-32e8-c193-3c497ee08526 + - 10c3e003-eb42-fcb1-0dac-933f9cf3bf5c X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:43 GMT + - Tue, 18 Jul 2023 07:36:32 GMT Expires: - "0" Pragma: @@ -327,18 +327,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 34879015-e141-4133-77bf-8e41e6c5a419 + - 672e3dd9-7ee6-45a1-459b-08112c95a17d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 242.2899ms + duration: 247.824472ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -351,9 +351,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - eb9a3fda-c071-8d79-103f-b7b437ea9619 + - 6807c9c8-9add-c59c-007b-c9af48426db4 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -364,18 +364,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:44 GMT + - Tue, 18 Jul 2023 07:36:32 GMT Expires: - "0" Pragma: @@ -389,18 +389,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 5c17f706-015b-4755-6f52-18a3f92d1b01 + - e40b5b41-b122-4e19-7b75-35998276f254 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 332.6271ms + duration: 188.175338ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -413,9 +413,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 5bf17054-21be-1ebd-0552-25303b8e2e4e + - f631d3aa-46ce-6829-ac0d-a0f9ad6b1409 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -426,18 +426,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:45 GMT + - Tue, 18 Jul 2023 07:36:33 GMT Expires: - "0" Pragma: @@ -451,12 +451,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 385f8163-20b6-4a0a-5b6c-44fb25965e90 + - fbe18f11-4e3f-4988-51eb-2606286746a9 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 461.5415ms + duration: 363.243233ms - id: 7 request: proto: HTTP/1.1 @@ -475,9 +475,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 926cd3ed-23d1-2cea-017b-823c5e41794a + - bbe524c6-4177-45da-5d28-d97b0c183123 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -503,7 +503,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:46 GMT + - Tue, 18 Jul 2023 07:36:33 GMT Expires: - "0" Pragma: @@ -525,18 +525,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 4f7793e9-db03-4e8e-405c-0b6c017d40f5 + - 5c1d23ec-6890-4ed5-689d-5a0589451f60 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 243.0695ms + duration: 300.677232ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -549,9 +549,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - cf2876aa-6a0e-f556-58d8-2a62789aaceb + - 981fb9ed-bd69-5dfe-baee-a03094e54959 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -562,18 +562,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:46 GMT + - Tue, 18 Jul 2023 07:36:33 GMT Expires: - "0" Pragma: @@ -587,18 +587,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 84342907-74b0-4e9c-5799-8cd0ec4cf05a + - 242289c5-218f-4a58-5176-8b957b6da49b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 360.657ms + duration: 214.21994ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -611,9 +611,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 7f881835-fd22-71dd-6559-f690e4990513 + - 0ef5c85c-0da6-6826-3883-672aba55aecb X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -624,18 +624,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:47 GMT + - Tue, 18 Jul 2023 07:36:34 GMT Expires: - "0" Pragma: @@ -649,18 +649,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3603c794-91e8-4c3c-621f-3560a7580074 + - 587f8315-ca65-4d3e-620f-1d336390ee97 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 352.6043ms + duration: 212.404384ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -673,9 +673,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 5744d891-46cf-8833-e549-c8e39eeef85c + - 62a22a09-886d-408b-af5d-c1a3cb2c3565 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -686,18 +686,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:48 GMT + - Tue, 18 Jul 2023 07:36:34 GMT Expires: - "0" Pragma: @@ -711,18 +711,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 87002c36-91f0-458b-5a37-e50d242ee557 + - 4ff6230b-7fa7-42aa-5d6e-906b8039bf53 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 427.0001ms + duration: 213.005689ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -735,9 +735,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 9b533fd6-c533-5dd6-2666-6107fb002dca + - 2a7bebd5-a820-6699-6e5b-8a241202922f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -748,18 +748,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:49 GMT + - Tue, 18 Jul 2023 07:36:34 GMT Expires: - "0" Pragma: @@ -773,12 +773,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 45dd860b-e543-4ea9-75dd-34bfa3d60f22 + - 944d41fb-3a70-46bb-5ee3-f6d9fc8734b5 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 415.7998ms + duration: 187.803749ms - id: 12 request: proto: HTTP/1.1 @@ -797,9 +797,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 2b418031-9742-d003-63e2-9edb52787d9c + - 97a601f0-77d4-cb10-e2d0-841f11e252c8 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -825,7 +825,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:50 GMT + - Tue, 18 Jul 2023 07:36:35 GMT Expires: - "0" Pragma: @@ -845,9 +845,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 4641566d-f4e4-4e03-4fe3-9956ef2c45c7 + - 4abe4861-33c1-435e-5b9d-211bf4718a33 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 328.1575ms + duration: 394.827832ms diff --git a/internal/provider/fixtures/resource_directory_role_collection.multiple_roles.yaml b/internal/provider/fixtures/resource_directory_role_collection.multiple_roles.yaml index 11a3f431..16b8ff86 100644 --- a/internal/provider/fixtures/resource_directory_role_collection.multiple_roles.yaml +++ b/internal/provider/fixtures/resource_directory_role_collection.multiple_roles.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 1b81a513-9095-81c5-3c40-848f59eef8b3 + - 680d9861-9b3f-6571-ef41-6dff29c51490 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:28 GMT + - Tue, 18 Jul 2023 07:36:09 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a9528cdd-df9c-4a7a-742a-1c5a9ab707db + - baffb79d-8012-42c9-76c7-3920ba9bd449 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 436.4899ms + duration: 423.745215ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - b2dc3033-0afe-97c7-86b1-2450f381f439 + - f524aced-7ec8-cc62-5c9e-bebcdc5e01b2 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:29 GMT + - Tue, 18 Jul 2023 07:36:10 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 81a8cd08-359a-40bd-5e57-d22ab21a826e + - 25e618f9-05e3-43c7-7544-d3d9b33a1cf2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 510.8296ms + duration: 291.334824ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 9c35ab06-5ab7-8a75-896d-9df058f3064f + - 718bd10e-100a-b527-f535-d2a50bf2ae97 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:30 GMT + - Tue, 18 Jul 2023 07:36:10 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 70cf2c80-64a6-4d67-6087-97596686d20f + - 52236c93-dfb9-4736-7618-13d8f8c00a8c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 455.5976ms + duration: 262.456042ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 420ee86b-4bf5-3213-b3cb-a26381fce0f3 + - 69ce1b78-7fc3-86b5-2406-3f9fda35edf1 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:31 GMT + - Tue, 18 Jul 2023 07:36:10 GMT Expires: - "0" Pragma: @@ -255,12 +255,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d8e1fd53-b61a-4d82-4aa5-48f9374a1842 + - 35c9fd17-5a28-49f8-4c5f-6fbb8da694a9 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 245.7337ms + duration: 346.166078ms - id: 4 request: proto: HTTP/1.1 @@ -279,9 +279,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - e011dce0-b5c7-662f-1355-512bde3ffc3e + - a89bce41-7faa-2a12-44b6-e82d40c61143 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:31 GMT + - Tue, 18 Jul 2023 07:36:11 GMT Expires: - "0" Pragma: @@ -327,12 +327,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d1737ffa-2480-4c4d-67f6-1ed829f6737b + - 0798c831-4bce-4f86-48af-9cde0bea9e2d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 276.6031ms + duration: 304.927973ms - id: 5 request: proto: HTTP/1.1 @@ -351,9 +351,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - dd6ff4ce-df7f-50dc-99d3-ced1c2f00e82 + - edabc3f8-50dc-a1f6-799b-a88152a4f78d X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -379,7 +379,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:32 GMT + - Tue, 18 Jul 2023 07:36:11 GMT Expires: - "0" Pragma: @@ -399,18 +399,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ccf75ce3-015a-44a9-5f17-b661dcbc2ca8 + - f1885e09-b107-4239-6900-d9793d0aafd1 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 265.4686ms + duration: 305.906502ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -423,9 +423,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 8e8ef78b-741d-38f4-5e79-72a1d276576b + - 46771048-48e6-9f1a-acd8-b647107ab5b1 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -436,18 +436,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:33 GMT + - Tue, 18 Jul 2023 07:36:12 GMT Expires: - "0" Pragma: @@ -461,18 +461,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 40486760-4f14-4dcb-4db3-259fc68e82ed + - b7e648ac-72a4-49e5-7f84-1c3a2d3cb702 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 479.1667ms + duration: 229.368822ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -485,9 +485,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - ca730520-0fb7-9db6-cab2-70d4d3f64120 + - 88540aa2-62e9-8886-50fd-617df1eda671 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -498,18 +498,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:34 GMT + - Tue, 18 Jul 2023 07:36:12 GMT Expires: - "0" Pragma: @@ -523,12 +523,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8952c1af-7945-43d6-6a05-e619df756981 + - 1988c9f8-8c47-4ecb-7d8f-c7407bc85fe7 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 384.8798ms + duration: 200.754637ms - id: 8 request: proto: HTTP/1.1 @@ -547,9 +547,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 2b1338fe-f1f5-6423-81df-22d9dfa29458 + - 600bac2f-f6c7-b58f-06af-6b9b2a8037ef X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -575,7 +575,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:34 GMT + - Tue, 18 Jul 2023 07:36:12 GMT Expires: - "0" Pragma: @@ -597,18 +597,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 216d7508-66fa-4e95-5540-ed3a96840a51 + - 2231c1e4-0e5f-498a-55c8-646d8a9ae4aa X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 351.4909ms + duration: 337.021336ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -621,9 +621,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - ba1e0dc2-8583-27b8-e8ec-696e8ae8e95f + - c666e814-f1cf-5814-dcdb-879e75c6943f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -634,18 +634,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:35 GMT + - Tue, 18 Jul 2023 07:36:13 GMT Expires: - "0" Pragma: @@ -659,18 +659,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 48f3b6a5-a3cc-4557-41c3-0a7488e968e3 + - e9fe92ae-2f44-4a4f-5ffb-467225c6414a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 455.5891ms + duration: 393.386456ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -683,9 +683,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 02778acf-34f9-cc60-807c-b9a8ab43db4b + - cc263e29-50cf-28e8-6d3e-c067b09dd698 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -696,18 +696,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:36 GMT + - Tue, 18 Jul 2023 07:36:13 GMT Expires: - "0" Pragma: @@ -721,12 +721,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a6547c62-c622-4d17-694b-7fcb594f3cde + - d974145a-e199-45de-4679-c94d5b2eabb0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 494.808ms + duration: 285.92638ms - id: 11 request: proto: HTTP/1.1 @@ -745,9 +745,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 72fb9d89-a4e2-edcb-53de-f75fa20ccc90 + - 6ebfc77d-ac5e-b11c-30d6-a1407fc2d05d X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -773,7 +773,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:37 GMT + - Tue, 18 Jul 2023 07:36:14 GMT Expires: - "0" Pragma: @@ -795,18 +795,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 433412aa-70d6-45be-4521-1ec22f822b65 + - c6eae8a4-10bd-4a9d-7625-fd956285fb11 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 364.4875ms + duration: 306.198136ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -819,9 +819,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 49f69e04-4652-a7f5-4937-b35e769c01b2 + - 6c513e83-0b19-cd74-a268-1e79f7140522 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -832,18 +832,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:38 GMT + - Tue, 18 Jul 2023 07:36:14 GMT Expires: - "0" Pragma: @@ -857,18 +857,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 34e19135-4a82-4d14-72d9-dc0e893a95b5 + - 154dd2db-9841-4738-5fc5-4389ce7fca8b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 489.8744ms + duration: 348.589635ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -881,9 +881,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - d60b4b63-f954-6952-cd3c-ea1153d3fbab + - f27a32bf-8808-4530-4d72-87c6b660e6d3 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -894,18 +894,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:39 GMT + - Tue, 18 Jul 2023 07:36:15 GMT Expires: - "0" Pragma: @@ -919,12 +919,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - dd3721b5-ffdb-46e2-5160-a27410146282 + - 9161a518-74a3-4ced-6cc7-ad4cc950a85b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 419.9485ms + duration: 227.658775ms - id: 14 request: proto: HTTP/1.1 @@ -943,9 +943,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - df176759-1afa-f101-91cd-e15a8c0dcace + - be07d4c6-be6c-d289-4288-5eb9f9c1674f X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -971,7 +971,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:40 GMT + - Tue, 18 Jul 2023 07:36:15 GMT Expires: - "0" Pragma: @@ -991,9 +991,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 247b1f44-0895-4327-6c62-feda0282d075 + - fbdfb55c-804d-478f-62a4-b9e36b32cd8c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 316.9081ms + duration: 353.366291ms diff --git a/internal/provider/fixtures/resource_directory_role_collection.no_description.yaml b/internal/provider/fixtures/resource_directory_role_collection.no_description.yaml index 2c4bbc9e..2b377d9f 100644 --- a/internal/provider/fixtures/resource_directory_role_collection.no_description.yaml +++ b/internal/provider/fixtures/resource_directory_role_collection.no_description.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - d4e341d9-3562-234c-a1ed-9c71386f7b82 + - 7ec384fe-4cfb-9969-744e-61f11267b618 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:03 GMT + - Tue, 18 Jul 2023 07:35:55 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - bfd60f85-5e5c-486d-6131-8ef0cf00d426 + - f5beaec3-1af4-4706-6f09-92d11a694668 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 751.1391ms + duration: 715.13451ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 88e9e472-aedc-b660-5c0f-5cf5d8b774af + - 43a443bd-7d99-b048-179e-e73d13d86098 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:05 GMT + - Tue, 18 Jul 2023 07:35:56 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 5de4f7e9-98ee-428a-7e46-708e0fa6e8cf + - 848c5c77-9939-45ac-4104-a130dea29c59 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 438.2124ms + duration: 473.047012ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 28174ece-2a2f-7e08-138f-9241a8ddb161 + - 52d0e77b-c069-9b75-60a5-bfc7c7b491c2 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:06 GMT + - Tue, 18 Jul 2023 07:35:57 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 18337a22-85ee-4bce-5056-821183aa9f75 + - 27ea5780-a84b-4a90-7806-45165cfe5b74 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 427.4512ms + duration: 320.988853ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 1de7e5b7-9317-750d-9740-4e780df3be3b + - 83bcd70d-3c3b-f752-668a-039389b7d125 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:06 GMT + - Tue, 18 Jul 2023 07:35:57 GMT Expires: - "0" Pragma: @@ -255,12 +255,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 84d59ba4-5153-4a02-6cde-b2ca73f0822c + - ec867cd3-7876-4e91-6e21-8269614e32f6 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 368.1471ms + duration: 374.559408ms - id: 4 request: proto: HTTP/1.1 @@ -279,9 +279,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 465a5bb0-b443-c128-8c44-3cb844ab475d + - 9765fc30-9061-47fe-d7ed-9afe706f490b X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:07 GMT + - Tue, 18 Jul 2023 07:35:57 GMT Expires: - "0" Pragma: @@ -327,18 +327,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0930daab-fc34-4ebe-5c25-9e1617214f47 + - 7a965596-aa54-47a3-5796-6b58f77899da X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 346.0477ms + duration: 512.792037ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -351,9 +351,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 5eccf682-4171-eb18-deb3-d814b1cac530 + - e345e3aa-3ecc-f948-8b2a-0a1445cc647a X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -364,18 +364,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:08 GMT + - Tue, 18 Jul 2023 07:35:58 GMT Expires: - "0" Pragma: @@ -389,18 +389,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 53f27b80-1729-475f-6f79-0f5e51e4c602 + - e4ae4d58-e180-4804-7fd8-9123ac547765 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 509.3699ms + duration: 212.020669ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -413,9 +413,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 7d5e85e5-be20-ffb7-f572-ebbea60b5c59 + - 3cbe8e70-43e2-4727-dc65-b97a21788a62 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -426,18 +426,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:09 GMT + - Tue, 18 Jul 2023 07:35:58 GMT Expires: - "0" Pragma: @@ -451,12 +451,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a1dae1e8-f98c-4d34-5485-a9cda85c3c63 + - fef5adc4-ab1b-4372-5116-438e701c8ab0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 373.6746ms + duration: 374.550138ms - id: 7 request: proto: HTTP/1.1 @@ -475,9 +475,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 813e5d57-cc15-b161-d58a-c4fe8ddb95eb + - 81710eb9-1d8e-4ba9-841d-f952b2fafeab X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -503,7 +503,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:10 GMT + - Tue, 18 Jul 2023 07:35:59 GMT Expires: - "0" Pragma: @@ -525,18 +525,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - bf6dcc4e-4d50-47dd-5432-7362194a5bf3 + - 01d3514c-5087-4577-6d69-2e6155446982 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 275.6265ms + duration: 407.918836ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -549,9 +549,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - be2e870b-91b7-d32d-7b90-bb0d4fc52ab7 + - 3412b9ad-1ac7-7c64-b5bd-c6189a8598ec X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -562,18 +562,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:11 GMT + - Tue, 18 Jul 2023 07:35:59 GMT Expires: - "0" Pragma: @@ -587,18 +587,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 733d33cd-f4d0-4b6e-621d-378654aa3a14 + - 52a7f324-7bca-49a4-6fd2-e8c2aab66860 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 399.7182ms + duration: 301.253151ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -611,9 +611,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 487dcac8-b190-52ad-f093-7fbaedf116cc + - d7716014-1085-577f-2d6a-2fe2ffbf9031 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -624,18 +624,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:12 GMT + - Tue, 18 Jul 2023 07:36:00 GMT Expires: - "0" Pragma: @@ -649,12 +649,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d0394faf-b539-4e5a-543e-b2aa3222e84c + - fe3631cd-57a4-4470-7419-f694314e9f91 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 528.6084ms + duration: 267.788677ms - id: 10 request: proto: HTTP/1.1 @@ -673,9 +673,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 07021390-4314-0ec3-747b-1dc55d45e3bb + - 1edced46-c4a7-a796-be42-8d514d0f3c3b X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -701,7 +701,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:12 GMT + - Tue, 18 Jul 2023 07:36:01 GMT Expires: - "0" Pragma: @@ -723,18 +723,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 911f695d-9ba3-44c8-6a3a-2d79640e4683 + - c2c2eaf1-1e7c-4018-4306-af82fac4efb2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 282.6611ms + duration: 694.952935ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -747,9 +747,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - d2071956-4824-8bf8-f51e-9b34672020e9 + - d1355025-f35d-2b6d-8be4-154d2ab6926b X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -760,18 +760,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:13 GMT + - Tue, 18 Jul 2023 07:36:01 GMT Expires: - "0" Pragma: @@ -785,18 +785,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - b540ae49-a154-4878-51c4-69b84df37f9b + - e884f9ef-1b63-4d25-4e4b-641179f1b969 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 396.447ms + duration: 347.58128ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -809,9 +809,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - c4d92939-a43d-01d6-3684-f28197bb3836 + - d6100d5e-c014-8df6-99a8-1dae5ad44689 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -822,18 +822,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:14 GMT + - Tue, 18 Jul 2023 07:36:02 GMT Expires: - "0" Pragma: @@ -847,12 +847,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c469be02-3029-4e8f-6d4e-6fd5471e64be + - 35948864-c34c-4304-4e31-b6c8df28a3e0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 439.812ms + duration: 323.806685ms - id: 13 request: proto: HTTP/1.1 @@ -871,9 +871,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 162cb028-eeaf-b065-a4ca-35e760afc490 + - b9cbb37a-ee4e-1e81-3012-c2c4437ec811 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -899,7 +899,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:15 GMT + - Tue, 18 Jul 2023 07:36:02 GMT Expires: - "0" Pragma: @@ -919,9 +919,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 1054d750-7332-49db-5344-3d85fb7761c3 + - b800dbec-3426-45a5-6914-8a9b1135b773 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 473.1451ms + duration: 406.279812ms diff --git a/internal/provider/fixtures/resource_directory_role_collection.update.yaml b/internal/provider/fixtures/resource_directory_role_collection.update.yaml new file mode 100644 index 00000000..b282ab7d --- /dev/null +++ b/internal/provider/fixtures/resource_directory_role_collection.update.yaml @@ -0,0 +1,2403 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1a6231ec-cbac-f709-c433-ae1c35ca6861 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:16 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b0b2b585-e15b-43dd-7d04-0f3d80f5f537 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 391.484934ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 14602f5f-a935-0122-4181-ce97f7817d8b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:16 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a6919f53-2723-491f-7c6a-733245720ad3 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 400.104056ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f7e1c8d1-818d-c251-381c-e2f8eea8e4f9 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bad146b0-aabe-443e-50ac-889161797af7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 311.103814ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 132 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"","directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a32073da-117c-d3be-8bee-4f14e54eb3d6 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"","isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - cade1950-4d78-45e2-54bf-be61488fc7bc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 354.718021ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 221 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection","roleName":"Directory Viewer","roleTemplateAppID":"cis-central!b13","roleTemplateName":"Directory_Viewer"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b036e213-029b-b38b-5df2-93bbc2bb7e61 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 58c2278c-1f38-4e94-694f-d093da4162ee + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 321.837753ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f23e383d-dfdd-da35-41b6-ea02db6191be + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e8a28f32-294a-4f7d-7e11-c52a568b0046 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 305.898269ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9e3535d7-ece6-9d92-7a2b-ae2e0ba1551f + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 80b61e79-c8da-4416-47b6-02127053a5ec + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 203.295012ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a82a5563-c475-0d1e-d03d-3625978b2a44 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"","roleReferences":[{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"Directory_Viewer","name":"Directory Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directories, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eb893304-c876-41c8-56a9-0f0a35a51d8b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 242.612301ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a42aab3c-42e0-723d-5780-3d711235d132 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 41a1c591-942a-430b-5e42-c9b408808d65 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 287.58418ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 269754aa-4253-5820-5e3c-401bf27e0c4c + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - cafbde68-238e-418e-56d1-111a7ea8ec03 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 225.842449ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - bb16260f-ca47-e55e-2625-4d773a73bfdb + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"","roleReferences":[{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"Directory_Viewer","name":"Directory Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directories, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6cfaad76-c93e-4aa5-618b-f9c0039c580e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 347.781974ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b80cbdc5-8652-37bc-46db-b9bba8dccdcf + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 36ce346c-5d79-4c43-6743-a1453919e28f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 205.424302ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 234b85f8-bdb9-d470-41c9-264f65d7e865 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:21 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7e09694d-e01a-4069-488e-b38d6d97234b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 354.527954ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 166 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"This is my updated role collection","directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 01f85efb-5852-170b-804d-c129621fdcfd + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:21 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 55a01615-733c-485b-7ae7-d37ea3fbde1a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 276.159514ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 248 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection","roleName":"Directory Usage Reporting Viewer","roleTemplateAppID":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - e0998c61-0f29-8232-1ed1-742fd77ab300 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:21 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 907a2951-cd1d-445d-65d3-a14efbb48010 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 246.536522ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9ff8366f-164f-f097-593c-aa6ec72c2329 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"This is my updated role collection","roleReferences":[{"roleTemplateAppId":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer","name":"Directory Usage Reporting Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directory usage information."},{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"Directory_Viewer","name":"Directory Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directories, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:21 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 80908fca-0660-432e-5c33-8e6e3bae2288 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 240.503339ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 3a6bb49f-8e46-2cb5-5a40-0ec94f75cadf + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:22 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a6622561-73f1-40c9-6bcb-2a563e649526 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 368.970059ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5a7232b2-89b2-3a52-bdba-e24d82bd05b7 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:22 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7199d25a-e063-4b17-6121-c9a8b7ea61d5 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 208.985717ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - cfa95ab8-43f0-f6c7-7c0b-936a6bd52c17 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"This is my updated role collection","roleReferences":[{"roleTemplateAppId":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer","name":"Directory Usage Reporting Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directory usage information."},{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"Directory_Viewer","name":"Directory Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directories, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 27ee5717-18e4-44bc-5a8c-84b32b344d1e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 330.927262ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ea59a38e-b7c3-5176-f5d1-3fc88a623fd6 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 3a7116fa-ecf7-4f9b-6da7-2557f48661ae + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 197.354781ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 0fb7997a-a3b8-937a-6a34-912655c15c16 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c321e92d-70cc-4ad2-5fe6-c9a24276c7f8 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 214.713249ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 594c09c4-7866-9eba-c5e0-b73395c72695 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"This is my updated role collection","roleReferences":[{"roleTemplateAppId":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer","name":"Directory Usage Reporting Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directory usage information."},{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"Directory_Viewer","name":"Directory Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directories, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8cc1f8fb-de48-4832-4387-63e213f792fc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 355.938339ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ae04a3a7-abc7-3341-9cec-9e6880f9bdf7 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6ba21339-0562-4acb-79de-b11937b08852 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 388.234023ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 4d07b7ca-b87a-defc-4b11-9f666df6b938 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:25 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4f5f4624-8213-4c9c-45de-022db9b5af58 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 226.72479ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 132 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"","directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 2d038d2e-b9e5-7cbf-5f9d-e319760c856b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:25 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 3a2d7ec4-ad66-4051-5eeb-84fef1d8dc46 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 368.50093ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 221 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection","roleName":"Directory Viewer","roleTemplateAppID":"cis-central!b13","roleTemplateName":"Directory_Viewer"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 01623ef2-a6c2-b012-8c73-513311bb084f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?remove + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:25 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 46232651-ebf6-429b-44f0-02216a52f3d4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 287.408079ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 425b6154-11b5-c507-6580-0ad61a61a46e + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"","roleReferences":[{"roleTemplateAppId":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer","name":"Directory Usage Reporting Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directory usage information."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f868d2dc-0910-4d6d-57f6-4edcbb9d78c1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 323.502961ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f27eed64-642e-6b35-b132-ba636a4b9127 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bc5fc697-7d1c-4487-4cc3-6398c64344bb + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 205.999961ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c967fe90-ce6e-7e0e-3666-0445fe33ee84 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7aeaea9f-2ff5-4a74-6ef8-e0fb55963810 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 212.618193ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 0ce2b1a1-cb9e-9f3b-31e8-9230b866eb00 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"","roleReferences":[{"roleTemplateAppId":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer","name":"Directory Usage Reporting Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directory usage information."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4983273d-b58c-418e-5c0b-fdce26839316 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 364.423033ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - aae82612-a67f-272b-a329-62799f3c59eb + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 74351c40-3346-47ca-5ca4-f6733187f709 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 394.427776ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ab9bfe9d-6d56-8d26-0002-fada9f310488 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 27e8cdc0-f99e-4ce5-4349-52594c2251f1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 292.176385ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 063f1848-1ca6-68e9-bf68-3ed06110e14f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My own role collection","description":"","roleReferences":[{"roleTemplateAppId":"uas!b10418","roleTemplateName":"Directory_Usage_Reporting_Viewer","name":"Directory Usage Reporting Viewer","description":"Role for directory members with read-only authorizations for core commercialization operations, such as viewing directory usage information."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 08f562fe-1233-4e76-690d-57eee05b582a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 269.451016ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 71241d7d-db21-2262-d5f6-d396ae93dee2 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4261fc6a-f8d0-46a7-56e2-1f5276d6417f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 348.865058ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 532f3e16-adce-4eef-710f-ed0d1ff03734 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 75ec9680-2db4-42bf-7c6e-53564817de2f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 339.034505ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"directory":"05368777-4934-41e8-9f3c-6ec5f4d564b9","roleCollectionName":"My own role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 0d9f00be-44fe-6b72-343f-c4b80bd33c93 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:36:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 40496075-b76f-47bf-6c29-daeb82d7b69a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 372.733778ms diff --git a/internal/provider/fixtures/resource_directory_role_collection.with_description.yaml b/internal/provider/fixtures/resource_directory_role_collection.with_description.yaml index a1f07f7e..5391a259 100644 --- a/internal/provider/fixtures/resource_directory_role_collection.with_description.yaml +++ b/internal/provider/fixtures/resource_directory_role_collection.with_description.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - b4096b5b-b161-1caa-522d-779ad92548ab + - f9995902-d9ae-f6c4-984d-9c676d46186f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:16 GMT + - Tue, 18 Jul 2023 07:36:02 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ae64a7d5-1b22-47e5-5caa-e6756fde08ef + - bc773a0b-0861-47b7-4db2-8f7a8048e2cc X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 484.4001ms + duration: 227.971998ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - ceaf5fbd-1565-0b9d-e70b-58c453aadf05 + - 086ab83e-adfd-f920-4953-ab8b49aaf91c X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:17 GMT + - Tue, 18 Jul 2023 07:36:03 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 655682b8-d97c-46f0-7007-b74bdaea1207 + - 1d2cb875-8de3-4435-4215-14ce740a0717 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 383.4971ms + duration: 340.864377ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - feb03e60-a305-9b9f-cded-ca3aba857451 + - 505d97c8-dbc2-d5b0-490d-874f577336fa X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:18 GMT + - Tue, 18 Jul 2023 07:36:03 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3204f8d9-d64c-42fc-4654-89d24f80fd25 + - a2db288b-85f4-4769-7411-7c95bc9e8f95 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 382.9483ms + duration: 349.135697ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 248b4bc3-65cd-ab23-a9aa-0b152bdf2d96 + - 74d49328-ec2a-0d26-e4d8-a8839e281de0 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:19 GMT + - Tue, 18 Jul 2023 07:36:04 GMT Expires: - "0" Pragma: @@ -255,12 +255,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d956e660-901d-4771-7710-53797ce2a342 + - ba12ebb2-d12d-4149-7acd-3b5df3ad3ae7 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 334.4965ms + duration: 352.230423ms - id: 4 request: proto: HTTP/1.1 @@ -279,9 +279,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - a80b1991-48e0-f14a-8111-b621df0934e5 + - f790a051-7f7d-4fa3-7dc6-012896876dd4 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:19 GMT + - Tue, 18 Jul 2023 07:36:04 GMT Expires: - "0" Pragma: @@ -327,18 +327,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d934dfc6-d723-46ea-586e-864a8a018e31 + - fd539ac0-03bf-45fd-55a4-790fb21ed380 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 305.6965ms + duration: 499.353707ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -351,9 +351,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 49cd982a-7e4a-4e74-970c-c05a230d07cf + - 931572fd-7d74-7b0e-d240-8064f23482ba X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -364,18 +364,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:20 GMT + - Tue, 18 Jul 2023 07:36:05 GMT Expires: - "0" Pragma: @@ -389,18 +389,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 17ac88e2-5f1f-42af-7589-c16fb94691f5 + - 7ff59664-0c5c-4224-7134-1ec719878e31 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 467.1092ms + duration: 265.553612ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -413,9 +413,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 42fd3ba6-0039-d452-42b8-0d4bfeea7151 + - 3341e5ae-e082-7ed2-e206-8a6bab11d39f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -426,18 +426,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:21 GMT + - Tue, 18 Jul 2023 07:36:05 GMT Expires: - "0" Pragma: @@ -451,12 +451,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - eafbb016-fc7c-4c39-5197-92bd4bb06319 + - 1a354cf4-8d65-410a-42da-174a18f3744e X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 406.8813ms + duration: 314.91098ms - id: 7 request: proto: HTTP/1.1 @@ -475,9 +475,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 6c3bdcff-7cd0-688a-d5a4-e553834a01ac + - 614d2c2c-6ff9-5544-1cbf-6e92e79e31c7 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -503,7 +503,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:22 GMT + - Tue, 18 Jul 2023 07:36:06 GMT Expires: - "0" Pragma: @@ -525,18 +525,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c840facf-c7f7-48ec-69f5-a09ef452c761 + - b5f046de-9b72-4bd2-5d88-34b360b3a68c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 245.1873ms + duration: 366.502282ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -549,9 +549,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - acf330e3-9501-418b-80d5-e12c193924fc + - 95cc4b1a-1fe0-5f1b-88b9-430b3da80670 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -562,18 +562,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:23 GMT + - Tue, 18 Jul 2023 07:36:06 GMT Expires: - "0" Pragma: @@ -587,18 +587,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - fdbbb7ff-724a-45e1-6673-941e8d9e85cc + - 53f5af83-478a-4fb3-4d03-816a4a1bbb9c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 402.844ms + duration: 389.242981ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -611,9 +611,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - edf31ad3-6e50-8070-9fa5-f9cebbe28e0c + - 01f9d51e-acca-19c3-4c2e-20dc9bc8edd9 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -624,18 +624,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:24 GMT + - Tue, 18 Jul 2023 07:36:07 GMT Expires: - "0" Pragma: @@ -649,12 +649,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3a62927b-9805-40ee-5cbb-479a8aaaf034 + - 2d7c6332-1864-4953-636c-5778a9f92f5b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 499.4561ms + duration: 379.802194ms - id: 10 request: proto: HTTP/1.1 @@ -673,9 +673,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - f5191c1a-9f4a-7a99-78e2-11efe47e395f + - 376d5844-c17e-a8b3-8bc3-5d61e763e0af X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -701,7 +701,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:24 GMT + - Tue, 18 Jul 2023 07:36:07 GMT Expires: - "0" Pragma: @@ -723,18 +723,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 6a4673f9-e693-4722-6f45-97a9116f9843 + - 332add98-4a3d-43a0-4d12-c657a1f9bb51 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 350.668ms + duration: 407.749802ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -747,9 +747,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - b7d5005f-8e7f-7ba1-7571-b362f5b3abf8 + - c96173c9-c524-91c0-cede-1cba06bd5ddf X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -760,18 +760,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:25 GMT + - Tue, 18 Jul 2023 07:36:08 GMT Expires: - "0" Pragma: @@ -785,18 +785,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8aefeb64-66cc-4da0-6615-6675f9309f1c + - c62efa83-c419-4c67-46bf-4125eac0afa2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 370.52ms + duration: 210.528757ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -809,9 +809,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 5ce9b298-3dbc-deb7-3ea2-dafb60dcf733 + - f755931a-4008-fcd6-12dd-3d0ecd3e490d X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -822,18 +822,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:26 GMT + - Tue, 18 Jul 2023 07:36:08 GMT Expires: - "0" Pragma: @@ -847,12 +847,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 4c5a47b6-5074-4677-5c73-b9d1e772d8e9 + - f9d8c722-5b81-4cfc-73b2-88177e690058 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 505.9678ms + duration: 325.420254ms - id: 13 request: proto: HTTP/1.1 @@ -871,9 +871,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - e1354011-d523-3fa7-b77f-12f15059bdc3 + - b18804cf-86f0-6a65-eaa1-7ef3e9d3d422 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -899,7 +899,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:47:27 GMT + - Tue, 18 Jul 2023 07:36:08 GMT Expires: - "0" Pragma: @@ -919,9 +919,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 23011dc6-0548-4526-4884-ea70a63cb176 + - 4e6e8dbe-9a46-4cea-4086-88c5498c6c37 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 318.9059ms + duration: 406.206532ms diff --git a/internal/provider/fixtures/resource_globalaccount_role_collection_import_error.yaml b/internal/provider/fixtures/resource_globalaccount_role_collection.import_error.yaml similarity index 76% rename from internal/provider/fixtures/resource_globalaccount_role_collection_import_error.yaml rename to internal/provider/fixtures/resource_globalaccount_role_collection.import_error.yaml index 66172898..e9a009ca 100644 --- a/internal/provider/fixtures/resource_globalaccount_role_collection_import_error.yaml +++ b/internal/provider/fixtures/resource_globalaccount_role_collection.import_error.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - e5d1e000-e73c-d14b-9ab5-74e178d67a4e + - fbad3d93-2f50-8c22-adbe-967a74851ebc X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:51 GMT + - Tue, 18 Jul 2023 08:44:08 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - cce7a736-9876-4f51-65aa-5fc9c3c38776 + - ecc0ebba-a1af-4cd0-6dc4-508d567b301a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 488.2698ms + duration: 278.101616ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 2efd02ab-a4d9-e007-344a-7a21ac816a81 + - 366b5727-2fec-d44d-c470-ca2e5cfdd05f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:51 GMT + - Tue, 18 Jul 2023 08:44:08 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 96e5698f-36dd-4c61-6f77-3d0e349bb5fa + - d11490c3-8688-48fb-6c09-a4e52f25d051 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 392.507ms + duration: 296.152872ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 3d6ff835-466b-aedd-5401-e79a2ad49b68 + - 9113ed16-b751-0a15-ab5c-baff829fb992 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:52 GMT + - Tue, 18 Jul 2023 08:44:09 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 28c9be2b-62a5-4463-69b2-3fb80a472ed1 + - afb76c8d-32bf-4dbf-7b79-1aea80732229 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 440.9998ms + duration: 216.677256ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - d19d6f35-5637-df94-5275-c3030d02394e + - 60cbe9c1-abbc-cd30-2e11-1b0b2694d2e9 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:52 GMT + - Tue, 18 Jul 2023 08:44:09 GMT Expires: - "0" Pragma: @@ -255,90 +255,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0d63160e-4c44-4b69-5973-308acba786ba + - 3d21eec7-48f4-4003-42a1-b277bbb0ee01 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 237.7379ms + duration: 179.405294ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 216 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection","roleName":"Global Account Viewer","roleTemplateAppID":"cis-central!b13","roleTemplateName":"GlobalAccount_Viewer"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev - X-Correlationid: - - 44f79f8f-6bf1-c46c-8368-30afcd685d54 - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Mon, 03 Jul 2023 08:23:52 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "200" - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 9f8cd4ad-ac7c-4b48-6a3b-4892078611d1 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 206.7933ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -351,9 +279,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 0e270a98-6878-33b8-e2f4-4933338cabee + - ae2c431a-4c76-cca4-e69f-b180c9f17980 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -364,18 +292,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:53 GMT + - Tue, 18 Jul 2023 08:44:09 GMT Expires: - "0" Pragma: @@ -389,18 +317,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - e3393ef5-8e3e-49e2-60d4-55af2eae17fe + - 967ef896-cb23-486b-7afb-65aba94c8e6b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 436.9879ms - - id: 6 + duration: 292.312595ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -413,9 +341,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 752f2cb0-31ca-a37b-a133-256481fcae76 + - 8aa55bcb-92e1-b653-9b1c-903416d2dd19 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -426,18 +354,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:54 GMT + - Tue, 18 Jul 2023 08:44:10 GMT Expires: - "0" Pragma: @@ -451,13 +379,13 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c0e35841-4313-4608-5ec0-fa26323e947d + - 037dab5c-8530-4c52-57d7-4ca1cf08e309 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 428.8851ms - - id: 7 + duration: 221.867097ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -475,9 +403,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 0b5ff2b9-db78-1964-9925-071c19589197 + - 27e756fb-5544-648b-e1ea-c85f781aa4ee X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -496,14 +424,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"GlobalAccount_Viewer","name":"Global Account Viewer","description":"Role for global account members with read-only authorizations for core commercialization operations, such as viewing global accounts, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + body: '{"name":"My new role collection","description":"Description of my new role collection","isReadOnly":false}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:54 GMT + - Tue, 18 Jul 2023 08:44:10 GMT Expires: - "0" Pragma: @@ -525,18 +453,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 02ed4430-4aa8-4204-5cca-d9a18fde2c29 + - ec3103bb-e4d8-493f-5891-e2305eb8a418 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 191.2356ms - - id: 8 + duration: 156.77779ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -549,9 +477,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 40f087b8-62c0-5c57-b592-51a19d94ef62 + - dbf6c5ed-43ac-5368-2701-3ac3852055cc X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -562,18 +490,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:54 GMT + - Tue, 18 Jul 2023 08:44:10 GMT Expires: - "0" Pragma: @@ -587,18 +515,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 5d93488e-905b-4a0c-73c0-120a9126386a + - 75b16813-d77c-4849-7901-39c7f2ba663b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 667.4017ms - - id: 9 + duration: 295.262582ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -611,9 +539,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - fdc70140-da18-256c-2b87-593eb3eba10e + - fa8739bd-6a2c-09d0-fe78-6e65f84fe585 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -624,18 +552,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:55 GMT + - Tue, 18 Jul 2023 08:44:11 GMT Expires: - "0" Pragma: @@ -649,18 +577,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 7859ec3d-2ac7-411d-5998-699677fbec5f + - 110cb24a-a602-4107-61c5-6ce082106579 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 406.4767ms - - id: 10 + duration: 246.756501ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -673,9 +601,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - b6b0e9c5-3eb6-a6a2-13de-d36dbb4ac720 + - a9e8955a-6d36-b66d-7dac-a4e2343aa9a9 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -686,18 +614,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:56 GMT + - Tue, 18 Jul 2023 08:44:11 GMT Expires: - "0" Pragma: @@ -711,18 +639,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3cf79025-b959-4d03-6206-795254b9144b + - 64b4243f-a44c-4068-4c4b-b4677cdad54d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 468.8532ms - - id: 11 + duration: 237.652189ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -735,9 +663,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 792f87d6-a194-0bae-41d6-3553d35402ec + - 34554a7e-6907-f4c3-2373-dc898bf0b0a9 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -748,18 +676,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:56 GMT + - Tue, 18 Jul 2023 08:44:11 GMT Expires: - "0" Pragma: @@ -773,13 +701,13 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 28fa5e7f-40df-4f53-6bbf-b1495cf73684 + - 8a77c2a9-adb4-4220-4b04-ee83f30a368b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 458.0449ms - - id: 12 + duration: 296.578892ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -797,9 +725,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - fe9211b5-6021-8b09-4f95-3237ef53b63d + - e4b64fc7-1a71-e6b1-e8c5-1f248ebdd03e X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -825,7 +753,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:56 GMT + - Tue, 18 Jul 2023 08:44:12 GMT Expires: - "0" Pragma: @@ -845,9 +773,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 67192a5d-9813-486c-58ef-76f2b73b6bfa + - 3409ebf5-a5f2-4e6f-5bbf-bd201eae9dbc X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 165.3001ms + duration: 178.812447ms diff --git a/internal/provider/fixtures/resource_globalaccount_role_collection.update.yaml b/internal/provider/fixtures/resource_globalaccount_role_collection.update.yaml new file mode 100644 index 00000000..006659dd --- /dev/null +++ b/internal/provider/fixtures/resource_globalaccount_role_collection.update.yaml @@ -0,0 +1,1737 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 6dd4d0c8-d075-67ad-3c37-8a9a9959041b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:43:58 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 07bbb42b-645f-46c4-7008-8e0aaa7132c1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 304.300511ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 329d3701-4570-21d9-21e1-8455b0ed7ce5 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:43:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4a0e3309-46b6-4191-7318-2b0e9a874234 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 212.093399ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 00dc7219-3d65-06b7-9fa5-cf16f3961544 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:43:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d8c5baaf-8c07-46da-6a77-b0d0dc4aefce + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 218.23121ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 155 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"Description of my new role collection","globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - eb3ef8c2-4028-7d60-ca11-3eb1c8717245 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:43:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bcfcd622-9f46-4e35-44af-23120fbd3c60 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 175.296195ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 216 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection","roleName":"Global Account Viewer","roleTemplateAppID":"cis-central!b13","roleTemplateName":"GlobalAccount_Viewer"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f9a89965-fb2a-8ae4-e26f-83f472cc731e + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:43:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8996756e-bbb0-45a1-4b3a-507acad69e23 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 167.138541ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 58980618-16a7-f5ef-9829-0eb6d188435e + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:00 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d3931071-54b6-49ca-4210-57dcffc2f902 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 334.392663ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 47af6b09-1ac5-b632-8bff-d10209e4f684 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:00 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0b5a2338-1205-4d5c-5fb7-5e80eaa6c887 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 306.356059ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 101 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - eaad3c0c-79a5-2347-6e54-d83bc8de825a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"GlobalAccount_Viewer","name":"Global Account Viewer","description":"Role for global account members with read-only authorizations for core commercialization operations, such as viewing global accounts, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:01 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 3a291877-809a-485c-5662-b1c912c81c35 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 160.400266ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 91d0b334-953d-9193-b88f-17394a1f93f9 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:01 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 73a9c6f2-6812-406d-4f51-8a222e3b4fb0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 331.397102ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1dd2016f-f94d-01ce-97ae-75127b72c643 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:01 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 39ade372-c7b7-4136-7c3c-d4e22e55ec11 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 259.900392ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 101 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 0e455fa6-38c3-af23-50ef-0a31ba2dd0db + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"cis-central!b13","roleTemplateName":"GlobalAccount_Viewer","name":"Global Account Viewer","description":"Role for global account members with read-only authorizations for core commercialization operations, such as viewing global accounts, subaccounts, entitlements, and regions."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:02 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1cac3c9d-8e04-4d2b-7d27-fc0608ab1469 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 175.045702ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 4bde2630-fa5d-325d-0272-c6416539a550 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:02 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - dc4392b0-7678-4b80-53c7-4652270b01b0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 265.802605ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ae8d51fa-34d4-3a63-2b39-57e49867445d + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:03 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 32da9d19-4b4f-4fa3-5d35-cd6207e531c6 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 280.544561ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 159 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"Description of my updated role collection","globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 56d7e5fb-0c0d-2c4a-f4a4-bd3c334c203c + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:03 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4ff2c8d0-7ed2-4816-57ee-ead47ff107eb + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 206.054584ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 216 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection","roleName":"Global Account Viewer","roleTemplateAppID":"cis-central!b13","roleTemplateName":"GlobalAccount_Viewer"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c574a565-4cc1-84ac-bd84-b25fc3cf7b03 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?remove + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:03 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f0593404-31d1-4686-523b-8aa8f45e5dec + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 158.508366ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 230 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection","roleName":"System Landscape Viewer","roleTemplateAppID":"cmp!b17875","roleTemplateName":"GlobalAccount_System_Landscape_Viewer"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f9311ce3-23e3-2398-6f4c-eca22c44dcb8 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:03 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6b2dc993-fcd6-440b-43ce-9f21ead9799c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 219.687906ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 101 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b0767487-39d1-d29f-5838-6edb93ea50c9 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my updated role collection","roleReferences":[{"roleTemplateAppId":"cmp!b17875","roleTemplateName":"GlobalAccount_System_Landscape_Viewer","name":"System Landscape Viewer","description":"Viewer access to systems and scenario-related resources."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:03 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 97f2efd8-6b3d-4d61-5dc1-df967560445b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 311.977968ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5d8245b4-44bf-1e55-8cd5-c54ac88e428f + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:04 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 04c4219a-a644-408d-6d3b-407c0e068ef7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 339.165906ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9a2520cf-19fb-106d-c880-18bed40ad371 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:04 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 651055fa-a358-4abe-7280-7bde87cd6efe + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 233.748367ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 101 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 7de29693-bc4f-bb21-088b-fe3064bfdc5b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my updated role collection","roleReferences":[{"roleTemplateAppId":"cmp!b17875","roleTemplateName":"GlobalAccount_System_Landscape_Viewer","name":"System Landscape Viewer","description":"Viewer access to systems and scenario-related resources."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:05 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eee3bf3c-cd3b-4b8e-6cb4-6b66a16e3e38 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 321.162858ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 67d9ce8d-dce1-688d-a57e-a229534253f3 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:05 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d9b070c7-daa2-40cc-4b34-aec3454a6dfc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 432.991546ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5990eb6d-d9dc-2dc9-c436-db26dd4376ef + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 837eaae6-3422-4e16-49e6-329a0c387d3c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 330.395323ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 101 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1ed956cd-8e3a-834e-0884-2716af3d8666 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my updated role collection","roleReferences":[{"roleTemplateAppId":"cmp!b17875","roleTemplateName":"GlobalAccount_System_Landscape_Viewer","name":"System Landscape Viewer","description":"Viewer access to systems and scenario-related resources."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b91824b3-e031-429c-6dcb-f43ac46cdc80 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 164.411803ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1120bfc4-a8b8-d10e-009f-4a3543eda344 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e682e5e2-8075-4955-7719-3ad92b3e3750 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 300.210183ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a2af521e-df7b-af00-09fb-e942dde018b1 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0d0463af-ebc8-4062-7099-8b592db45f0b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 288.739886ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 101 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"globalAccount":"terraformintcanary","roleCollectionName":"My new role collection"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c5a218ae-ba5f-786b-ec30-3a94be6e1e0f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 08:44:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4a9eb174-466f-4439-5baa-7e719f4858fe + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 164.696251ms diff --git a/internal/provider/fixtures/resource_globalaccount_role_collection.yaml b/internal/provider/fixtures/resource_globalaccount_role_collection.yaml index af6da867..dea5b6a1 100644 --- a/internal/provider/fixtures/resource_globalaccount_role_collection.yaml +++ b/internal/provider/fixtures/resource_globalaccount_role_collection.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - cb783e9b-c6bf-b360-5014-6c832185ad65 + - 30538882-2114-b23d-b634-3970875197f1 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:44 GMT + - Tue, 18 Jul 2023 08:43:53 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 6d20c31b-3dba-488e-7d85-f166b0b5dfe1 + - fcab9eaa-0db0-4a20-612d-af987b5c59f3 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 976.2345ms + duration: 1.098987151s - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - a04e6ed8-153f-73da-be67-e8b8e9ced385 + - 88cbe351-955b-3515-50de-2ce0649b853c X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:45 GMT + - Tue, 18 Jul 2023 08:43:53 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - e986dafb-d6d5-47f8-5fcd-89c86c44c50a + - ce751fed-3f99-44ec-747c-a0f37dc16c38 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 583.0674ms + duration: 354.902554ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 30e9b629-c0c8-10b1-709a-d76462fa0ca4 + - d7f9f790-7f8a-b613-d785-7a9a0ac2d221 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:46 GMT + - Tue, 18 Jul 2023 08:43:54 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3b02cfbb-0202-4066-591d-9eacc0dfc737 + - b961ffa5-0e9f-4177-46a2-2422b9907b4a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 565.7528ms + duration: 435.168195ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 1850fbbc-dc89-6308-ae56-a63933b28631 + - f72c61a0-7377-22a6-3f14-aa21e2a5c07a X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:46 GMT + - Tue, 18 Jul 2023 08:43:54 GMT Expires: - "0" Pragma: @@ -255,12 +255,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3cce5526-0329-4e68-70f3-42fa50f793ac + - 50f9a21f-b86a-4203-4e38-fed9b1aa589f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 332.7771ms + duration: 221.006719ms - id: 4 request: proto: HTTP/1.1 @@ -279,9 +279,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 8e447aad-43b0-1bed-5736-ca56b690eb3e + - 096b1c1f-5bb4-e8f0-8b33-4bd51bee9353 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:46 GMT + - Tue, 18 Jul 2023 08:43:54 GMT Expires: - "0" Pragma: @@ -327,18 +327,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 9d2714ef-689a-48aa-5c22-ada42aa2c326 + - 1670bd0b-92a6-495b-7c1f-9c9c8646d1d4 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 278.396ms + duration: 222.738489ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -351,9 +351,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 077bd7fe-d93b-26b4-15de-53baea263c51 + - 13c65a47-c502-45c3-9894-c5749ed7f115 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -364,18 +364,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:47 GMT + - Tue, 18 Jul 2023 08:43:55 GMT Expires: - "0" Pragma: @@ -389,18 +389,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 69769d52-0868-470f-5dea-aa92d01f11a5 + - f1d1a7e4-59d6-4e2e-63d4-db9f570364b5 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 558.5997ms + duration: 256.410357ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -413,9 +413,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - eae6a892-60db-9127-77e8-df378d7b48fa + - 0287f371-50b3-1564-5518-6ed3debf2c0e X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -426,18 +426,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:47 GMT + - Tue, 18 Jul 2023 08:43:55 GMT Expires: - "0" Pragma: @@ -451,12 +451,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 27983331-37e6-4623-6a3a-af64119d7107 + - 864aca75-8126-4e90-68cd-9400afdc9faf X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 540.8229ms + duration: 288.208856ms - id: 7 request: proto: HTTP/1.1 @@ -475,9 +475,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - c02b8c15-e41c-28d4-f09b-fa1bad62ca00 + - f83fc402-1db9-cda6-b105-e0b8571a900d X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -503,7 +503,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:48 GMT + - Tue, 18 Jul 2023 08:43:56 GMT Expires: - "0" Pragma: @@ -525,18 +525,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 084bcedf-4967-4293-795a-671628e63138 + - d3b0a7c5-84b3-4207-729b-22efdc070b1f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 197.007ms + duration: 161.434251ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -549,9 +549,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 17536b7b-1b1b-716e-1ca3-48806b93d189 + - e9a4b679-9a2a-0a31-20ac-fa773b407e9b X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -562,18 +562,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:48 GMT + - Tue, 18 Jul 2023 08:43:56 GMT Expires: - "0" Pragma: @@ -587,18 +587,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 86624784-fca2-4bb1-5af4-982a4567f848 + - d35dc072-fb1e-4ea1-79ed-22c6f7a68557 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 511.0329ms + duration: 219.359784ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -611,9 +611,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 691e10ed-f421-1a06-9620-d73a9f8999c2 + - bd6a720f-df59-3910-c443-eb0e213cfc0b X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -624,18 +624,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:49 GMT + - Tue, 18 Jul 2023 08:43:56 GMT Expires: - "0" Pragma: @@ -649,12 +649,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - b13aa442-5dd3-40b0-4359-d5b6ba0ef262 + - 05f20510-5be0-4bf2-4214-4d38c8087e4c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 414.3016ms + duration: 235.390346ms - id: 10 request: proto: HTTP/1.1 @@ -673,9 +673,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 48903d93-f0d8-3d25-7951-74cea865d5bc + - 6033cd63-61d7-37b5-efef-94dabff15337 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -701,7 +701,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:49 GMT + - Tue, 18 Jul 2023 08:43:57 GMT Expires: - "0" Pragma: @@ -723,18 +723,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a5fb4d00-3a3b-4702-4fb6-c28c64df1486 + - bdfcb818-4c90-4219-68b1-420efa67bd21 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 283.7981ms + duration: 186.320986ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -747,9 +747,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 0d0acd62-e364-ac61-d831-119b7cb3d832 + - 8da961af-cdd0-417f-c615-c1ceca23c9b1 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -760,18 +760,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:50 GMT + - Tue, 18 Jul 2023 08:43:57 GMT Expires: - "0" Pragma: @@ -785,18 +785,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - f861adf9-14cc-499f-70dd-40e988799743 + - 698ddab1-1e53-4697-4978-57a01fb6d0b2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 458.2235ms + duration: 228.327677ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -809,9 +809,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 70bd8f84-881a-eba2-9b78-bd6bdfb4a294 + - 5826d39e-39b0-b40c-7cf4-e16b0d9e415a X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -822,18 +822,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:50 GMT + - Tue, 18 Jul 2023 08:43:57 GMT Expires: - "0" Pragma: @@ -847,12 +847,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c2ef2901-1863-4e1c-66ae-db05a61cdd79 + - e7b9bae0-e0a6-417d-7527-cbd8885be3f4 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 447.1014ms + duration: 219.393603ms - id: 13 request: proto: HTTP/1.1 @@ -871,9 +871,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 6178d606-b9b6-80f4-c64c-8800f15ae544 + - 3780b49e-93db-57c9-cb98-9a648cc92e20 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -899,7 +899,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 03 Jul 2023 08:23:50 GMT + - Tue, 18 Jul 2023 08:43:58 GMT Expires: - "0" Pragma: @@ -919,9 +919,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 727bb524-e25f-4a0f-4cf7-968c9215711f + - 7034f7cd-fd21-4f1d-4348-66aad80bc76a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 258.7557ms + duration: 195.030929ms diff --git a/internal/provider/fixtures/resource_subaccount_role_collection_import_error.yaml b/internal/provider/fixtures/resource_subaccount_role_collection.import_error.yaml similarity index 65% rename from internal/provider/fixtures/resource_subaccount_role_collection_import_error.yaml rename to internal/provider/fixtures/resource_subaccount_role_collection.import_error.yaml index 7f121bb7..3fffc86f 100644 --- a/internal/provider/fixtures/resource_subaccount_role_collection_import_error.yaml +++ b/internal/provider/fixtures/resource_subaccount_role_collection.import_error.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 2ff3d124-4586-f111-47f3-27bd48ab07a6 + - 0bd01608-d03d-daa6-be68-2d6c77d8c274 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:04 GMT + - Tue, 18 Jul 2023 07:58:28 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 99f8db4d-9cc3-49af-4ea3-0e49d81885e4 + - 7011788c-fe2e-4258-500d-a90f76b5ffbc X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 380.7514ms + duration: 379.309275ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - faeecaaf-3911-b697-2d65-be677b69df34 + - 080b414c-dfd4-bd03-62c2-c1dcea4b451a X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:05 GMT + - Tue, 18 Jul 2023 07:58:29 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ea5cf721-d7ae-4d54-6cd4-ab3336f111b6 + - 80c8de94-de37-4999-4056-44472b681824 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 493.6925ms + duration: 305.827833ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - fc29315f-e4a5-8ce8-b12b-85ea7c65c683 + - b4cc1781-3b2b-f982-13cf-e71622ba51ef X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:06 GMT + - Tue, 18 Jul 2023 07:58:29 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ad18a8ff-7b03-42ef-417b-5da60e25cc32 + - 9b7e5bcf-f316-446b-6c31-30a22a523277 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 403.8209ms + duration: 223.116328ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - e9612ccd-0ffd-c1b7-2f1d-20f4fe38a49d + - 5d118fbd-0ec1-504c-9e3c-f800cdd878a6 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:36:07 GMT + - Tue, 18 Jul 2023 07:58:29 GMT Expires: - "0" Location: @@ -257,12 +257,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - d5aa5f2e-5156-4f14-6435-368d6acb0bcb + - 67898dc4-8f39-441f-4ac6-589882b201dd X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 187.2088ms + duration: 172.148362ms - id: 4 request: proto: "" @@ -283,9 +283,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?create User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - e9612ccd-0ffd-c1b7-2f1d-20f4fe38a49d + - 5d118fbd-0ec1-504c-9e3c-f800cdd878a6 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -313,7 +313,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:07 GMT + - Tue, 18 Jul 2023 07:58:30 GMT Expires: - "0" Pragma: @@ -335,322 +335,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 5d8d6e2b-8e6c-49e8-6d54-c1d7258db4db + - 1752a26f-7414-466b-7242-3c9570b950ef X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 136.4399ms + duration: 116.135586ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 235 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Destination Viewer","roleTemplateAppID":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev - X-Correlationid: - - e9b842ab-042a-b6fd-cb31-2175a27d23ac - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "0" - Date: - - Wed, 05 Jul 2023 08:36:07 GMT - Expires: - - "0" - Location: - - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Frame-Options: - - DENY - X-Id-Token: - - redacted - X-Vcap-Request-Id: - - f0f0c6ce-a033-4eb2-7917-4d91946c5565 - X-Xss-Protection: - - "0" - status: 307 Temporary Redirect - code: 307 - duration: 228.8484ms - - id: 6 - request: - proto: "" - proto_major: 0 - proto_minor: 0 - content_length: 235 - transfer_encoding: [] - trailer: {} - host: "" - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Destination Viewer","roleTemplateAppID":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - Referer: - - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add - User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev - X-Correlationid: - - e9b842ab-042a-b6fd-cb31-2175a27d23ac - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Id-Token: - - redacted - url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Wed, 05 Jul 2023 08:36:08 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "200" - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - 23b07b6b-bca8-48f8-6071-5c304cafa886 - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 140.915ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 221 - transfer_encoding: [] - trailer: {} - host: cpcli.cf.sap.hana.ondemand.com - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Viewer","roleTemplateAppID":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev - X-Correlationid: - - f553f02c-d4b6-a40f-599b-5ec158d9501d - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - terraformintcanary - url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - "0" - Date: - - Wed, 05 Jul 2023 08:36:08 GMT - Expires: - - "0" - Location: - - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Frame-Options: - - DENY - X-Id-Token: - - redacted - X-Vcap-Request-Id: - - 69ccbe53-6129-448c-4b1f-298cd37e6c57 - X-Xss-Protection: - - "0" - status: 307 Temporary Redirect - code: 307 - duration: 220.4567ms - - id: 8 - request: - proto: "" - proto_major: 0 - proto_minor: 0 - content_length: 221 - transfer_encoding: [] - trailer: {} - host: "" - remote_addr: "" - request_uri: "" - body: | - {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Viewer","roleTemplateAppID":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} - form: {} - headers: - Content-Type: - - application/json - Referer: - - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add - User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev - X-Correlationid: - - f553f02c-d4b6-a40f-599b-5ec158d9501d - X-Cpcli-Customidp: - - "" - X-Cpcli-Format: - - json - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Subdomain: - - integration-test-acc-static-b8xxozer - X-Id-Token: - - redacted - url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: "" - headers: - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Content-Type: - - application/json - Date: - - Wed, 05 Jul 2023 08:36:08 GMT - Expires: - - "0" - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload; - X-Content-Type-Options: - - nosniff - X-Cpcli-Backend-Status: - - "200" - X-Cpcli-Refreshtoken: - - redacted - X-Cpcli-Replacementrefreshtoken: - - redacted - X-Frame-Options: - - DENY - X-Vcap-Request-Id: - - f2df7e8c-9808-4c75-43bc-c2a83241ef9f - X-Xss-Protection: - - "0" - status: 200 OK - code: 200 - duration: 105.965ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -663,9 +359,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 145a2b49-a2bc-459d-71d4-4860e14a7925 + - 12744e45-7fbb-5b96-9cde-440be7455696 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -676,18 +372,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:09 GMT + - Tue, 18 Jul 2023 07:58:30 GMT Expires: - "0" Pragma: @@ -701,18 +397,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 915afeb2-5adf-4e88-6df5-bbbd4e14f84f + - bc22db23-f329-49f5-7300-2849c8b07c1a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 431.6558ms - - id: 10 + duration: 270.691747ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -725,9 +421,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 56225ed1-e1a5-9c66-5711-d3448110eedd + - e0cf98e9-4ef4-339f-5b57-234920449170 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -738,18 +434,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:10 GMT + - Tue, 18 Jul 2023 07:58:31 GMT Expires: - "0" Pragma: @@ -763,13 +459,13 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 88e3bc2a-3d11-465d-7cf4-406e87adfa29 + - 63c2ed73-6790-4bc0-6f2a-42e16ad81cd4 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 469.961ms - - id: 11 + duration: 306.169637ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -787,9 +483,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 27e0a9d3-662b-4f5d-2959-ad21f659aff7 + - 1d06c58c-42e0-1174-bbb2-0bb3ad8cb863 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -815,7 +511,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:36:11 GMT + - Tue, 18 Jul 2023 07:58:31 GMT Expires: - "0" Location: @@ -839,13 +535,13 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - d63dc900-efc8-418e-4cb7-ebe6ad9904e8 + - 4e7bc143-19ca-48f8-67a6-96faff43d947 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 165.7352ms - - id: 12 + duration: 159.268739ms + - id: 8 request: proto: "" proto_major: 0 @@ -865,9 +561,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 27e0a9d3-662b-4f5d-2959-ad21f659aff7 + - 1d06c58c-42e0-1174-bbb2-0bb3ad8cb863 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -888,14 +584,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","name":"Destination Viewer","description":"View destination configurations, certificates and signing keys for SAML assertions issued by the Destination service"},{"roleTemplateAppId":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","name":"Subaccount Viewer","description":"Role for subaccount members with read-only authorizations for core commercialization operations, such as viewing subaccount entitlements, details of environment instances, and job results."}],"isReadOnly":false}' + body: '{"name":"My new role collection","description":"Description of my new role collection","isReadOnly":false}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:11 GMT + - Tue, 18 Jul 2023 07:58:31 GMT Expires: - "0" Pragma: @@ -917,18 +613,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 90c0e27b-63d2-4cfb-47ec-33ed36fa984f + - 7db2cff5-3947-490a-51e9-92c7ec4ece4d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 90.541ms - - id: 13 + duration: 107.962565ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -941,9 +637,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - c727866f-b6e6-ffbc-3188-b3539a82a9ef + - 271bfb67-0bda-2cd7-f30d-dc66ce887db0 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -954,18 +650,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:12 GMT + - Tue, 18 Jul 2023 07:58:31 GMT Expires: - "0" Pragma: @@ -979,18 +675,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 1ee92c5e-7eb8-4061-7b46-0a9f3f2b7a7a + - 9d2a9565-c641-4e0c-75e4-e097ae67febd X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 399.3183ms - - id: 14 + duration: 215.355274ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -1003,9 +699,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - dcfba494-40f7-62ac-c796-47964f30dedc + - 51edc016-3135-903f-8396-0f9154b236ea X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1016,18 +712,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:12 GMT + - Tue, 18 Jul 2023 07:58:32 GMT Expires: - "0" Pragma: @@ -1041,18 +737,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - d858c1ba-2f5c-436a-53d0-87c412d4f613 + - 5dc5ae49-7fe5-45b4-429c-051a95c58d63 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 401.7923ms - - id: 15 + duration: 305.654745ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -1065,9 +761,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - b00daaac-2149-067b-0c85-c0553911dfe1 + - 67c3a789-3bea-d928-2790-c9292e8db58c X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1078,18 +774,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:13 GMT + - Tue, 18 Jul 2023 07:58:32 GMT Expires: - "0" Pragma: @@ -1103,18 +799,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 125d70da-ac30-4ba2-5be4-837d9a2e9af0 + - 7db7acbf-332f-42db-68ea-ff8ea98d0e15 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 349.991ms - - id: 16 + duration: 369.606502ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -1127,9 +823,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 8a87de33-02da-aafe-1680-5b00bf912f2c + - 2abae6cc-9d0d-8fb1-ae28-576f447c78e9 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1140,18 +836,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:14 GMT + - Tue, 18 Jul 2023 07:58:33 GMT Expires: - "0" Pragma: @@ -1165,13 +861,13 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 9480c75a-059f-4cff-5d29-2ac75188a49a + - 43ce5453-5773-4852-4300-8075a2c43ecc X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 454.2472ms - - id: 17 + duration: 262.76132ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1189,9 +885,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 13327f36-56cf-ac05-3e6e-c3de6bdcf9ba + - 3cadf567-fa1a-ff37-7b20-8babc6a97b35 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1217,7 +913,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:36:15 GMT + - Tue, 18 Jul 2023 07:58:33 GMT Expires: - "0" Location: @@ -1241,13 +937,13 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 0c711343-ac62-4ba2-49c9-231448f27948 + - 31f2cc10-a14e-4655-68dd-edeb8960ef44 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 194.0285ms - - id: 18 + duration: 181.834238ms + - id: 14 request: proto: "" proto_major: 0 @@ -1267,9 +963,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?delete User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 13327f36-56cf-ac05-3e6e-c3de6bdcf9ba + - 3cadf567-fa1a-ff37-7b20-8babc6a97b35 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1297,7 +993,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:15 GMT + - Tue, 18 Jul 2023 07:58:33 GMT Expires: - "0" Pragma: @@ -1317,9 +1013,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 7f53ca37-2206-4574-5c84-ae7776a762b9 + - 4a3caa10-88f1-4568-5124-8bc7b7e8a4d7 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 149.8458ms + duration: 133.779935ms diff --git a/internal/provider/fixtures/resource_subaccount_role_collection.update.yaml b/internal/provider/fixtures/resource_subaccount_role_collection.update.yaml new file mode 100644 index 00000000..b6976bd3 --- /dev/null +++ b/internal/provider/fixtures/resource_subaccount_role_collection.update.yaml @@ -0,0 +1,2921 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 4ab22bec-6fb4-ff99-5c0e-cc1e2ff76a6b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 26bc26c7-e548-40fe-682c-de69ec0bbbc0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 366.259851ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 6d3cd393-fefc-173f-2cc2-c9236e72caed + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d3dabcd1-1f34-4c23-584f-15d0a478a616 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 229.012193ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - bc00abd9-e553-c45f-6fec-ca6995ca58c0 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - edb53a43-a0df-44be-7d24-09b014b1125b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 225.044109ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 170 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"Description of my new role collection","roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b08430d8-50ec-ddc4-fef8-8a341182e30f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:18 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?create + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 0f066901-f5ea-4060-5a0d-aaeb19d93eec + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 172.314492ms + - id: 4 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 170 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"Description of my new role collection","roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?create + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b08430d8-50ec-ddc4-fef8-8a341182e30f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b774540f-21fa-4cb4-550a-d81f2ed68381 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 169.543568ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 235 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Destination Viewer","roleTemplateAppID":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f4cd5ca5-8752-0ed2-3172-141591b84d99 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:19 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 35f323e8-a0ac-4ce3-5f14-9af01c06b2f5 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 173.954655ms + - id: 6 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 235 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Destination Viewer","roleTemplateAppID":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f4cd5ca5-8752-0ed2-3172-141591b84d99 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8c0ee822-9d08-4842-44a9-907b9be6a3a9 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 113.152463ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 221 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Viewer","roleTemplateAppID":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 6ec4c391-5e8f-62b6-a84f-dd366f3b4777 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:19 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - e404487d-ccce-44ba-414c-f5e6fcecdf41 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 255.906742ms + - id: 8 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 221 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Viewer","roleTemplateAppID":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 6ec4c391-5e8f-62b6-a84f-dd366f3b4777 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 80f8b85a-a183-46e4-4f51-3d38435a7de7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 106.266238ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b6ff3097-cfcc-5873-ab03-9cd526e14765 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c28b020b-97c2-43ab-4e5e-b8dbd1de7037 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 262.15607ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - d3dd975f-c68b-c4cb-fe21-7afccd0d79d5 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1443e332-d643-4ac3-70d1-699519cfd7d0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 211.332549ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1ab50ec5-7f06-3e92-619f-9a8a2cad21b2 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:20 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 8fb8f161-e86f-4d7d-564e-0bb15fd5d531 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 176.314659ms + - id: 12 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1ab50ec5-7f06-3e92-619f-9a8a2cad21b2 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","name":"Destination Viewer","description":"View destination configurations, certificates and signing keys for SAML assertions issued by the Destination service"},{"roleTemplateAppId":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","name":"Subaccount Viewer","description":"Role for subaccount members with read-only authorizations for core commercialization operations, such as viewing subaccount entitlements, details of environment instances, and job results."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 271ed66f-f0fc-461b-4114-a9f4cafb7e07 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 151.384815ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - e04abf48-5ba9-7962-852b-25ece0068a64 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 12024764-0f34-4f5e-72ad-1ec0cb1f73a3 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 208.760382ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 6a5455ed-9dc4-25b6-422d-13d8ea740cd2 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:21 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a836e1a0-a8b7-4c3a-4f23-8206e72cd097 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 243.294493ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1d9c485e-c0db-7d8b-3b35-a76051d081c3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:21 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 75260756-2aab-4ee0-5889-629889c155e2 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 315.768219ms + - id: 16 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1d9c485e-c0db-7d8b-3b35-a76051d081c3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","name":"Destination Viewer","description":"View destination configurations, certificates and signing keys for SAML assertions issued by the Destination service"},{"roleTemplateAppId":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","name":"Subaccount Viewer","description":"Role for subaccount members with read-only authorizations for core commercialization operations, such as viewing subaccount entitlements, details of environment instances, and job results."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:21 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eaac705f-8670-44bc-6729-35a233cb54ee + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 94.754237ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - e90b67bb-fc80-e453-8198-22c9e827ea58 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:22 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f81d695e-81e4-4374-64ac-8ee9dc8ba022 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 282.408291ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b6766d85-eb6c-395c-4707-108f17031550 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:22 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 2d910e57-9f80-4d4c-4076-820dca8fda06 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 343.835466ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 170 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"Description of my new role collection","roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ec53126a-2fed-6d1d-d20a-c76dda96b49e + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:22 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?update + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 670501e4-babb-49d8-60d0-8225f3dc8c6e + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 181.210513ms + - id: 20 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 170 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"description":"Description of my new role collection","roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?update + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ec53126a-2fed-6d1d-d20a-c76dda96b49e + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bbb8933e-71b1-4673-4180-8ac6585d6a84 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 104.138502ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 235 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Destination Viewer","roleTemplateAppID":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 2c356757-17c7-f985-344d-1c362a35b15c + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?remove + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:23 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?remove + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 1fa5512f-c39c-402c-6098-41ac2742fbf4 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 158.818065ms + - id: 22 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 235 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Destination Viewer","roleTemplateAppID":"destination-xsappname!b9","roleTemplateName":"Destination_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?remove + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 2c356757-17c7-f985-344d-1c362a35b15c + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?remove + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0b04621c-4300-410c-4219-f4981844169d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 116.73271ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 221 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Viewer","roleTemplateAppID":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9aadc5d0-69d2-1b2b-bd65-35d3502b1433 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?remove + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:23 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?remove + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 9d7f3c37-eb59-4a1a-70ec-2c701c9abab9 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 163.144985ms + - id: 24 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 221 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Viewer","roleTemplateAppID":"cis-local!b2","roleTemplateName":"Subaccount_Viewer","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?remove + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9aadc5d0-69d2-1b2b-bd65-35d3502b1433 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?remove + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 888e2f05-b581-4d91-66a7-f5fcf19e609b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 106.297034ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 245 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Service Auditor","roleTemplateAppID":"service-manager!b3","roleTemplateName":"Subaccount_Service_Auditor","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9bd0cba9-40a7-3307-4961-f18b40c4a3ec + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:23 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2cff3c36-d946-4c12-6827-9cbb0c10482c + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 290.019607ms + - id: 26 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 245 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","roleName":"Subaccount Service Auditor","roleTemplateAppID":"service-manager!b3","roleTemplateName":"Subaccount_Service_Auditor","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9bd0cba9-40a7-3307-4961-f18b40c4a3ec + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role?add + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d2fb728f-abf7-4748-5d63-fbc2320cda0a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 202.494964ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 8f67fc81-a5fe-3852-263a-ec3ec8f67374 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:24 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 15583e6e-d24a-462e-7017-623d3a9f657e + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 164.09465ms + - id: 28 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 8f67fc81-a5fe-3852-263a-ec3ec8f67374 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"service-manager!b3","roleTemplateName":"Subaccount_Service_Auditor","name":"Subaccount Service Auditor","description":"Read-only access to service brokers and environments on a subaccount level."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d41aefb2-2376-43a8-4e4b-cfa1d4b235fd + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 87.41048ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 63c4ba3c-db0b-c700-194b-40ae11a6e9dd + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6996b23f-bf9f-42f3-52c6-52d70d55933d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 193.367948ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 71049de7-8c0f-9ef1-e3a4-f0c4794b1ce6 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:25 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0549dd65-0ec2-4403-699e-c848c2db700b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 337.761111ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c274f40c-64ad-d915-6b7f-1d0d9fff58d1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:25 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - bffe2e04-187c-4d3c-5bd3-ee6933efcd53 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 202.308133ms + - id: 32 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c274f40c-64ad-d915-6b7f-1d0d9fff58d1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"service-manager!b3","roleTemplateName":"Subaccount_Service_Auditor","name":"Subaccount Service Auditor","description":"Read-only access to service brokers and environments on a subaccount level."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:25 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 74718a9f-63c7-4c8c-7617-edfecbd9655d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 108.724713ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a839412e-693e-4443-6b61-0572b5290f61 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:25 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 147c9223-2188-45ec-665d-698dd43d81aa + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 247.715023ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - d867c4fa-4dcf-8f72-a13e-b7741a189510 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4bf85b9d-1fa5-4e9c-6998-abdca89cbb68 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 212.154949ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c48260fc-b5d5-a23d-8ac0-ec553e49451a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:26 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2cc8697a-3f64-4d09-5cc6-45cc732402c5 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 265.678589ms + - id: 36 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - c48260fc-b5d5-a23d-8ac0-ec553e49451a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"My new role collection","description":"Description of my new role collection","roleReferences":[{"roleTemplateAppId":"service-manager!b3","roleTemplateName":"Subaccount_Service_Auditor","name":"Subaccount Service Auditor","description":"Read-only access to service brokers and environments on a subaccount level."}],"isReadOnly":false}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 29b5adc9-0546-4378-6337-bfb907504f49 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 88.454584ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 63807087-183c-4d4d-db5b-fce68c72426d + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a12cceed-614a-4db4-5ca6-ccabf3643c87 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 428.723007ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 4622fd71-05a0-0313-d10b-ebecfca0e651 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 94c22cb0-9f59-4edd-5f02-3cb701e3e8eb + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 362.156014ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 95afd7ae-5f5c-81f9-f7bf-501dfda581ee + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 18 Jul 2023 07:58:28 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?delete + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - eb81777c-79c7-467f-400e-b4f1202b41d6 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 191.715926ms + - id: 40 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"roleCollectionName":"My new role collection","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?delete + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 95afd7ae-5f5c-81f9-f7bf-501dfda581ee + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/role-collection?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 18 Jul 2023 07:58:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - de551133-e4f8-4e0c-7c7e-fb83b93ac5e4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 166.579018ms diff --git a/internal/provider/fixtures/resource_subaccount_role_collection.yaml b/internal/provider/fixtures/resource_subaccount_role_collection.yaml index 9b66ee45..e04f405c 100644 --- a/internal/provider/fixtures/resource_subaccount_role_collection.yaml +++ b/internal/provider/fixtures/resource_subaccount_role_collection.yaml @@ -6,7 +6,7 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - aeaa85e0-237e-11e1-c68a-6485c6edb51c + - 2152fd2b-c164-b90e-4325-166e9fe26e39 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -32,18 +32,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:50 GMT + - Tue, 18 Jul 2023 07:58:09 GMT Expires: - "0" Pragma: @@ -57,18 +57,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 85709bba-2331-425d-75ef-5030f18f1fca + - 94c5ab91-45e1-4de9-578b-b2d08facf14c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 794.2464ms + duration: 617.528362ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - cad3e8d9-dc9c-db05-564f-736d2551ab02 + - b0365a15-5794-c131-7676-d4460c6deba8 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -94,18 +94,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:51 GMT + - Tue, 18 Jul 2023 07:58:09 GMT Expires: - "0" Pragma: @@ -119,18 +119,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - bbfd7408-b205-41ce-4b30-6cd837877636 + - 6c7b5ee5-1c84-4b2e-4134-cabdbb0c718e X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 554.0322ms + duration: 449.158272ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 224cd752-dc36-f632-bed2-64be7ff2b92c + - 8b016953-bce4-dc77-8459-51807b099283 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -156,18 +156,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:52 GMT + - Tue, 18 Jul 2023 07:58:10 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0c2684f6-089e-4b7a-5ab1-27141a283a15 + - 68425702-91ab-48f6-6f6f-ef7f3e94d5fc X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 475.8835ms + duration: 357.900965ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - db2ac430-1dc2-0a00-ccbf-3fd63d5f573d + - 95efb7ae-4fa3-1f12-302a-8b5cbdcdf999 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:35:53 GMT + - Tue, 18 Jul 2023 07:58:10 GMT Expires: - "0" Location: @@ -257,12 +257,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - e7563bc5-0b03-475e-5aba-bcb0b38f52c8 + - 5805d380-85ec-4f60-6f93-ebbd2cc90929 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 216.0356ms + duration: 289.534725ms - id: 4 request: proto: "" @@ -283,9 +283,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?create User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - db2ac430-1dc2-0a00-ccbf-3fd63d5f573d + - 95efb7ae-4fa3-1f12-302a-8b5cbdcdf999 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -313,7 +313,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:53 GMT + - Tue, 18 Jul 2023 07:58:11 GMT Expires: - "0" Pragma: @@ -335,12 +335,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8e755d1d-707e-4f58-7e81-118dcca3cd3b + - aaa02381-9bb8-434c-6e98-727b020fb838 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 381.0457ms + duration: 300.164681ms - id: 5 request: proto: HTTP/1.1 @@ -359,9 +359,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 63f48c4f-4ee6-dfce-5512-2a34cf46501e + - 76f04f55-b56f-7975-cf49-b0feae73e9f8 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -387,7 +387,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:35:54 GMT + - Tue, 18 Jul 2023 07:58:11 GMT Expires: - "0" Location: @@ -411,12 +411,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - ce46cac7-128b-4594-7c6e-20da8f32c7c7 + - e3f007d6-f3d0-4488-6173-8b68cf51c9db X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 185.8214ms + duration: 216.688733ms - id: 6 request: proto: "" @@ -437,9 +437,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 63f48c4f-4ee6-dfce-5512-2a34cf46501e + - 76f04f55-b56f-7975-cf49-b0feae73e9f8 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -467,7 +467,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:54 GMT + - Tue, 18 Jul 2023 07:58:11 GMT Expires: - "0" Pragma: @@ -487,12 +487,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a84f2909-2267-4d3a-6ed4-0ddcceb4fb38 + - 7df091f5-a37d-4a2b-7b0d-424ccc72f403 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 164.8456ms + duration: 93.568031ms - id: 7 request: proto: HTTP/1.1 @@ -511,9 +511,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 441411c2-ba4b-171b-26b6-7a60412d6f36 + - 00969f8d-cb00-2175-a140-282ba061b336 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -539,7 +539,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:35:55 GMT + - Tue, 18 Jul 2023 07:58:11 GMT Expires: - "0" Location: @@ -563,12 +563,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - d825a4b7-0857-48cb-74fd-6d65a9c296fc + - 8f6fef29-0252-493b-4898-cc0f6690e210 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 205.9043ms + duration: 323.120419ms - id: 8 request: proto: "" @@ -589,9 +589,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role?add User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 441411c2-ba4b-171b-26b6-7a60412d6f36 + - 00969f8d-cb00-2175-a140-282ba061b336 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -619,7 +619,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:55 GMT + - Tue, 18 Jul 2023 07:58:11 GMT Expires: - "0" Pragma: @@ -639,18 +639,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 16c1f874-5a5b-4b8f-616b-9c9ccad0268b + - ee12d1b9-a798-4263-6492-0a3ca0be9a11 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 162.3103ms + duration: 106.620333ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -663,9 +663,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - dff55b6f-cc46-d3cc-6351-c31a74ee65a9 + - 39028741-66f4-eb73-3f05-ab8db54ff5b9 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -676,18 +676,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:56 GMT + - Tue, 18 Jul 2023 07:58:12 GMT Expires: - "0" Pragma: @@ -701,18 +701,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 2132b136-b7ae-4e20-6467-51b2d53b1648 + - 6d554754-c984-4a48-6aff-a5e446d6b021 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 468.6581ms + duration: 310.728508ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -725,9 +725,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - aab6d15e-92f6-6fd5-116b-41d0d68767d7 + - 76a00aad-9a94-30e6-8710-8a887f9c8aaa X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -738,18 +738,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:57 GMT + - Tue, 18 Jul 2023 07:58:12 GMT Expires: - "0" Pragma: @@ -763,12 +763,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0f0faaee-98e8-48fa-73de-d3d1f1fecc1b + - 951c535b-83c5-45e0-77b8-d23265d6d9c7 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 476.4897ms + duration: 318.074854ms - id: 11 request: proto: HTTP/1.1 @@ -787,9 +787,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 632304c5-afa3-bf9b-9d23-a8906c57e2a9 + - e45335b2-8129-ae10-edba-c178e05f0b2c X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -815,7 +815,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:35:58 GMT + - Tue, 18 Jul 2023 07:58:13 GMT Expires: - "0" Location: @@ -839,12 +839,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - cf6a5682-cdf0-4fbb-5969-9d5b5da9c12f + - e9142949-a06d-488e-596c-8008c2b176db X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 217.4836ms + duration: 236.726168ms - id: 12 request: proto: "" @@ -865,9 +865,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 632304c5-afa3-bf9b-9d23-a8906c57e2a9 + - e45335b2-8129-ae10-edba-c178e05f0b2c X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -895,7 +895,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:58 GMT + - Tue, 18 Jul 2023 07:58:13 GMT Expires: - "0" Pragma: @@ -917,18 +917,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - b0680645-ae8c-4506-687d-b11dd4d951a5 + - 09c2e056-11ac-472f-57eb-4587423bf50b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 142.5453ms + duration: 244.607491ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -941,9 +941,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 02498361-bf55-33f4-fcce-52194c354ba6 + - 343285ce-c07d-8937-84ad-3df47647c7e7 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -954,18 +954,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:35:59 GMT + - Tue, 18 Jul 2023 07:58:14 GMT Expires: - "0" Pragma: @@ -979,18 +979,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 6ff8d170-4596-4e5d-7816-944e56f78c10 + - cc7d4df9-b475-4b4d-7ac8-5a7f3d626c47 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 472.088ms + duration: 549.216778ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -1003,9 +1003,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 5bb64014-ecb9-0372-9451-dd26ba818b8d + - 4df3c40f-e6d6-cdd2-f54d-51047c010fb0 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1016,18 +1016,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:00 GMT + - Tue, 18 Jul 2023 07:58:14 GMT Expires: - "0" Pragma: @@ -1041,12 +1041,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 14c97681-c24c-4ba3-4e7b-1728f61765f6 + - bbb0b74e-9bae-453b-7032-ad26f7db8ede X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 432.3208ms + duration: 313.522906ms - id: 15 request: proto: HTTP/1.1 @@ -1065,9 +1065,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 106ea096-7f9e-bf24-582e-cfaeffd8669b + - b0067203-a489-5d4f-ff93-991dcb67dddd X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1093,7 +1093,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:36:00 GMT + - Tue, 18 Jul 2023 07:58:15 GMT Expires: - "0" Location: @@ -1117,12 +1117,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - e69c6e94-d989-432c-7cfd-3aa996936270 + - 4a604ad2-28c1-421d-6598-162c0cd794a2 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 196.0791ms + duration: 267.485855ms - id: 16 request: proto: "" @@ -1143,9 +1143,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?get User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 106ea096-7f9e-bf24-582e-cfaeffd8669b + - b0067203-a489-5d4f-ff93-991dcb67dddd X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1173,7 +1173,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:01 GMT + - Tue, 18 Jul 2023 07:58:15 GMT Expires: - "0" Pragma: @@ -1195,18 +1195,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 175b5f95-6dbf-4be7-60c1-7aaf95ac607d + - 820820ce-3fb2-486f-6fc6-b37d08df066f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 269.0629ms + duration: 167.046108ms - id: 17 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -1219,9 +1219,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - c3380eb0-3276-37ce-60e1-b44efa435221 + - 9c98dd82-4d5d-be7e-98d6-f6071cbd63ff X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1232,18 +1232,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:02 GMT + - Tue, 18 Jul 2023 07:58:16 GMT Expires: - "0" Pragma: @@ -1257,18 +1257,18 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0f9ee50d-2d6c-4253-4962-ae7580deeb27 + - f81db3d5-4412-45a2-5ccf-b78cd19e42df X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 470.8149ms + duration: 610.07724ms - id: 18 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 118 + content_length: 127 transfer_encoding: [] trailer: {} host: cpcli.cf.sap.hana.ondemand.com @@ -1281,9 +1281,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - d05075c0-5ae7-9a50-074a-1d9f524e4e05 + - ee82101f-4f6b-97c7-cf5f-6298ef31ba56 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1294,18 +1294,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 162 uncompressed: false body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Length: - - "149" + - "162" Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:03 GMT + - Tue, 18 Jul 2023 07:58:16 GMT Expires: - "0" Pragma: @@ -1319,12 +1319,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c6784166-e7b0-423f-582c-c57616d9b895 + - 4d5d6956-c607-4b4b-6537-83a8c35de01f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 378.9085ms + duration: 430.467616ms - id: 19 request: proto: HTTP/1.1 @@ -1343,9 +1343,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 10178ef0-d178-55a1-b354-cdc87a80b372 + - 785032a9-2567-759c-23c9-fd48f8d5c773 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1371,7 +1371,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 05 Jul 2023 08:36:03 GMT + - Tue, 18 Jul 2023 07:58:16 GMT Expires: - "0" Location: @@ -1395,12 +1395,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - d734a1f4-1d5e-4fa9-4316-3370bc7c9568 + - 9ce77d1f-8272-4f0a-64b6-57e28e20168c X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 225.4648ms + duration: 304.346027ms - id: 20 request: proto: "" @@ -1421,9 +1421,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/role-collection?delete User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.0 terraform-provider-btp/dev X-Correlationid: - - 10178ef0-d178-55a1-b354-cdc87a80b372 + - 785032a9-2567-759c-23c9-fd48f8d5c773 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1451,7 +1451,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 05 Jul 2023 08:36:03 GMT + - Tue, 18 Jul 2023 07:58:17 GMT Expires: - "0" Pragma: @@ -1471,9 +1471,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 9d9eeaf8-e479-48ce-4c4e-e4bbab330fd2 + - fd86cf05-0fd9-41bc-48c8-1bf8333c9646 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 106.4782ms + duration: 176.509418ms diff --git a/internal/provider/resource_directory_role_collection.go b/internal/provider/resource_directory_role_collection.go index d8f730a4..9b8a6dd1 100644 --- a/internal/provider/resource_directory_role_collection.go +++ b/internal/provider/resource_directory_role_collection.go @@ -3,6 +3,9 @@ package provider import ( "context" "fmt" + "github.com/SAP/terraform-provider-btp/internal/tfutils" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "strings" "github.com/hashicorp/terraform-plugin-framework/path" @@ -26,6 +29,15 @@ type directoryRoleCollectionRoleRefType struct { RoleTemplateName types.String `tfsdk:"role_template_name"` } +// TODO This predicate is planned to be replaced by letting the directoryRoleCollectionRoleRefType implement +// TODO terraform's attr.Value interface and move this code to its Equal method (see also tfutils.SetDifference). +// TODO This will allow to use types.Set instead of a slice for directoryRoleCollectionTypeConfig.Roles below. +func dirRoleRefIsEqual(roleA, roleB directoryRoleCollectionRoleRefType) bool { + return roleA.Name.Equal(roleB.Name) && + roleA.RoleTemplateAppId.Equal(roleB.RoleTemplateAppId) && + roleA.RoleTemplateName.Equal(roleB.RoleTemplateName) +} + type directoryRoleCollectionTypeConfig struct { Id types.String `tfsdk:"id"` DirectoryId types.String `tfsdk:"directory_id"` @@ -68,10 +80,15 @@ __Further documentation:__ DeprecationMessage: "Use the `directory_id` attribute instead", MarkdownDescription: "The ID of the directory.", Computed: true, - }, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }}, "name": schema.StringAttribute{ MarkdownDescription: "The name of the role collection.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "description": schema.StringAttribute{ MarkdownDescription: "The description of the role collection.", @@ -154,7 +171,7 @@ func (rs *directoryRoleCollectionType) Create(ctx context.Context, req resource. _, err := rs.cli.Security.Role.AddByDirectory(ctx, plan.DirectoryId.ValueString(), plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) if err != nil { - resp.Diagnostics.AddError("API Error Assigning Role To Role Collection (Directory)", fmt.Sprintf("%s", err)) + resp.Diagnostics.AddError("API Error Adding Role To Role Collection (Directory)", fmt.Sprintf("%s", err)) } } @@ -169,22 +186,60 @@ func (rs *directoryRoleCollectionType) Create(ctx context.Context, req resource. } func (rs *directoryRoleCollectionType) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + var state directoryRoleCollectionTypeConfig + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } var plan directoryRoleCollectionTypeConfig - diags := req.Plan.Get(ctx, &plan) + diags = req.Plan.Get(ctx, &plan) resp.Diagnostics.Append(diags...) if resp.Diagnostics.HasError() { return } - resp.Diagnostics.AddError("Error Updating Resource Role Collection (Directory)", "Update is not yet implemented.") - - /*TODO cliRes, err := rs.cli.Execute(ctx, btpcli.Update, rs.command, plan) + _, _, err := rs.cli.Security.RoleCollection.UpdateByDirectory(ctx, plan.DirectoryId.ValueString(), plan.Name.ValueString(), plan.Description.ValueString()) if err != nil { resp.Diagnostics.AddError("API Error Updating Resource Role Collection (Directory)", fmt.Sprintf("%s", err)) return - }*/ + } + + toBeRemoved := tfutils.SetDifference(state.Roles, plan.Roles, dirRoleRefIsEqual) + for _, role := range toBeRemoved { + _, err := rs.cli.Security.Role.RemoveByDirectory(ctx, plan.DirectoryId.ValueString(), plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) + + if err != nil { + resp.Diagnostics.AddError("API Error Removing Role From Role Collection (Directory)", fmt.Sprintf("%s", err)) + } + } + + toBeAdded := tfutils.SetDifference(plan.Roles, state.Roles, dirRoleRefIsEqual) + for _, role := range toBeAdded { + _, err := rs.cli.Security.Role.AddByDirectory(ctx, plan.DirectoryId.ValueString(), plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) + + if err != nil { + resp.Diagnostics.AddError("API Error Adding Role From Role Collection (Directory)", fmt.Sprintf("%s", err)) + } + } + + cliRes, _, err := rs.cli.Security.RoleCollection.GetByDirectory(ctx, plan.DirectoryId.ValueString(), plan.Name.ValueString()) + if err != nil { + resp.Diagnostics.AddError("API Error Reading Resource Role Collection (Directory)", fmt.Sprintf("%s", err)) + return + } + + state.Description = types.StringValue(cliRes.Description) + state.Roles = []directoryRoleCollectionRoleRefType{} + for _, role := range cliRes.RoleReferences { + state.Roles = append(state.Roles, directoryRoleCollectionRoleRefType{ + RoleTemplateName: types.StringValue(role.RoleTemplateName), + RoleTemplateAppId: types.StringValue(role.RoleTemplateAppId), + Name: types.StringValue(role.Name), + }) + } - diags = resp.State.Set(ctx, plan) + diags = resp.State.Set(ctx, &state) resp.Diagnostics.Append(diags...) if resp.Diagnostics.HasError() { return diff --git a/internal/provider/resource_directory_role_collection_test.go b/internal/provider/resource_directory_role_collection_test.go index ba1d026c..909aea5e 100644 --- a/internal/provider/resource_directory_role_collection_test.go +++ b/internal/provider/resource_directory_role_collection_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/resource" ) -// Needed for JSON mapping - fails with data types of globalaccountRoleCollectionRoleRef struc +// Needed for JSON mapping - fails with data types of directoryRoleCollectionRoleRefType struct type directoryRoleCollectionRoleRefTestType struct { Name string `json:"name"` RoleTemplateAppId string `json:"role_template_app_id"` @@ -80,7 +80,21 @@ func TestResourceDirectoryRoleCollection(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclResourceDirectoryRoleCollectionWithMultipleRoles("uut", "05368777-4934-41e8-9f3c-6ec5f4d564b9", "My role collection", "This is my new role collection"), + Config: hclProvider() + hclResourceDirectoryRoleCollection( + "uut", + "05368777-4934-41e8-9f3c-6ec5f4d564b9", + "My role collection", + "This is my new role collection", + directoryRoleCollectionRoleRefTestType{ + Name: "Directory Viewer", + RoleTemplateAppId: "cis-central!b13", + RoleTemplateName: "Directory_Viewer", + }, + directoryRoleCollectionRoleRefTestType{ + Name: "Directory Usage Reporting Viewer", + RoleTemplateAppId: "uas!b10418", + RoleTemplateName: "Directory_Usage_Reporting_Viewer", + }), Check: resource.ComposeAggregateTestCheckFunc( resource.TestMatchResourceAttr("btp_directory_role_collection.uut", "directory_id", regexpValidUUID), resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "name", "My role collection"), @@ -98,6 +112,67 @@ func TestResourceDirectoryRoleCollection(t *testing.T) { }) }) + t.Run("happy path - update", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_directory_role_collection.update") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceDirectoryRoleCollectionNoDescription("uut", "05368777-4934-41e8-9f3c-6ec5f4d564b9", "My own role collection", "Directory Viewer", "cis-central!b13", "Directory_Viewer"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_directory_role_collection.uut", "directory_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "name", "My own role collection"), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "description", ""), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "roles.#", "1"), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "roles.0.name", "Directory Viewer"), + ), + }, + { + Config: hclProvider() + hclResourceDirectoryRoleCollection( + "uut", + "05368777-4934-41e8-9f3c-6ec5f4d564b9", + "My own role collection", + "This is my updated role collection", + directoryRoleCollectionRoleRefTestType{ + Name: "Directory Viewer", + RoleTemplateAppId: "cis-central!b13", + RoleTemplateName: "Directory_Viewer", + }, + directoryRoleCollectionRoleRefTestType{ + Name: "Directory Usage Reporting Viewer", + RoleTemplateAppId: "uas!b10418", + RoleTemplateName: "Directory_Usage_Reporting_Viewer", + }), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_directory_role_collection.uut", "directory_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "name", "My own role collection"), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "description", "This is my updated role collection"), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "roles.#", "2"), + ), + }, + { + Config: hclProvider() + hclResourceDirectoryRoleCollectionNoDescription("uut", "05368777-4934-41e8-9f3c-6ec5f4d564b9", "My own role collection", "Directory Usage Reporting Viewer", "uas!b10418", "Directory_Usage_Reporting_Viewer"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_directory_role_collection.uut", "directory_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "name", "My own role collection"), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "description", ""), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "roles.#", "1"), + resource.TestCheckResourceAttr("btp_directory_role_collection.uut", "roles.0.name", "Directory Usage Reporting Viewer"), + ), + }, + { + ResourceName: "btp_directory_role_collection.uut", + ImportStateId: "05368777-4934-41e8-9f3c-6ec5f4d564b9,My own role collection", + ImportState: true, + ImportStateVerify: true, + }, + }, + }) + }) + t.Run("error path - import fails", func(t *testing.T) { rec := setupVCR(t, "fixtures/resource_directory_role_collection.error_import") defer stopQuietly(rec) @@ -195,20 +270,10 @@ func hclResourceDirectoryRoleCollectionWithDescription(resourceName string, dire }`, resourceName, directoryId, roleCollectionName, roleCollectionDescription, string(rolesJson)) } -func hclResourceDirectoryRoleCollectionWithMultipleRoles(resourceName string, directoryId string, roleCollectionName string, roleCollectionDescription string) string { - roles := []directoryRoleCollectionRoleRefTestType{} - - roles = append(roles, directoryRoleCollectionRoleRefTestType{ - Name: "Directory Viewer", - RoleTemplateAppId: "cis-central!b13", - RoleTemplateName: "Directory_Viewer", - }, - directoryRoleCollectionRoleRefTestType{ - Name: "Directory Usage Reporting Viewer", - RoleTemplateAppId: "uas!b10418", - RoleTemplateName: "Directory_Usage_Reporting_Viewer", - }, - ) +func hclResourceDirectoryRoleCollection(resourceName string, directoryId string, roleCollectionName string, roleCollectionDescription string, roles ...directoryRoleCollectionRoleRefTestType) string { + if roles == nil { + roles = []directoryRoleCollectionRoleRefTestType{} + } rolesJson, _ := json.Marshal(roles) return fmt.Sprintf(`resource "btp_directory_role_collection" "%s" { diff --git a/internal/provider/resource_globalaccount_role_collection.go b/internal/provider/resource_globalaccount_role_collection.go index 89d16553..f3c317ed 100644 --- a/internal/provider/resource_globalaccount_role_collection.go +++ b/internal/provider/resource_globalaccount_role_collection.go @@ -3,6 +3,9 @@ package provider import ( "context" "fmt" + "github.com/SAP/terraform-provider-btp/internal/tfutils" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "strings" "github.com/hashicorp/terraform-plugin-framework/path" @@ -24,6 +27,15 @@ type globalaccountRoleCollectionRoleRefType struct { RoleTemplateName types.String `tfsdk:"role_template_name"` } +// TODO This predicate is planned to be replaced by letting the globalaccountRoleCollectionRoleRefType implement +// TODO terraform's attr.Value interface and move this code to its Equal method (see also tfutils.SetDifference). +// TODO This will allow to use types.Set instead of a slice for globalaccountRoleCollectionType.Roles below. +func gaRoleRefIsEqual(roleA, roleB globalaccountRoleCollectionRoleRefType) bool { + return roleA.Name.Equal(roleB.Name) && + roleA.RoleTemplateAppId.Equal(roleB.RoleTemplateAppId) && + roleA.RoleTemplateName.Equal(roleB.RoleTemplateName) +} + type globalaccountRoleCollectionType struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` @@ -57,11 +69,17 @@ __Further documentation:__ "name": schema.StringAttribute{ MarkdownDescription: "The name of the role collection.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "id": schema.StringAttribute{ // required hashicorps terraform plugin testing framework DeprecationMessage: "Use the `name` attribute instead", MarkdownDescription: "The ID of the role collection.", Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, }, "description": schema.StringAttribute{ MarkdownDescription: "The description of the role collection.", @@ -149,7 +167,7 @@ func (rs *globalaccountRoleCollectionResource) Create(ctx context.Context, req r _, err := rs.cli.Security.Role.AddByGlobalAccount(ctx, plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) if err != nil { - resp.Diagnostics.AddError("API Error Assigning Role To Role Collection (Global Account)", fmt.Sprintf("%s", err)) + resp.Diagnostics.AddError("API Error Adding Role To Role Collection (Global Account)", fmt.Sprintf("%s", err)) } } @@ -158,22 +176,60 @@ func (rs *globalaccountRoleCollectionResource) Create(ctx context.Context, req r } func (rs *globalaccountRoleCollectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + var state globalaccountRoleCollectionType + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } var plan globalaccountRoleCollectionType - diags := req.Plan.Get(ctx, &plan) + diags = req.Plan.Get(ctx, &plan) resp.Diagnostics.Append(diags...) if resp.Diagnostics.HasError() { return } - resp.Diagnostics.AddError("API Error Updating Resource Role Collection (Global Account)", "Update is not yet implemented.") - - /*TODO cliRes, err := rs.cli.Execute(ctx, btpcli.Update, rs.command, plan) + _, _, err := rs.cli.Security.RoleCollection.UpdateByGlobalAccount(ctx, plan.Name.ValueString(), plan.Description.ValueString()) if err != nil { resp.Diagnostics.AddError("API Error Updating Resource Role Collection (Global Account)", fmt.Sprintf("%s", err)) return - }*/ + } + + toBeRemoved := tfutils.SetDifference(state.Roles, plan.Roles, gaRoleRefIsEqual) + for _, role := range toBeRemoved { + _, err := rs.cli.Security.Role.RemoveByGlobalAccount(ctx, plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) + + if err != nil { + resp.Diagnostics.AddError("API Error Removing Role From Role Collection (Global Account)", fmt.Sprintf("%s", err)) + } + } + + toBeAdded := tfutils.SetDifference(plan.Roles, state.Roles, gaRoleRefIsEqual) + for _, role := range toBeAdded { + _, err := rs.cli.Security.Role.AddByGlobalAccount(ctx, plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) + + if err != nil { + resp.Diagnostics.AddError("API Error Adding Role From Role Collection (Global Account)", fmt.Sprintf("%s", err)) + } + } + + cliRes, _, err := rs.cli.Security.RoleCollection.GetByGlobalAccount(ctx, plan.Name.ValueString()) + if err != nil { + resp.Diagnostics.AddError("API Error Reading Resource Role Collection (Global Account)", fmt.Sprintf("%s", err)) + return + } + + state.Description = types.StringValue(cliRes.Description) + state.Roles = []globalaccountRoleCollectionRoleRefType{} + for _, role := range cliRes.RoleReferences { + state.Roles = append(state.Roles, globalaccountRoleCollectionRoleRefType{ + RoleTemplateName: types.StringValue(role.RoleTemplateName), + RoleTemplateAppId: types.StringValue(role.RoleTemplateAppId), + Name: types.StringValue(role.Name), + }) + } - diags = resp.State.Set(ctx, plan) + diags = resp.State.Set(ctx, state) resp.Diagnostics.Append(diags...) if resp.Diagnostics.HasError() { return diff --git a/internal/provider/resource_globalaccount_role_collection_test.go b/internal/provider/resource_globalaccount_role_collection_test.go index 616ec61b..79712e05 100644 --- a/internal/provider/resource_globalaccount_role_collection_test.go +++ b/internal/provider/resource_globalaccount_role_collection_test.go @@ -26,7 +26,15 @@ func TestResourceGlobalAccountRoleCollection(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclResourceGlobalAccountRoleCollection("uut", "My new role collection", "Description of my new role collection", "Global Account Viewer", "cis-central!b13", "GlobalAccount_Viewer"), + Config: hclProvider() + hclResourceGlobalAccountRoleCollection( + "uut", + "My new role collection", + "Description of my new role collection", + globalaccountRoleCollectionRoleRefTestType{ + Name: "Global Account Viewer", + RoleTemplateAppId: "cis-central!b13", + RoleTemplateName: "GlobalAccount_Viewer", + }), Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "name", "My new role collection"), resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "description", "Description of my new role collection"), @@ -43,8 +51,60 @@ func TestResourceGlobalAccountRoleCollection(t *testing.T) { }) }) + t.Run("happy path - update", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_globalaccount_role_collection.update") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceGlobalAccountRoleCollection( + "uut", + "My new role collection", + "Description of my new role collection", + globalaccountRoleCollectionRoleRefTestType{ + Name: "Global Account Viewer", + RoleTemplateAppId: "cis-central!b13", + RoleTemplateName: "GlobalAccount_Viewer", + }), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "name", "My new role collection"), + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "description", "Description of my new role collection"), + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "roles.#", "1"), + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "roles.0.name", "Global Account Viewer"), + ), + }, + { + Config: hclProvider() + hclResourceGlobalAccountRoleCollection( + "uut", + "My new role collection", + "Description of my updated role collection", + globalaccountRoleCollectionRoleRefTestType{ + Name: "System Landscape Viewer", + RoleTemplateAppId: "cmp!b17875", + RoleTemplateName: "GlobalAccount_System_Landscape_Viewer", + }), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "name", "My new role collection"), + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "description", "Description of my updated role collection"), + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "roles.#", "1"), + resource.TestCheckResourceAttr("btp_globalaccount_role_collection.uut", "roles.0.name", "System Landscape Viewer"), + ), + }, + { + ResourceName: "btp_globalaccount_role_collection.uut", + ImportStateId: "My new role collection", + ImportState: true, + ImportStateVerify: true, + }, + }, + }) + }) + t.Run("error path - import fails", func(t *testing.T) { - rec := setupVCR(t, "fixtures/resource_globalaccount_role_collection_import_error") + rec := setupVCR(t, "fixtures/resource_globalaccount_role_collection.import_error") defer stopQuietly(rec) resource.Test(t, resource.TestCase{ @@ -52,7 +112,7 @@ func TestResourceGlobalAccountRoleCollection(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclResourceGlobalAccountRoleCollection("uut", "My new role collection", "Description of my new role collection", "Global Account Viewer", "cis-central!b13", "GlobalAccount_Viewer"), + Config: hclProvider() + hclResourceGlobalAccountRoleCollection("uut", "My new role collection", "Description of my new role collection"), }, { ResourceName: "btp_globalaccount_role_collection.uut", @@ -66,15 +126,10 @@ func TestResourceGlobalAccountRoleCollection(t *testing.T) { }) } -func hclResourceGlobalAccountRoleCollection(resourceName string, displayName string, description string, roleName string, RoleTemplateAppId string, RoleTemplateName string) string { - - roles := []globalaccountRoleCollectionRoleRefTestType{} - - roles = append(roles, globalaccountRoleCollectionRoleRefTestType{ - Name: roleName, - RoleTemplateAppId: RoleTemplateAppId, - RoleTemplateName: RoleTemplateName, - }) +func hclResourceGlobalAccountRoleCollection(resourceName string, displayName string, description string, roles ...globalaccountRoleCollectionRoleRefTestType) string { + if roles == nil { + roles = []globalaccountRoleCollectionRoleRefTestType{} + } rolesJson, _ := json.Marshal(roles) return fmt.Sprintf(`resource "btp_globalaccount_role_collection" "%s" { diff --git a/internal/provider/resource_subaccount_role_collection.go b/internal/provider/resource_subaccount_role_collection.go index 1301531f..db0b3a32 100644 --- a/internal/provider/resource_subaccount_role_collection.go +++ b/internal/provider/resource_subaccount_role_collection.go @@ -3,6 +3,9 @@ package provider import ( "context" "fmt" + "github.com/SAP/terraform-provider-btp/internal/tfutils" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "strings" "github.com/hashicorp/terraform-plugin-framework/path" @@ -25,6 +28,15 @@ type subaccountRoleCollectionRoleRefType struct { RoleTemplateName types.String `tfsdk:"role_template_name"` } +// TODO This predicate is planned to be replaced by letting the subaccountRoleCollectionRoleRefType implement +// TODO terraform's attr.Value interface and move this code to its Equal method (see also tfutils.SetDifference). +// TODO This will allow to use types.Set instead of a slice for subaccountRoleCollectionType.Roles below. +func saRoleRefIsEqual(roleA, roleB subaccountRoleCollectionRoleRefType) bool { + return roleA.Name.Equal(roleB.Name) && + roleA.RoleTemplateAppId.Equal(roleB.RoleTemplateAppId) && + roleA.RoleTemplateName.Equal(roleB.RoleTemplateName) +} + type subaccountRoleCollectionType struct { SubaccountId types.String `tfsdk:"subaccount_id"` Name types.String `tfsdk:"name"` @@ -67,10 +79,16 @@ __Further documentation:__ DeprecationMessage: "Use the `name` attribute instead", MarkdownDescription: "The ID of the role collection.", Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, }, "name": schema.StringAttribute{ MarkdownDescription: "The name of the role collection.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "description": schema.StringAttribute{ MarkdownDescription: "The description of the role collection.", @@ -153,7 +171,7 @@ func (rs *subaccountRoleCollectionResource) Create(ctx context.Context, req reso _, err := rs.cli.Security.Role.AddBySubaccount(ctx, plan.SubaccountId.ValueString(), plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) if err != nil { - resp.Diagnostics.AddError("API Error Assigning Role To Role Collection (Subaccount)", fmt.Sprintf("%s", err)) + resp.Diagnostics.AddError("API Error Adding Role To Role Collection (Subaccount)", fmt.Sprintf("%s", err)) } } @@ -167,22 +185,60 @@ func (rs *subaccountRoleCollectionResource) Create(ctx context.Context, req reso } func (rs *subaccountRoleCollectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + var state subaccountRoleCollectionType + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } var plan subaccountRoleCollectionType - diags := req.Plan.Get(ctx, &plan) + diags = req.Plan.Get(ctx, &plan) resp.Diagnostics.Append(diags...) if resp.Diagnostics.HasError() { return } - resp.Diagnostics.AddError("API Error Updating Resource Role Collection (Subaccount)", "Update is not yet implemented.") - - /*TODO cliRes, err := rs.cli.Execute(ctx, btpcli.Update, rs.command, plan) + _, _, err := rs.cli.Security.RoleCollection.UpdateBySubaccount(ctx, plan.SubaccountId.ValueString(), plan.Name.ValueString(), plan.Description.ValueString()) if err != nil { resp.Diagnostics.AddError("API Error Updating Resource Role Collection (Subaccount)", fmt.Sprintf("%s", err)) return - }*/ + } + + toBeRemoved := tfutils.SetDifference(state.Roles, plan.Roles, saRoleRefIsEqual) + for _, role := range toBeRemoved { + _, err := rs.cli.Security.Role.RemoveBySubaccount(ctx, plan.SubaccountId.ValueString(), plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) + + if err != nil { + resp.Diagnostics.AddError("API Error Removing Role From Role Collection (Subaccount)", fmt.Sprintf("%s", err)) + } + } + + toBeAdded := tfutils.SetDifference(plan.Roles, state.Roles, saRoleRefIsEqual) + for _, role := range toBeAdded { + _, err := rs.cli.Security.Role.AddBySubaccount(ctx, plan.SubaccountId.ValueString(), plan.Name.ValueString(), role.Name.ValueString(), role.RoleTemplateAppId.ValueString(), role.RoleTemplateName.ValueString()) + + if err != nil { + resp.Diagnostics.AddError("API Error Adding Role From Role Collection (Subaccount)", fmt.Sprintf("%s", err)) + } + } + + cliRes, _, err := rs.cli.Security.RoleCollection.GetBySubaccount(ctx, plan.SubaccountId.ValueString(), plan.Name.ValueString()) + if err != nil { + resp.Diagnostics.AddError("API Error Reading Resource Role Collection (Subaccount)", fmt.Sprintf("%s", err)) + return + } + + state.Description = types.StringValue(cliRes.Description) + state.Roles = []subaccountRoleCollectionRoleRefType{} + for _, role := range cliRes.RoleReferences { + state.Roles = append(state.Roles, subaccountRoleCollectionRoleRefType{ + RoleTemplateName: types.StringValue(role.RoleTemplateName), + RoleTemplateAppId: types.StringValue(role.RoleTemplateAppId), + Name: types.StringValue(role.Name), + }) + } - diags = resp.State.Set(ctx, plan) + diags = resp.State.Set(ctx, &state) resp.Diagnostics.Append(diags...) if resp.Diagnostics.HasError() { return diff --git a/internal/provider/resource_subaccount_role_collection_test.go b/internal/provider/resource_subaccount_role_collection_test.go index b6c7f0bc..ace0f8b6 100644 --- a/internal/provider/resource_subaccount_role_collection_test.go +++ b/internal/provider/resource_subaccount_role_collection_test.go @@ -26,7 +26,21 @@ func TestResourceSubAccountRoleCollection(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclResourceSubAccountRoleCollection("uut", "ef23ace8-6ade-4d78-9c1f-8df729548bbf", "My new role collection", "Description of my new role collection"), + Config: hclProvider() + hclResourceSubAccountRoleCollection( + "uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "My new role collection", + "Description of my new role collection", + subaccountRoleCollectionRoleRefTestType{ + Name: "Subaccount Viewer", + RoleTemplateAppId: "cis-local!b2", + RoleTemplateName: "Subaccount_Viewer", + }, + subaccountRoleCollectionRoleRefTestType{ + Name: "Destination Viewer", + RoleTemplateAppId: "destination-xsappname!b9", + RoleTemplateName: "Destination_Viewer", + }), Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "name", "My new role collection"), resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "description", "Description of my new role collection"), @@ -42,8 +56,67 @@ func TestResourceSubAccountRoleCollection(t *testing.T) { }, }) }) + + t.Run("happy path - update", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_subaccount_role_collection.update") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubAccountRoleCollection( + "uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "My new role collection", + "Description of my new role collection", + subaccountRoleCollectionRoleRefTestType{ + Name: "Subaccount Viewer", + RoleTemplateAppId: "cis-local!b2", + RoleTemplateName: "Subaccount_Viewer", + }, + subaccountRoleCollectionRoleRefTestType{ + Name: "Destination Viewer", + RoleTemplateAppId: "destination-xsappname!b9", + RoleTemplateName: "Destination_Viewer", + }), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "name", "My new role collection"), + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "description", "Description of my new role collection"), + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "roles.#", "2"), + ), + }, + { + Config: hclProvider() + hclResourceSubAccountRoleCollection( + "uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "My new role collection", + "Description of my new role collection", + subaccountRoleCollectionRoleRefTestType{ + Name: "Subaccount Service Auditor", + RoleTemplateAppId: "service-manager!b3", + RoleTemplateName: "Subaccount_Service_Auditor", + }), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "name", "My new role collection"), + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "description", "Description of my new role collection"), + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "roles.#", "1"), + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "roles.0.name", "Subaccount Service Auditor"), + ), + }, + { + ResourceName: "btp_subaccount_role_collection.uut", + ImportStateId: "ef23ace8-6ade-4d78-9c1f-8df729548bbf,My new role collection", + ImportState: true, + ImportStateVerify: true, + }, + }, + }) + }) + t.Run("error path - import with wrong key", func(t *testing.T) { - rec := setupVCR(t, "fixtures/resource_subaccount_role_collection_import_error") + rec := setupVCR(t, "fixtures/resource_subaccount_role_collection.import_error") defer stopQuietly(rec) resource.Test(t, resource.TestCase{ @@ -55,7 +128,7 @@ func TestResourceSubAccountRoleCollection(t *testing.T) { Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "name", "My new role collection"), resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "description", "Description of my new role collection"), - resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "roles.#", "2"), + resource.TestCheckResourceAttr("btp_subaccount_role_collection.uut", "roles.#", "0"), ), }, { @@ -97,22 +170,10 @@ func TestResourceSubAccountRoleCollection(t *testing.T) { } -func hclResourceSubAccountRoleCollection(resourceName string, subaccountId string, displayName string, description string) string { - - roles := []subaccountRoleCollectionRoleRefTestType{} - - roles = append(roles, subaccountRoleCollectionRoleRefTestType{ - Name: "Subaccount Viewer", - RoleTemplateAppId: "cis-local!b2", - RoleTemplateName: "Subaccount_Viewer", - }, - subaccountRoleCollectionRoleRefTestType{ - Name: "Destination Viewer", - RoleTemplateAppId: "destination-xsappname!b9", - RoleTemplateName: "Destination_Viewer", - }, - ) - +func hclResourceSubAccountRoleCollection(resourceName string, subaccountId string, displayName string, description string, roles ...subaccountRoleCollectionRoleRefTestType) string { + if roles == nil { + roles = []subaccountRoleCollectionRoleRefTestType{} + } rolesJson, _ := json.Marshal(roles) return fmt.Sprintf(`resource "btp_subaccount_role_collection" "%s" { diff --git a/internal/tfutils/tfutils.go b/internal/tfutils/tfutils.go index be5e38e4..5f492220 100644 --- a/internal/tfutils/tfutils.go +++ b/internal/tfutils/tfutils.go @@ -11,6 +11,7 @@ import ( const btpcliTag = "btpcli" type any interface{} +type equalityPredicate[E any] func(E, E) bool func ToBTPCLIParamsMap(a any) (map[string]string, error) { out := map[string]string{} @@ -118,3 +119,26 @@ func ToBTPCLIParamsMap(a any) (map[string]string, error) { return out, nil } + +// TODO This is a utility function to compute to be removed and to be added substructures in resource configurations. +// TODO This is required since terraform only computes required CRUD operations on resource level. Changes in inner +// TODO configurations need to be computed based on the state and plan data by the update operation of a provider. +// TODO Should the terraform plugin framework support this functionality in the future, e.g. as a part of the Set +// TODO datatype, we can remove this code. +func SetDifference[S ~[]E, E any](setA, setB S, isEqual equalityPredicate[E]) (result S) { + for _, element := range setA { + if !setContains(setB, element, isEqual) { + result = append(result, element) + } + } + return +} + +func setContains[S ~[]E, E any](set S, element E, isEqual equalityPredicate[E]) bool { + for _, setElement := range set { + if isEqual(setElement, element) { + return true + } + } + return false +} From 47da656fae46f9751844bc4f61811ea3414cec04 Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Wed, 19 Jul 2023 10:03:28 +0200 Subject: [PATCH 6/7] feat: add usage parameter to subaccount resource (#291) --------- Co-authored-by: Phan Trung Thanh --- docs/resources/subaccount.md | 14 +- internal/btpcli/facade_accounts_subaccount.go | 17 +- .../fixtures/resource_subaccount.yaml | 284 +-- ...account_change_to_used_for_production.yaml | 1833 +++++++++++++++ ...source_subaccount_used_for_production.yaml | 1969 +++++++++++++++++ internal/provider/resource_subaccount.go | 38 + internal/provider/resource_subaccount_test.go | 107 + 7 files changed, 4105 insertions(+), 157 deletions(-) create mode 100644 internal/provider/fixtures/resource_subaccount_change_to_used_for_production.yaml create mode 100644 internal/provider/fixtures/resource_subaccount_used_for_production.yaml diff --git a/docs/resources/subaccount.md b/docs/resources/subaccount.md index 5d84d5f0..7c760f62 100644 --- a/docs/resources/subaccount.md +++ b/docs/resources/subaccount.md @@ -59,6 +59,13 @@ resource "btp_subaccount" "my_project_on_azure" { - `description` (String) A description of the subaccount for customer-facing UIs. - `labels` (Map of Set of String) The set of words or phrases assigned to the subaccount. - `parent_id` (String) The ID of the subaccount’s parent entity. If the subaccount is located directly in the global account (not in a directory), then this is the ID of the global account. +- `usage` (String) Shows whether the subaccount is used for production purposes. This flag can help your cloud operator to take appropriate action when handling incidents that are related to mission-critical accounts in production systems. Do not apply for subaccounts that are used for nonproduction purposes, such as development, testing, and demos. Applying this setting this does not modify the subaccount. Possible values are: + + | value | description | + | --- | --- | + | `UNSET` | Global account or subaccount admin has not set the production-relevancy flag (default value). | + | `NOT_USED_FOR_PRODUCTION` | The subaccount is not used for production purposes. | + | `USED_FOR_PRODUCTION` | The subaccount is used for production purposes. | ### Read-Only @@ -94,13 +101,6 @@ resource "btp_subaccount" "my_project_on_azure" { | `MIGRATION_FAILED` | The migration of the subaccount failed and the subaccount was not migrated. | | `ROLLBACK_MIGRATION_PROCESSING` | The migration of the subaccount was rolled back and the subaccount is not migrated. | | `SUSPENSION_FAILED` | The suspension operations failed. | -- `usage` (String) Shows whether the subaccount is used for production purposes. This flag can help your cloud operator to take appropriate action when handling incidents that are related to mission-critical accounts in production systems. Do not apply for subaccounts that are used for nonproduction purposes, such as development, testing, and demos. Applying this setting this does not modify the subaccount. Possible values are: - - | value | description | - | --- | --- | - | `UNSET` | Global account or subaccount admin has not set the production-relevancy flag (default value). | - | `NOT_USED_FOR_PRODUCTION` | The subaccount is not used for production purposes. | - | `USED_FOR_PRODUCTION` | The subaccount is used for production purposes. | ## Import diff --git a/internal/btpcli/facade_accounts_subaccount.go b/internal/btpcli/facade_accounts_subaccount.go index 3fcce459..671d9dba 100644 --- a/internal/btpcli/facade_accounts_subaccount.go +++ b/internal/btpcli/facade_accounts_subaccount.go @@ -53,14 +53,14 @@ type SubaccountCreateInput struct { // TODO support all options } type SubaccountUpdateInput struct { - BetaEnabled bool `btpcli:"betaEnabled"` - Description string `btpcli:"description"` - Directory string `btpcli:"directoryID"` - DisplayName string `btpcli:"displayName"` - Labels map[string][]string `btpcli:"labels"` - SubaccountId string `btpcli:"subaccount"` - Globalaccount string `btpcli:"globalAccount"` - // UsedForProduction bool `btpcli:"usedForProduction"` + BetaEnabled bool `btpcli:"betaEnabled"` + Description string `btpcli:"description"` + Directory string `btpcli:"directoryID"` + DisplayName string `btpcli:"displayName"` + Labels map[string][]string `btpcli:"labels"` + SubaccountId string `btpcli:"subaccount"` + UsedForProduction string `btpcli:"usedForProduction"` + Globalaccount string `btpcli:"globalAccount"` } func (f *accountsSubaccountFacade) Create(ctx context.Context, args *SubaccountCreateInput) (cis.SubaccountResponseObject, CommandResponse, error) { @@ -80,6 +80,7 @@ func (f *accountsSubaccountFacade) Update(ctx context.Context, args *SubaccountU args.Globalaccount = f.cliClient.GetGlobalAccountSubdomain() + // Mapping of all params except for usedForProduction params, err := tfutils.ToBTPCLIParamsMap(args) if err != nil { diff --git a/internal/provider/fixtures/resource_subaccount.yaml b/internal/provider/fixtures/resource_subaccount.yaml index 7f8976ee..362d8c9e 100644 --- a/internal/provider/fixtures/resource_subaccount.yaml +++ b/internal/provider/fixtures/resource_subaccount.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 2d61fe6e-e6b0-b325-fdee-46346f7198e6 + - 4ccb87e0-1575-a7d4-3539-d7418629b047 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -43,7 +43,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:03 GMT + - Thu, 13 Jul 2023 15:34:40 GMT Expires: - "0" Pragma: @@ -57,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 7f0e7e50-2c9b-416a-50de-c22e4f3c2801 + - 924e00ec-a073-4b87-5e99-239e7e9c5981 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 543.6664ms + duration: 559.4555ms - id: 1 request: proto: HTTP/1.1 @@ -83,7 +83,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c609074b-9448-213b-7484-6f4f6947ab97 + - bd4541c1-f43d-1755-c7bb-e8630b3ba2e0 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -105,7 +105,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:03 GMT + - Thu, 13 Jul 2023 15:34:40 GMT Expires: - "0" Pragma: @@ -119,12 +119,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 512cc8e5-412e-49b1-44cc-cc82bd593661 + - 7c193b54-56c9-4781-5e66-f263a1a03cd4 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 379.0309ms + duration: 390.7556ms - id: 2 request: proto: HTTP/1.1 @@ -145,7 +145,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 9d69a9e7-0814-baa1-be63-4fe7351af32c + - 44bd1c06-c730-0b20-e5ac-e4ae6eeee688 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -167,7 +167,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:04 GMT + - Thu, 13 Jul 2023 15:34:41 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 599d028c-6458-44be-6d4d-c7a0d5125962 + - 705cfae7-ea78-4f55-5c7e-eec37ef17b61 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 484.2105ms + duration: 403.2439ms - id: 3 request: proto: HTTP/1.1 @@ -207,7 +207,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 37a51de5-4ded-bd83-93e1-4c5ff47ee8d9 + - b91141a8-7755-0f9d-8036-c56109d04291 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -226,14 +226,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"N\/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"STARTED","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:04 AM","jobId":"2816056"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"N\/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"STARTED","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:34:41 PM","jobId":"2842541"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:04 GMT + - Thu, 13 Jul 2023 15:34:41 GMT Expires: - "0" Pragma: @@ -255,12 +255,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - b11f375a-e67f-45b1-6024-fc9d8deab324 + - aa8e855c-5186-4411-5972-267238364e3f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 415.5884ms + duration: 421.5091ms - id: 4 request: proto: HTTP/1.1 @@ -273,7 +273,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -281,7 +281,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 208a185a-1e92-5389-03e0-2fadd3411be4 + - 860f1a89-6b4c-1758-d7f4-f777badebfdc X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -300,14 +300,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:05 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:34:42 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:09 GMT + - Thu, 13 Jul 2023 15:34:46 GMT Expires: - "0" Pragma: @@ -329,12 +329,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 9bbe0b70-afeb-4955-5bc7-0010b3b3119d + - 8bce2a1f-e0ac-42ac-67f7-78060a0fdda0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 306.6139ms + duration: 261.269ms - id: 5 request: proto: HTTP/1.1 @@ -347,7 +347,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -355,7 +355,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 6473edb7-4a6c-69a9-67de-0c995fa749e7 + - 1ca02e9b-4e4f-d770-f8cb-1e3dda7fb02c X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -374,14 +374,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:05 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:34:42 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:15 GMT + - Thu, 13 Jul 2023 15:34:52 GMT Expires: - "0" Pragma: @@ -403,12 +403,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a0ee1569-b18a-42cd-7566-32299ea5e0f6 + - 692552a0-063e-4a03-7fab-8d150a8373e2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 236.0536ms + duration: 260.5854ms - id: 6 request: proto: HTTP/1.1 @@ -421,7 +421,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -429,7 +429,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 45de01c4-656b-1d51-dea8-6933a48df7b6 + - 75f0fc39-3442-9d6a-39c0-fac0e024048c X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -448,14 +448,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:22 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:34:53 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:25 GMT + - Thu, 13 Jul 2023 15:35:02 GMT Expires: - "0" Pragma: @@ -477,12 +477,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 39d0113d-b5eb-44e7-529b-a0efb062511b + - a0ab13bf-5756-4189-6e93-206523d8672b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 249.0854ms + duration: 275.4646ms - id: 7 request: proto: HTTP/1.1 @@ -503,7 +503,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 7384b866-281b-341b-4eda-2216b521a5eb + - 82c42f93-2313-5632-d042-31e4aa1a653d X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -525,7 +525,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:25 GMT + - Thu, 13 Jul 2023 15:35:02 GMT Expires: - "0" Pragma: @@ -539,12 +539,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 359248e0-3ff4-45a9-5cc0-d129b39e6ba0 + - 9b695b64-ba04-4653-4414-6f1ccf1e1b43 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 402.4416ms + duration: 439.1597ms - id: 8 request: proto: HTTP/1.1 @@ -565,7 +565,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 62904b76-dbdf-becf-319b-5731a7885615 + - 6e10d7e7-31f5-eedf-66fe-c0e9bf361bc6 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -587,7 +587,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:26 GMT + - Thu, 13 Jul 2023 15:35:03 GMT Expires: - "0" Pragma: @@ -601,12 +601,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - f2988aa2-493a-4b66-6efe-c7eaf27511a7 + - 9f31ff3f-8cbd-4d72-5546-da9debc02221 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 514.8436ms + duration: 383.7759ms - id: 9 request: proto: HTTP/1.1 @@ -619,7 +619,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -627,7 +627,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - b54ec7f6-2550-04e8-e39a-3efbd340a020 + - eda63c10-dcfc-479e-d3ef-849796960374 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -646,14 +646,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:22 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:34:53 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:26 GMT + - Thu, 13 Jul 2023 15:35:03 GMT Expires: - "0" Pragma: @@ -675,12 +675,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c5ae3ed7-8d30-470c-58c6-3b29818f5538 + - f05b17d3-da82-4d4f-512b-fe57f5ad11e0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 213.0647ms + duration: 198.0958ms - id: 10 request: proto: HTTP/1.1 @@ -701,7 +701,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 980289b3-1a67-1b1a-6288-f8d3e8ad6f60 + - 4b7d070a-cf90-f789-bff2-e1b6a60b6446 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -723,7 +723,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:27 GMT + - Thu, 13 Jul 2023 15:35:03 GMT Expires: - "0" Pragma: @@ -737,12 +737,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - e139e2f8-9874-4446-7598-a41adf0cd406 + - e539c8f4-a105-426d-6875-ceb1d9baa7a5 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 401.3584ms + duration: 374.0068ms - id: 11 request: proto: HTTP/1.1 @@ -763,7 +763,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 76fb1994-3c4c-228c-74ed-df9673e982dd + - 462cc315-4b6d-1c83-12ca-b3aeecad118d X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -785,7 +785,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:27 GMT + - Thu, 13 Jul 2023 15:35:04 GMT Expires: - "0" Pragma: @@ -799,12 +799,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0f3472b3-9e54-4463-65ed-b4c3287a3e3c + - 7fa50cf5-2005-4d40-6457-3b5fb0b05a08 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 414.6018ms + duration: 412.9414ms - id: 12 request: proto: HTTP/1.1 @@ -817,7 +817,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -825,7 +825,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 95cac685-a4a0-e44b-ebe1-9985164e29ae + - 5c62500e-8cfd-36e9-d6a2-a2cba5d7fa7f X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -844,14 +844,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:22 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:34:53 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:27 GMT + - Thu, 13 Jul 2023 15:35:04 GMT Expires: - "0" Pragma: @@ -873,12 +873,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - b3d63a4b-a3ad-4de9-46d9-557511fd37f7 + - a4fdf463-572e-41bd-5823-19a1fd1d56d0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 194.6029ms + duration: 244.4726ms - id: 13 request: proto: HTTP/1.1 @@ -899,7 +899,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 93cf8dc3-9335-2b95-9853-abf3a8cbde88 + - e862de2a-706e-b455-5dee-2439c8f0e354 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -921,7 +921,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:28 GMT + - Thu, 13 Jul 2023 15:35:05 GMT Expires: - "0" Pragma: @@ -935,12 +935,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 248f9cb6-9060-4ddc-47a7-72fde08ff146 + - feb9edf0-adac-40fd-7088-00ca5b3efb78 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 400.2591ms + duration: 417.4113ms - id: 14 request: proto: HTTP/1.1 @@ -961,7 +961,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 6e3f7c33-9265-5f47-b33d-40e0e4473956 + - 1ebac954-923d-2a52-8ca1-d48d94ce6a31 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -983,7 +983,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:28 GMT + - Thu, 13 Jul 2023 15:35:05 GMT Expires: - "0" Pragma: @@ -997,12 +997,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - e07f6641-6315-4803-6213-a7d7bed4dbd6 + - f1709b73-fb35-48a0-53a7-73944ee43359 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 382.2396ms + duration: 385.6298ms - id: 15 request: proto: HTTP/1.1 @@ -1015,7 +1015,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"betaEnabled":"false","directoryID":"03760ecf-9d89-4189-a92a-1c7efed09298","displayName":"Integration Test Acc Dyn","globalAccount":"terraformintcanary","subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"betaEnabled":"false","directoryID":"03760ecf-9d89-4189-a92a-1c7efed09298","displayName":"Integration Test Acc Dyn","globalAccount":"terraformintcanary","subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1023,7 +1023,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 6b6fcd6c-f773-ff31-4e14-75460620fc98 + - 0e3cebde-a390-04d4-e17f-9f7e2842e34e X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1042,14 +1042,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:29 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:05 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:29 GMT + - Thu, 13 Jul 2023 15:35:05 GMT Expires: - "0" Pragma: @@ -1071,12 +1071,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8bbb7942-f820-4861-59ca-e8d578764cd2 + - cf8abdc5-1fa7-40b2-6374-8001218e702d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 421.267ms + duration: 269.9175ms - id: 16 request: proto: HTTP/1.1 @@ -1097,7 +1097,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 55d56ff2-6336-de7f-df9c-a5dea4426259 + - 0283450b-a581-e3fa-fa3d-8313a370547e X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1119,7 +1119,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:29 GMT + - Thu, 13 Jul 2023 15:35:06 GMT Expires: - "0" Pragma: @@ -1133,12 +1133,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 7bf6b8dc-af38-44fb-73ec-261a9d328653 + - 2bac9952-67b9-442e-575d-40f7fc67538e X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 330.0379ms + duration: 382.5616ms - id: 17 request: proto: HTTP/1.1 @@ -1159,7 +1159,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - ff54bf83-f94c-99c7-0d91-47b0cb182dbe + - 1c7de686-126b-c201-15fb-1150cb1e1ecc X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1181,7 +1181,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:30 GMT + - Thu, 13 Jul 2023 15:35:06 GMT Expires: - "0" Pragma: @@ -1195,12 +1195,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 1445b569-dff3-4b83-528b-20ff7c49dab9 + - cf89ad53-09e5-47f9-48b3-50323a2e44ac X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 405.3939ms + duration: 377.1825ms - id: 18 request: proto: HTTP/1.1 @@ -1213,7 +1213,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1221,7 +1221,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - d231700a-48bb-678a-a869-b4194d8a9323 + - fd4a7f1b-a8f5-15d4-6885-8ad08e92dbd7 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1240,14 +1240,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:29 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:05 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:30 GMT + - Thu, 13 Jul 2023 15:35:07 GMT Expires: - "0" Pragma: @@ -1269,12 +1269,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 6d8ba212-bfcc-42de-740b-9692e2749a52 + - 225dfc8c-bb7e-4c3c-7814-a55d0a039f68 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 207.0952ms + duration: 205.6651ms - id: 19 request: proto: HTTP/1.1 @@ -1295,7 +1295,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - e2327931-e458-0227-2d44-79d3a4b1522f + - c25a8231-c96d-aab8-bef4-9bf931505bfc X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1317,7 +1317,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:30 GMT + - Thu, 13 Jul 2023 15:35:07 GMT Expires: - "0" Pragma: @@ -1331,12 +1331,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 51039b25-37f4-40d0-5939-a4a43070cd7e + - 5eed512d-6989-4286-7cae-dd577f60b90d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 343.088ms + duration: 411.015ms - id: 20 request: proto: HTTP/1.1 @@ -1357,7 +1357,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 8a54184b-4f4c-b39f-ddf9-81993f2005e3 + - 52087d16-63cc-d34d-b8f3-44bcddfeb856 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1379,7 +1379,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:31 GMT + - Thu, 13 Jul 2023 15:35:08 GMT Expires: - "0" Pragma: @@ -1393,12 +1393,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 344197ae-a8f5-45b2-602f-47c27bc947ca + - cae6da02-81e9-4ca6-6b70-c9eccb5f06ba X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 373.271ms + duration: 361.6227ms - id: 21 request: proto: HTTP/1.1 @@ -1411,7 +1411,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1419,7 +1419,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 51c6cc9c-992a-3d5c-03fd-a97f5c14f7c5 + - c924e3ec-e55d-10ed-1449-1cff86b877ff X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1438,14 +1438,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:29 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:05 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:31 GMT + - Thu, 13 Jul 2023 15:35:08 GMT Expires: - "0" Pragma: @@ -1467,12 +1467,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - f44c3596-9715-4f2b-6926-03d53d0af790 + - 2617f035-dbd5-4175-57b4-a8bd3ae72607 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 190.6045ms + duration: 195.6936ms - id: 22 request: proto: HTTP/1.1 @@ -1493,7 +1493,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 0e4323e0-df5b-a73a-27a4-4a98cdc268af + - 1a1ef783-9cf4-8969-4e35-660da4889c02 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1515,7 +1515,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:32 GMT + - Thu, 13 Jul 2023 15:35:08 GMT Expires: - "0" Pragma: @@ -1529,12 +1529,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - f01f6801-b4b6-488f-6148-15ea335b05c1 + - 9630fd22-3dda-4fdb-517d-79249e81e1b6 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 375.0336ms + duration: 362.264ms - id: 23 request: proto: HTTP/1.1 @@ -1555,7 +1555,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 16268d51-9f41-bb5f-d728-633018ad924a + - 8bd3c830-038c-87aa-0bea-1ec148d00072 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1577,7 +1577,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:32 GMT + - Thu, 13 Jul 2023 15:35:09 GMT Expires: - "0" Pragma: @@ -1591,12 +1591,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - bac0a92d-9469-487a-6ed0-22d9dd837bf5 + - e722802f-7367-4c64-45cf-d28105b51236 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 380.2271ms + duration: 360.8953ms - id: 24 request: proto: HTTP/1.1 @@ -1609,7 +1609,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","forceDelete":"true","subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"confirm":"true","forceDelete":"true","subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1617,7 +1617,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 19d6820e-ff1e-6104-3047-31b965a0b1cd + - 5f748bcc-be67-2f19-b7d1-9cb43528200b X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1636,14 +1636,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Delete subaccount entity","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:29 AM","jobId":"2816060"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Delete subaccount entity","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:05 PM","jobId":"2842544"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:32 GMT + - Thu, 13 Jul 2023 15:35:09 GMT Expires: - "0" Pragma: @@ -1665,12 +1665,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 093bccca-10a7-4779-7e9c-84922b898be0 + - 3a61e6bb-1994-4fbb-5373-b99e8f2e412a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 231.2881ms + duration: 196.0868ms - id: 25 request: proto: HTTP/1.1 @@ -1683,7 +1683,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1691,7 +1691,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 75e1b39b-d240-c6a2-3cd2-d1a7ebdfed22 + - 15f6f9fe-7ff0-2620-9ef1-9852e34bafc3 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1710,14 +1710,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:33 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:10 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:37 GMT + - Thu, 13 Jul 2023 15:35:14 GMT Expires: - "0" Pragma: @@ -1739,12 +1739,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ba80278c-50f5-4155-6f2e-597b18b12bcb + - 4c89e626-8e55-45d4-4e03-3a85be2d312f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 252.649ms + duration: 225.2038ms - id: 26 request: proto: HTTP/1.1 @@ -1757,7 +1757,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1765,7 +1765,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 861716bf-ec15-1796-9f68-01c9eb2e5acd + - 168b1fd1-5493-a920-eaac-8a663594c99b X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1784,14 +1784,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:33 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:10 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:43 GMT + - Thu, 13 Jul 2023 15:35:19 GMT Expires: - "0" Pragma: @@ -1813,12 +1813,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a31880bc-9379-436a-7680-e5385ace456d + - 4b6bd1ef-c3b4-4308-6583-79725360a7d2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 250.1494ms + duration: 223.1848ms - id: 27 request: proto: HTTP/1.1 @@ -1831,7 +1831,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1839,7 +1839,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - eb1d669b-cdc5-cdbc-2193-93c2b462fb74 + - 3c85df7a-0f8e-3471-5004-389ab034f7c5 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1858,14 +1858,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"guid":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","technicalName":"7b48e2a5-ed85-4a78-9dd2-220009fb627a","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 10, 2023, 8:29:04 AM","createdBy":"john.doe@int.test","modifiedDate":"Jul 10, 2023, 8:29:33 AM"}' + body: '{"guid":"60d6d742-b55d-44d1-8f9d-3f401185979f","technicalName":"60d6d742-b55d-44d1-8f9d-3f401185979f","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:34:41 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:35:10 PM"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:29:53 GMT + - Thu, 13 Jul 2023 15:35:30 GMT Expires: - "0" Pragma: @@ -1887,12 +1887,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0557051f-b932-4117-68d9-a01ab81f2f6a + - d66cd8a4-1511-42bd-709f-bcf751881a73 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 310.8818ms + duration: 241.6551ms - id: 28 request: proto: HTTP/1.1 @@ -1905,7 +1905,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"subaccount":"7b48e2a5-ed85-4a78-9dd2-220009fb627a"}} + {"paramValues":{"subaccount":"60d6d742-b55d-44d1-8f9d-3f401185979f"}} form: {} headers: Content-Type: @@ -1913,7 +1913,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - cd614f9a-2a72-2475-140e-b7a672e42ae8 + - 347f4dae-c930-b2dc-4c44-6338fd9f13c8 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1939,7 +1939,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 10 Jul 2023 08:30:03 GMT + - Thu, 13 Jul 2023 15:35:40 GMT Expires: - "0" Pragma: @@ -1961,9 +1961,9 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ab03844d-1e99-4840-63a0-fe8945ff07b6 + - 0ebedd4b-b254-46d0-55f5-eef55d77f097 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 445.6654ms + duration: 256.5695ms diff --git a/internal/provider/fixtures/resource_subaccount_change_to_used_for_production.yaml b/internal/provider/fixtures/resource_subaccount_change_to_used_for_production.yaml new file mode 100644 index 00000000..b68bcd10 --- /dev/null +++ b/internal/provider/fixtures/resource_subaccount_change_to_used_for_production.yaml @@ -0,0 +1,1833 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a0924e12-1adc-48e4-008e-bdede52d9284 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 2b3b30c0-2d06-4c2f-79ee-496844d690f4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 535.2042ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 42d4395f-4d16-7b3f-e5e2-cff006a4e6ae + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 89f71b9a-9138-46aa-438c-11bbfcdf7e48 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 370.7236ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2ce7d83e-e08c-0189-0889-57805b7835c7 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bbec5045-78e3-46cb-54e9-041c248b54d3 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 413.4496ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 173 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"betaEnabled":"false","displayName":"integration-test-acc-dyn","globalAccount":"terraformintcanary","region":"eu12","subdomain":"integration-test-acc-dyn"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - ee4f4097-b2a7-5153-e0c6-2b511af255ce + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"N\/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"STARTED","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:38:44 PM","jobId":"2842564"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:44 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 85c22517-aeba-492a-69ee-eb523d9c87ab + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 572.181ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - bb7b408c-1e29-ae13-b461-e683a60c12c5 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:38:45 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:49 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c7c91108-5487-48f7-4331-65d380037dc0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 247.6353ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 415b5171-4a2c-300a-66ce-308bce7fff5d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:38:45 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:54 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8aaf8991-164a-4dba-5910-bb3ea14a9617 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 264.4154ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 9968c34a-669f-cf9f-d4e1-c1af2ac784d3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:38:58 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:04 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 087cc9c4-76f7-4f00-7bf3-a6be8ff8ae61 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 180.2648ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c14505e5-9572-a634-6e97-f09c563c7f4f + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:05 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d551fe99-ddb2-4ac1-6341-af783cb91b8c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 437.0763ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - b3be1ee6-de1a-ff3d-a45b-ddba04901033 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:05 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8da85be6-8105-4c00-40bd-b78e8a158669 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 404.0756ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c0c1dcf3-05e1-7b7f-dbdc-9584c86a8e01 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:38:58 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 9ccc3b6b-2a9b-4e78-4500-045701de14fa + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 211.4637ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - f6fb0f2c-8c68-2150-2656-ef714f9ea55f + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 97a594ba-3dc5-4dbe-4bfb-30dadf286293 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 431.8743ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 84ee8b36-f8ec-7cf9-511e-944c21884851 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - ff4b512e-9ea7-41f8-510a-918a48a024d4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 402.339ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 6724c293-1759-d613-728d-f0822fa14aa9 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"UNSET","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:38:58 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bc84bbb4-2102-4bca-744b-bab7af421b68 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 194.8746ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 8db8a4b8-464e-ef94-7c91-48a84c3964d2 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - af30d44a-f99b-47ca-67cf-b838301b1d84 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 342.1666ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 32ccff87-06ec-7d8c-7bd4-ad489cf52389 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:08 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b8a95680-1b3e-42af-6e90-61f48724b699 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 359.4618ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 250 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"betaEnabled":"false","directoryID":"03760ecf-9d89-4189-a92a-1c7efed09298","displayName":"Integration Test Acc Dyn","globalAccount":"terraformintcanary","subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180","usedForProduction":"true"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 555ff4c9-ccf2-fba1-73fc-66c3a7a412a6 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:39:31 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:31 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 75464299-77b2-4992-54ce-beeede970529 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 380.0512ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 54fb5806-b5a1-13c4-44ed-9f7d011de9c7 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:32 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c18996b3-2ae4-46af-510c-6e58f3ee43e0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 325.5963ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 486b2c39-228e-2d60-e98b-f2ee7fdfde24 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:32 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 9f393d7a-8149-4ed7-68e5-cb5e8159810a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 362.4139ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a1356120-7988-e698-4cd6-bef22ec3d41f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:39:31 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:32 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b57b512f-2e3d-4e98-71bb-6f94396b1c02 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 209.9734ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - adcc72b9-424a-3d87-f624-324b2bb488a4 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c8fd2822-973c-4102-42c1-a33b3e11049e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 347.5464ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 6936378a-5ca9-702b-950b-31a055a88aac + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eb799c62-d9af-4bdb-6d07-beb5eff304fc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 381.6107ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a7369af4-f717-d46b-6157-60495569ee05 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:34 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 76cc406f-05ea-4543-6403-0caea29709a3 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 351.606ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 108 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"confirm":"true","forceDelete":"true","subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e7fc0c26-9519-e745-5f0b-42715ff58bd6 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Delete subaccount entity","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:39:31 PM","jobId":"2842567"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:34 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0050e958-16e5-4992-4427-b5921f0adabc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 300.939ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2e58c344-d77e-0d71-e0c6-d2402623a305 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:39:35 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:39 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 406367f7-9f23-412a-6b49-30476e61c267 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 219.4421ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - f2c36369-1428-d0a9-d580-06bfc40d0d0d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:39:35 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:45 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d5f30067-9c6a-41b6-7884-3d7d71f467a4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 250.3075ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - f94ae3dd-93aa-a62f-01d4-9a745d15ba14 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"730b56af-3b7f-42dc-84bf-068a3b124180","technicalName":"730b56af-3b7f-42dc-84bf-068a3b124180","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:38:44 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:39:35 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:39:55 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 52ea6800-e927-46ea-4880-0e2cfbb18d04 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 224.0745ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"730b56af-3b7f-42dc-84bf-068a3b124180"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - bbfedb0b-fb54-5659-d86b-f36c84d8129b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"error":"404 Not Found: [no body] [Error: 404]"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:40:05 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "404" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 32281e56-c21f-43f1-7bd3-cb22f120de1c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 275.0035ms diff --git a/internal/provider/fixtures/resource_subaccount_used_for_production.yaml b/internal/provider/fixtures/resource_subaccount_used_for_production.yaml new file mode 100644 index 00000000..3148b1fd --- /dev/null +++ b/internal/provider/fixtures/resource_subaccount_used_for_production.yaml @@ -0,0 +1,1969 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a91f278e-41bc-f156-077b-c2fe137e7696 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:36:38 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c3e41083-dbe1-4865-6593-040a67c1dbdd + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 590.9872ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 27fe7afc-804d-25ad-678e-51a8813e6532 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:36:38 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 501466f6-7adf-4f5f-4beb-866e6051c9f1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 435.8414ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - b5b8f229-b61b-9c4c-2531-0cffab30a3c8 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:36:39 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 422727de-a6ee-4604-6fc5-7c55f9b4264d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 426.7021ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 200 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"betaEnabled":"false","displayName":"integration-test-acc-dyn","globalAccount":"terraformintcanary","region":"eu12","subdomain":"integration-test-acc-dyn","usedForProduction":"true"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0c06e5e6-ae8e-d65d-9c67-844ffb895b58 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"N\/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"STARTED","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:36:53 PM","jobId":"2842549"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:36:53 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - dc330d56-f3a4-43ed-46b4-bbe55fcc2630 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 549.2522ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 86691fae-72c0-b89a-1bab-574af1d1ab8d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:36:54 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:36:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0bde44df-bd6e-4cdb-47fb-746b161f11fc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 350.1112ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0e9790cf-b549-34e9-4c52-c646d654aee1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"N/A","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"CREATING","stateMessage":"Creating subaccount tenant.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:36:54 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:04 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d5bedf49-5e5c-46a3-6a5a-9be9ebff7598 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 332.4044ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 28905a00-8ea9-ff56-3d31-811c2dec0087 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:08 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:14 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a5869638-227b-468a-65a7-e28f1814f2aa + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 237.5703ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - baf05486-f973-c7e4-8ebf-ba50ca112bb0 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:15 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 9cbfb2c9-1e6e-4064-46c2-377371a78034 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 485.2988ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 6cb9620b-f958-707e-e751-dea23c3a7e77 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:15 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0207e608-e3e7-40d2-72ba-87976646fd18 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 367.5581ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 11b5271d-815f-bfc8-7249-4de4094fc771 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:08 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:15 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 83d7d49c-2da0-4f47-4d10-e1b497bae2d2 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 207.5956ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fa05d9f4-1844-d955-e2f4-c2d0a33f401b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:16 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f6c5d1ab-80a2-4ec0-4bc1-a62f0fa7b870 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 410.379ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c6709dff-18b8-8dc4-7075-139c7bfdea79 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:16 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 256e6705-8917-46fd-423b-3ca9694bbf51 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 445.7962ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c86e67c3-a5e2-3079-cfec-0e0bb74f48b1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"integration-test-acc-dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:08 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6eacdd34-8a13-4cc9-6efc-71e1716ff9f1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 228.6118ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a7ee6139-9edf-4649-67ef-19e1e408d92b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 196f5d1d-0bad-474b-6da8-4080033814fc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 402.1099ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c9aee952-6b89-7be9-7924-7128541ef5a3 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 49506786-788a-42fa-723f-5baaf98bb6de + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 380.7866ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 250 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"betaEnabled":"false","directoryID":"03760ecf-9d89-4189-a92a-1c7efed09298","displayName":"Integration Test Acc Dyn","globalAccount":"terraformintcanary","subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e","usedForProduction":"true"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0c65d77a-fe16-d4b2-060c-41f01c698322 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:26 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1fa6176d-21f5-4343-4717-1ad27c57060f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 348.0224ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0ee44a0c-ff3f-b149-e0ad-1485859312ec + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:26 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8a9b5802-58e0-45d0-41be-c504e52d363e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 397.2601ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c875e27b-b51e-950e-929d-79624ea08a9b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 01647a85-0ac1-4b03-5da1-72af70e8ad85 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 386.5323ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 37b7e658-5222-146d-615b-7c9741d85439 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:26 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - cb6db027-bb27-4435-4503-2f41d848b0ae + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 234.3509ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2279bc19-742e-0639-980e-b4564fa29624 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:27 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a63350d8-84d1-4a77-5750-cef914ca628a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 376.8397ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4fd71ed7-35f8-adb6-20e6-d610575a79a3 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 35e9da2c-e6a2-4a2c-7b4e-1fb962d87ee3 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 385.3039ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2971abd5-0f3e-ca39-7fca-a51322063b51 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"OK","stateMessage":"Subaccount created.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:26 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:28 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 07bb6b45-c656-4aaa-4c94-1c3a90621866 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 216.4573ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - df46e73c-cede-cea1-b288-ee8f51fa8294 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 5a7e2078-a4ea-4bdb-5076-1ddba36229d1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 444.742ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 59d53f13-8b70-f3c2-de85-5f6438c39263 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 752e4de2-e2ac-4dcb-4673-9cc22a8bae8b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 366.0832ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 108 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"confirm":"true","forceDelete":"true","subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 471de931-c1c3-a725-c7f0-a3604cdef172 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Delete subaccount entity","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:26 PM","jobId":"2842552"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:29 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f0d56ec7-ecf6-4b99-4c29-d4ee0a55b8d2 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 267.3062ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - d999ff1c-d7a9-c336-a143-3a0cb7a4676c + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:30 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:35 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4899a3d9-9ddf-4fbc-4602-bea8a5bc726e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 293.9272ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 44702f17-7a57-947d-f9b5-ab7af17a5526 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:30 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:40 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0f39c9b4-3265-4795-5f24-b0516e97f995 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 221.918ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - beeb2b42-646c-5672-5c46-24e4dd467653 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"guid":"3f99b597-7c8c-4896-839e-236d3c97817e","technicalName":"3f99b597-7c8c-4896-839e-236d3c97817e","displayName":"Integration Test Acc Dyn","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","parentType":"ROOT","region":"eu12","subdomain":"integration-test-acc-dyn","betaEnabled":false,"usedForProduction":"USED_FOR_PRODUCTION","state":"DELETING","stateMessage":"Deleting subaccount.","createdDate":"Jul 13, 2023, 3:36:53 PM","createdBy":"john.doe@int.test","modifiedDate":"Jul 13, 2023, 3:37:30 PM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:37:50 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c43ad981-79c2-4816-7acb-195ed9317e82 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 226.6189ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"3f99b597-7c8c-4896-839e-236d3c97817e"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 8223afb6-6b51-b621-39fd-6b6292dbd930 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"error":"404 Not Found: [no body] [Error: 404]"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 13 Jul 2023 15:38:00 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "404" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4ee86daa-c829-472c-6b14-cb38f942182b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 284.7194ms diff --git a/internal/provider/resource_subaccount.go b/internal/provider/resource_subaccount.go index bc9ebeea..697bf304 100644 --- a/internal/provider/resource_subaccount.go +++ b/internal/provider/resource_subaccount.go @@ -173,6 +173,14 @@ __Further documentation:__ getFormattedValueAsTableRow("`NOT_USED_FOR_PRODUCTION`", "The subaccount is not used for production purposes.") + getFormattedValueAsTableRow("`USED_FOR_PRODUCTION`", "The subaccount is used for production purposes."), Computed: true, + Optional: true, + Validators: []validator.String{ + stringvalidator.OneOf([]string{ + "USED_FOR_PRODUCTION", + "NOT_USED_FOR_PRODUCTION", + "UNSET", + }...), + }, }, }, } @@ -236,6 +244,19 @@ func (rs *subaccountResource) Create(ctx context.Context, req resource.CreateReq args.Labels = labels } + // The BTP CLI and CIS use different parameters for the subaccount usage + // To trigger the right state we must distinguish how to set the value in CREATE scenarios + // Options: "" == ignored in CREATE request, "true" == boolean true in CREATE request, "false" == boolean false in CREATE request + /*if plan.Usage.IsUnknown() || plan.Usage.IsNull() { + // No usage explicitly requested + args.UsedForProduction = "" + } else { + // Explicit setting of usage requested + + } + */ + args.UsedForProduction = mapUsageToUsedForProduction(plan.Usage.ValueString()) + cliRes, _, err := rs.cli.Accounts.Subaccount.Create(ctx, &args) if err != nil { @@ -299,6 +320,8 @@ func (rs *subaccountResource) Update(ctx context.Context, req resource.UpdateReq plan.Labels.ElementsAs(ctx, &labels, false) args.Labels = labels + args.UsedForProduction = mapUsageToUsedForProduction(plan.Usage.ValueString()) + cliRes, _, err := rs.cli.Accounts.Subaccount.Update(ctx, &args) if err != nil { resp.Diagnostics.AddError("API Error Updating Resource Subaccount", fmt.Sprintf("%s", err)) @@ -361,3 +384,18 @@ func (rs *subaccountResource) Delete(ctx context.Context, req resource.DeleteReq func (rs *subaccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) } + +func mapUsageToUsedForProduction(subaccountUsage string) string { + // The BTP CLI and CIS use different parameters for the subaccount usage + // To trigger the right usage creation in CREATE and avoid unwanted state changes in UPDATE we must distinguish if and how to set the value + // Options: "" == ignored in request, "true" == boolean true in request, "false" == boolean false in request + switch subaccountUsage { + case "UNSET": + return "" + case "NOT_USED_FOR_PRODUCTION": + return "false" + case "USED_FOR_PRODUCTION": + return "true" + } + return "" +} diff --git a/internal/provider/resource_subaccount_test.go b/internal/provider/resource_subaccount_test.go index 3b598a8b..27213c7c 100644 --- a/internal/provider/resource_subaccount_test.go +++ b/internal/provider/resource_subaccount_test.go @@ -61,6 +61,101 @@ func TestResourceSubaccount(t *testing.T) { }, }) }) + t.Run("happy path used for prod", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_subaccount_used_for_production") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountUsedForProd("uut", "integration-test-acc-dyn", "eu12", "integration-test-acc-dyn"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount.uut", "id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "name", "integration-test-acc-dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "description", ""), + resource.TestMatchResourceAttr("btp_subaccount.uut", "parent_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "subdomain", "integration-test-acc-dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "created_by", "john.doe@int.test"), + resource.TestMatchResourceAttr("btp_subaccount.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount.uut", "state", "OK"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "usage", "USED_FOR_PRODUCTION"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "beta_enabled", "false"), + ), + }, + { + //Update name wo change of usage but proivde usage explicitly again + Config: hclProvider() + hclResourceSubaccountUsedForProd("uut", "Integration Test Acc Dyn", "eu12", "integration-test-acc-dyn"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount.uut", "id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "name", "Integration Test Acc Dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "description", ""), + resource.TestMatchResourceAttr("btp_subaccount.uut", "parent_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "subdomain", "integration-test-acc-dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "created_by", "john.doe@int.test"), + resource.TestMatchResourceAttr("btp_subaccount.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount.uut", "state", "OK"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "usage", "USED_FOR_PRODUCTION"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "beta_enabled", "false"), + ), + }, + { + ResourceName: "btp_subaccount.uut", + ImportState: true, + ImportStateVerify: true, + }, + }, + }) + }) + + t.Run("happy path change to used for prod", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_subaccount_change_to_used_for_production") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccount("uut", "integration-test-acc-dyn", "eu12", "integration-test-acc-dyn"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount.uut", "id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "name", "integration-test-acc-dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "description", ""), + resource.TestMatchResourceAttr("btp_subaccount.uut", "parent_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "subdomain", "integration-test-acc-dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "created_by", "john.doe@int.test"), + resource.TestMatchResourceAttr("btp_subaccount.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount.uut", "state", "OK"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "usage", "UNSET"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "beta_enabled", "false"), + ), + }, + { + //Update name wo change of usage but proivde usage explicitly again + Config: hclProvider() + hclResourceSubaccountUsedForProd("uut", "Integration Test Acc Dyn", "eu12", "integration-test-acc-dyn"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount.uut", "id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "name", "Integration Test Acc Dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "description", ""), + resource.TestMatchResourceAttr("btp_subaccount.uut", "parent_id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount.uut", "subdomain", "integration-test-acc-dyn"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "created_by", "john.doe@int.test"), + resource.TestMatchResourceAttr("btp_subaccount.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount.uut", "state", "OK"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "usage", "USED_FOR_PRODUCTION"), + resource.TestCheckResourceAttr("btp_subaccount.uut", "beta_enabled", "false"), + ), + }, + }, + }) + }) + t.Run("error path - parent_id not a valid UUID", func(t *testing.T) { resource.Test(t, resource.TestCase{ IsUnitTest: true, @@ -142,3 +237,15 @@ resource "btp_subaccount" "%s" { return fmt.Sprintf(template, resourceName, parentId, displayName, region, subdomain) } + +func hclResourceSubaccountUsedForProd(resourceName string, displayName string, region string, subdomain string) string { + template := ` +resource "btp_subaccount" "%s" { + name = "%s" + region = "%s" + subdomain = "%s" + usage = "USED_FOR_PRODUCTION" +}` + + return fmt.Sprintf(template, resourceName, displayName, region, subdomain) +} From 1dab6bf865d51bea9fd8a94ff732ee6ef9829428 Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Wed, 19 Jul 2023 10:35:26 +0200 Subject: [PATCH 7/7] feat: add resource app subscription (#282) --- docs/data-sources/subaccount_app.md | 56 + docs/data-sources/subaccount_apps.md | 63 + docs/data-sources/subaccount_subscription.md | 61 + docs/data-sources/subaccount_subscriptions.md | 72 + docs/resources/subaccount_subscription.md | 76 + .../btpcli/types/saas_manager_service/time.go | 8 +- .../datasource_subaccount_app_test.go | 97 ++ .../provider/datasource_subaccount_apps.go | 7 + .../datasource_subaccount_apps_test.go | 64 + ...datasource_subaccount_subscription_test.go | 99 ++ .../datasource_subaccount_subscriptions.go | 7 + ...atasource_subaccount_subscriptions_test.go | 64 + .../fixtures/datasource_subaccount_apps.yaml | 1145 ++++++++++++++ .../datasource_subaccount_apps_by_id.yaml | 1145 ++++++++++++++ ...ubaccount_subscription_by_id_and_plan.yaml | 1145 ++++++++++++++ .../datasource_subaccount_subscriptions.yaml | 1145 ++++++++++++++ .../resource_subaccount_subscription.yaml | 1331 +++++++++++++++++ ..._subaccount_subscription_import_error.yaml | 1177 +++++++++++++++ internal/provider/provider.go | 10 +- internal/provider/provider_test.go | 22 +- .../resource_subaccount_subscription.go | 17 +- .../resource_subaccount_subscription_test.go | 143 ++ 22 files changed, 7930 insertions(+), 24 deletions(-) create mode 100644 docs/data-sources/subaccount_app.md create mode 100644 docs/data-sources/subaccount_apps.md create mode 100644 docs/data-sources/subaccount_subscription.md create mode 100644 docs/data-sources/subaccount_subscriptions.md create mode 100644 docs/resources/subaccount_subscription.md create mode 100644 internal/provider/datasource_subaccount_app_test.go create mode 100644 internal/provider/datasource_subaccount_apps_test.go create mode 100644 internal/provider/datasource_subaccount_subscription_test.go create mode 100644 internal/provider/datasource_subaccount_subscriptions_test.go create mode 100644 internal/provider/fixtures/datasource_subaccount_apps.yaml create mode 100644 internal/provider/fixtures/datasource_subaccount_apps_by_id.yaml create mode 100644 internal/provider/fixtures/datasource_subaccount_subscription_by_id_and_plan.yaml create mode 100644 internal/provider/fixtures/datasource_subaccount_subscriptions.yaml create mode 100644 internal/provider/fixtures/resource_subaccount_subscription.yaml create mode 100644 internal/provider/fixtures/resource_subaccount_subscription_import_error.yaml create mode 100644 internal/provider/resource_subaccount_subscription_test.go diff --git a/docs/data-sources/subaccount_app.md b/docs/data-sources/subaccount_app.md new file mode 100644 index 00000000..ef07dd48 --- /dev/null +++ b/docs/data-sources/subaccount_app.md @@ -0,0 +1,56 @@ +--- +page_title: "btp_subaccount_app Data Source - terraform-provider-btp" +subcategory: "" +description: |- + Gets details about a specific app. +--- + +# btp_subaccount_app (Data Source) + +Gets details about a specific app. + +## Example Usage + +```terraform +data "btp_subaccount_app" "by_id" { + subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" + id = "xsuaa!t1" +} +``` + + +## Schema + +### Required + +- `id` (String) The application ID is the xsappname plus the identifier, which consists of an exclamation mark (!), an identifier for the plan under which the application is deployed, and an index number. +- `subaccount_id` (String) The ID of the subaccount. + +### Read-Only + +- `authorities` (Set of String) +- `description` (String) The description of the app. +- `foreign_scope_references` (Set of String) +- `master_app_id` (String) +- `oauth2_configuration` (Attributes) (see [below for nested schema](#nestedatt--oauth2_configuration)) +- `org_id` (String) +- `plan_id` (String) +- `plan_name` (String) +- `serviceinstance_id` (String) +- `space_id` (String) +- `tenant_mode` (String) +- `username` (String) +- `xsappname` (String) + + +### Nested Schema for `oauth2_configuration` + +Read-Only: + +- `allowedproviders` (Set of String) +- `autoapprove` (Boolean) +- `grant_types` (Set of String) +- `redirect_uris` (Set of String) +- `refresh_token_validity` (Number) +- `system_attributes` (Set of String) +- `token_validity` (Number) \ No newline at end of file diff --git a/docs/data-sources/subaccount_apps.md b/docs/data-sources/subaccount_apps.md new file mode 100644 index 00000000..c3b03c5a --- /dev/null +++ b/docs/data-sources/subaccount_apps.md @@ -0,0 +1,63 @@ +--- +page_title: "btp_subaccount_apps Data Source - terraform-provider-btp" +subcategory: "" +description: |- + Lists all apps. +--- + +# btp_subaccount_apps (Data Source) + +Lists all apps. + +## Example Usage + +```terraform +data "btp_subaccount_apps" "all" { + subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" +} +``` + + +## Schema + +### Required + +- `subaccount_id` (String) The ID of the subaccount. + +### Read-Only + +- `id` (String, Deprecated) The ID of the subaccount. +- `values` (Attributes List) (see [below for nested schema](#nestedatt--values)) + + +### Nested Schema for `values` + +Read-Only: + +- `authorities` (Set of String) +- `description` (String) The description of the app. +- `foreign_scope_references` (Set of String) +- `id` (String) The application ID is the xsappname plus the identifier, which consists of an exclamation mark (!), an identifier for the plan under which the application is deployed, and an index number. +- `master_app_id` (String) +- `oauth2_configuration` (Attributes) (see [below for nested schema](#nestedatt--values--oauth2_configuration)) +- `org_id` (String) +- `plan_id` (String) +- `plan_name` (String) +- `serviceinstance_id` (String) +- `space_id` (String) +- `tenant_mode` (String) +- `username` (String) +- `xsappname` (String) + + +### Nested Schema for `values.oauth2_configuration` + +Read-Only: + +- `allowedproviders` (Set of String) +- `autoapprove` (Boolean) +- `grant_types` (Set of String) +- `redirect_uris` (Set of String) +- `refresh_token_validity` (Number) +- `system_attributes` (Set of String) +- `token_validity` (Number) \ No newline at end of file diff --git a/docs/data-sources/subaccount_subscription.md b/docs/data-sources/subaccount_subscription.md new file mode 100644 index 00000000..07acdf41 --- /dev/null +++ b/docs/data-sources/subaccount_subscription.md @@ -0,0 +1,61 @@ +--- +page_title: "btp_subaccount_subscription Data Source - terraform-provider-btp" +subcategory: "" +description: |- + Gets the details of a specific multitenant application to which a subaccount is entitled to subscribe. If this application is in a different global account than the current one, you need to specify its plan with '--plan'. + Tip: + You must be assigned to the subaccount admin or viewer role. +--- + +# btp_subaccount_subscription (Data Source) + +Gets the details of a specific multitenant application to which a subaccount is entitled to subscribe. If this application is in a different global account than the current one, you need to specify its plan with '--plan'. + +__Tip:__ +You must be assigned to the subaccount admin or viewer role. + +## Example Usage + +```terraform +data "btp_subaccount_subscription" "content_agent_ui_free" { + subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" + app_name = "content-agent-ui" + plan_name = "free" +} +``` + + +## Schema + +### Required + +- `app_name` (String) The unique registration name of the deployed multitenant application as defined by the app developer. +- `plan_name` (String) The plan name of the application to which the consumer has subscribed. +- `subaccount_id` (String) The ID of the subaccount. + +### Read-Only + +- `additional_plan_features` (Set of String) The list of features specific to this plan. +- `app_id` (String) The ID returned by XSUAA after the app provider has performed a bind of the multitenant application to a XSUAA service instance. +- `authentication_provider` (String) The authentication provider of the multitenant application. * XSUAA is the SAP Authorization and Trust Management service that defines scopes and permissions for users as tenants at the global account level. * IAS is Identity Authentication Service that defines scopes and permissions for users in zones (common data isolation systems across systems, SaaS tenants, and services). +- `category` (String) The technical name of the category defined by the app developer to which the multitenant application is grouped in customer-facing UIs. +- `commercial_app_name` (String) The commercial name of the deployed multitenant application as defined by the app developer. +- `created_date` (String) The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format. +- `customer_developed` (Boolean) Shows whether the application was developed by a customer. If not, then the application is developed by the cloud operator, such as SAP. +- `description` (String) The description of the multitenant application. +- `display_name` (String) The display name of the application for customer-facing UIs. +- `formation_solution_name` (String) The name of the formations solution associated with the multitenant application. +- `globalaccount_id` (String) The ID of the associated global account. +- `id` (String) The technical ID generated by XSUAA for a multitenant application when a consumer subscribes to the application. +- `labels` (Map of Set of String) Set of words or phrases assigned to the multitenant application subscription. +- `last_modified` (String) The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format. +- `parameters` (String) The parameters of the subscription as a valid JSON object. +- `platform_entity_id` (String) The ID of the landscape-specific environment. +- `quota` (Number) The total amount the subscribed subaccount is entitled to consume. +- `state` (String) The subscription state of the subaccount regarding the multitenant application. +- `subscribed_subaccount_id` (String) The ID of the subaccount which is subscribed to the multitenant application. +- `subscribed_tenant_id` (String) The ID of the tenant which is subscribed to a multitenant application. +- `subscription_url` (String) The URL for app users to launch the subscribed application. +- `supports_parameters_updates` (Boolean) Specifies whether a consumer, whose subaccount is subscribed to the application, can change its subscriptions parameters. +- `supports_plan_updates` (Boolean) Specifies whether a consumer, whose subaccount is subscribed to the application, can change the subscription to a different plan that is available for this application and subaccount. +- `tenant_id` (String) The tenant ID of the application provider. \ No newline at end of file diff --git a/docs/data-sources/subaccount_subscriptions.md b/docs/data-sources/subaccount_subscriptions.md new file mode 100644 index 00000000..a8b8c79c --- /dev/null +++ b/docs/data-sources/subaccount_subscriptions.md @@ -0,0 +1,72 @@ +--- +page_title: "btp_subaccount_subscriptions Data Source - terraform-provider-btp" +subcategory: "" +description: |- + Lists all the multitenant applications to which a subaccount is entitled to subscribe, including their subscription details. + Tip: + You must be assigned to the subaccount admin or viewer role. +--- + +# btp_subaccount_subscriptions (Data Source) + +Lists all the multitenant applications to which a subaccount is entitled to subscribe, including their subscription details. + +__Tip:__ +You must be assigned to the subaccount admin or viewer role. + +## Example Usage + +```terraform +data "btp_subaccount_subscriptions" "all" { + subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" +} +``` + + +## Schema + +### Required + +- `subaccount_id` (String) + +### Read-Only + +- `id` (String, Deprecated) The ID of the subaccount. +- `values` (Attributes List) (see [below for nested schema](#nestedatt--values)) + + +### Nested Schema for `values` + +Read-Only: + +- `additional_plan_features` (Set of String) The list of features specific to this plan. +- `app_id` (String) The ID returned by XSUAA after the app provider has performed a bind of the multitenant application to a XSUAA service instance. +- `app_name` (String) The unique registration name of the deployed multitenant application as defined by the app developer. +- `authentication_provider` (String) The authentication provider of the multitenant application. * XSUAA is the SAP Authorization and Trust Management service that defines scopes and permissions for users as tenants at the global account level. * IAS is Identity Authentication Service that defines scopes and permissions for users in zones (common data isolation systems across systems, SaaS tenants, and services). +- `automation_state` (String) The state of the automation solution. +- `automation_state_message` (String) The message that describes the automation solution state. +- `category` (String) The technical name of the category defined by the app developer to which the multitenant application is grouped in customer-facing UIs. +- `category_display_name` (String) The display name of the category for customer-facing UIs. +- `commercial_app_name` (String) The commercial name of the deployed multitenant application as defined by the app developer. +- `created_date` (String) The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format. +- `customer_developed` (Boolean) Shows whether the application was developed by a customer. If not, then the application is developed by the cloud operator, such as SAP. +- `description` (String) The description of the multitenant application. +- `display_name` (String) The display name of the application for customer-facing UIs. +- `formation_solution_name` (String) The name of the formations solution associated with the multitenant application. +- `globalaccount_id` (String) The ID of the associated global account. +- `id` (String) The technical ID generated by XSUAA for a multitenant application when a consumer subscribes to the application. +- `incident_tracking_component` (String) The application's incident-tracking component provided in metadata for customer-facing UIs. +- `labels` (Map of Set of String) Set of words or phrases assigned to the multitenant application subscription. +- `last_modified` (String) The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format. +- `plan_description` (String) The description of the plan for customer-facing UIs. +- `plan_name` (String) The plan name of the application to which the consumer has subscribed. +- `platform_entity_id` (String) The ID of the landscape-specific environment. +- `quota` (Number) The total amount the subscribed subaccount is entitled to consume. +- `short_description` (String) The short description of the multitenant application for customer-facing UIs. +- `state` (String) The subscription state of the subaccount regarding the multitenant application. +- `subscribed_subaccount_id` (String) The ID of the subaccount which is subscribed to the multitenant application. +- `subscribed_tenant_id` (String) The ID of the tenant which is subscribed to a multitenant application. +- `subscription_url` (String) The URL for app users to launch the subscribed application. +- `supports_parameters_updates` (Boolean) Specifies whether a consumer, whose subaccount is subscribed to the application, can change its subscriptions parameters. +- `supports_plan_updates` (Boolean) Specifies whether a consumer, whose subaccount is subscribed to the application, can change the subscription to a different plan that is available for this application and subaccount. +- `tenant_id` (String) The tenant ID of the application provider. \ No newline at end of file diff --git a/docs/resources/subaccount_subscription.md b/docs/resources/subaccount_subscription.md new file mode 100644 index 00000000..1c8b16c3 --- /dev/null +++ b/docs/resources/subaccount_subscription.md @@ -0,0 +1,76 @@ +--- +page_title: "btp_subaccount_subscription Resource - terraform-provider-btp" +subcategory: "" +description: |- + Subscribes to a multitenant application from a subaccount. + Custom or partner-developed applications are currently not supported. + Tip: + You must be assigned to the subaccount admin role. +--- + +# btp_subaccount_subscription (Resource) + +Subscribes to a multitenant application from a subaccount. +Custom or partner-developed applications are currently not supported. + +__Tip:__ +You must be assigned to the subaccount admin role. + +## Example Usage + +```terraform +resource "btp_subaccount_subscription" "workzone" { + subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" + app_name = "SAPLaunchpad" + plan_name = "free" +} +``` + + +## Schema + +### Required + +- `app_name` (String) The unique registration name of the deployed multitenant application as defined by the app developer. +- `plan_name` (String) The plan name of the application to which the consumer has subscribed. +- `subaccount_id` (String) The ID of the subaccount. + +### Optional + +- `parameters` (String) The parameters of the subscription as a valid JSON object. + +### Read-Only + +- `additional_plan_features` (Set of String) The list of features specific to this plan. +- `app_id` (String) The ID returned by XSUAA after the app provider has performed a bind of the multitenant application to an XSUAA service instance. +- `authentication_provider` (String) The authentication provider of the multitenant application. * XSUAA is the SAP Authorization and Trust Management service that defines scopes and permissions for users as tenants at the global account level. * IAS is Identity Authentication Service that defines scopes and permissions for users in zones (common data isolation systems across systems, SaaS tenants, and services). +- `category` (String) The technical name of the category defined by the app developer to which the multitenant application is grouped in customer-facing UIs. +- `commercial_app_name` (String) The commercial name of the deployed multitenant application as defined by the app developer. +- `created_date` (String) The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format. +- `customer_developed` (Boolean) Shows whether the application was developed by a customer. If not, then the application is developed by the cloud operator, such as SAP. +- `description` (String) The description of the multitenant application for customer-facing UIs. +- `display_name` (String) The display name of the application for customer-facing UIs. +- `formation_solution_name` (String) The name of the formations solution associated with the multitenant application. +- `globalaccount_id` (String) The ID of the associated global account. +- `id` (String) The technical ID generated by XSUAA for a multitenant application when a consumer subscribes to the application. +- `labels` (Map of Set of String) The set of words or phrases assigned to the multitenant application subscription. +- `last_modified` (String) The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format. +- `platform_entity_id` (String) The ID of the landscape-specific environment. +- `quota` (Number) The total amount the subscribed subaccount is entitled to consume. +- `state` (String) The subscription state of the subaccount regarding the multitenant application. +- `subscribed_subaccount_id` (String) The ID of the subaccount, which is subscribed to the multitenant application. +- `subscribed_tenant_id` (String) The ID of the tenant, which is subscribed to a multitenant application. +- `subscription_url` (String) The URL for app users to launch the subscribed application. +- `supports_parameters_updates` (Boolean) Specifies whether a consumer, whose subaccount is subscribed to the application, can change its subscriptions parameters. +- `supports_plan_updates` (Boolean) Specifies whether a consumer, whose subaccount is subscribed to the application, can change the subscription to a different plan that is available for this application and subaccount. +- `tenant_id` (String) The tenant ID of the application provider. + +## Import + +Import is supported using the following syntax: + +```terraform +# terraform import btp_subaccount_subscription. ,, + +terraform import btp_subaccount_subscription.workzone 6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f,SAPLaunchpad,free +``` diff --git a/internal/btpcli/types/saas_manager_service/time.go b/internal/btpcli/types/saas_manager_service/time.go index 64d46dd5..193268fe 100644 --- a/internal/btpcli/types/saas_manager_service/time.go +++ b/internal/btpcli/types/saas_manager_service/time.go @@ -1,7 +1,6 @@ package saas_manager_service import ( - "strconv" "strings" "time" ) @@ -14,12 +13,15 @@ func (t *Time) UnmarshalJSON(b []byte) error { *t = Time{} return nil } - i, err := strconv.ParseInt(s, 10, 64) + + layout := "Jan 2, 2006, 3:04:05 PM" + + timeString, err := time.Parse(layout, s) if err != nil { return err } - *t = Time(time.UnixMilli(i).UTC()) + *t = Time(timeString.UTC()) return nil } diff --git a/internal/provider/datasource_subaccount_app_test.go b/internal/provider/datasource_subaccount_app_test.go new file mode 100644 index 00000000..22240f2d --- /dev/null +++ b/internal/provider/datasource_subaccount_app_test.go @@ -0,0 +1,97 @@ +package provider + +import ( + "fmt" + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestDataSourceSubaccountApp(t *testing.T) { + + t.Parallel() + t.Run("happy path - app by id", func(t *testing.T) { + rec := setupVCR(t, "fixtures/datasource_subaccount_apps_by_id") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountAppById("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "cas-ui-xsuaa-prod!t216"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("data.btp_subaccount_app.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + resource.TestCheckResourceAttr("data.btp_subaccount_app.uut", "id", "cas-ui-xsuaa-prod!t216"), + resource.TestCheckResourceAttr("data.btp_subaccount_app.uut", "xsappname", "cas-ui-xsuaa-prod"), + resource.TestCheckResourceAttr("data.btp_subaccount_app.uut", "plan_name", "application"), + resource.TestCheckResourceAttr("data.btp_subaccount_app.uut", "plan_id", "ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg="), + resource.TestCheckResourceAttr("data.btp_subaccount_app.uut", "tenant_mode", "shared"), + ), + }, + }, + }) + + }) + + t.Run("error path - subaccount_id mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountAppNoId("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + ExpectError: regexp.MustCompile(`The argument "id" is required, but no definition was found`), + }, + }, + }) + }) + t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountAppNoSubaccountId("uut", "cas-ui-xsuaa-prod!t216"), + ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`), + }, + }, + }) + }) + + t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountAppById("uut", "this-is-not-a-uuid", "cas-ui-xsuaa-prod!t216"), + ExpectError: regexp.MustCompile(`Attribute subaccount_id value must be a valid UUID, got: this-is-not-a-uuid`), + }, + }, + }) + }) +} + +func hclDatasourceSubaccountAppById(resourceName string, subaccountId string, appId string) string { + template := `data "btp_subaccount_app" "%s" { + subaccount_id = "%s" + id = "%s" +}` + return fmt.Sprintf(template, resourceName, subaccountId, appId) +} + +func hclDatasourceSubaccountAppNoSubaccountId(resourceName string, appId string) string { + template := `data "btp_subaccount_app" "%s" { + id = "%s" +}` + return fmt.Sprintf(template, resourceName, appId) +} + +func hclDatasourceSubaccountAppNoId(resourceName string, subaccountId string) string { + template := `data "btp_subaccount_app" "%s" { + subaccount_id = "%s" +}` + return fmt.Sprintf(template, resourceName, subaccountId) +} diff --git a/internal/provider/datasource_subaccount_apps.go b/internal/provider/datasource_subaccount_apps.go index f4981875..7dc11dea 100644 --- a/internal/provider/datasource_subaccount_apps.go +++ b/internal/provider/datasource_subaccount_apps.go @@ -37,6 +37,7 @@ type subaccountAppsValue struct { type subaccountAppsDataSourceConfig struct { /* INPUT */ SubaccountId types.String `tfsdk:"subaccount_id"` + Id types.String `tfsdk:"id"` /* OUTPUT */ Values []subaccountAppsValue `tfsdk:"values"` } @@ -68,6 +69,11 @@ func (ds *subaccountAppsDataSource) Schema(_ context.Context, _ datasource.Schem uuidvalidator.ValidUUID(), }, }, + "id": schema.StringAttribute{ // required hashicorps terraform plugin testing framework + DeprecationMessage: "Use the `subaccount_id` attribute instead", + MarkdownDescription: "The ID of the subaccount.", + Computed: true, + }, "values": schema.ListNestedAttribute{ NestedObject: schema.NestedAttributeObject{ Attributes: map[string]schema.Attribute{ @@ -168,6 +174,7 @@ func (ds *subaccountAppsDataSource) Read(ctx context.Context, req datasource.Rea return } + data.Id = data.SubaccountId data.Values = []subaccountAppsValue{} for _, app := range cliRes { appVal := subaccountAppsValue{} diff --git a/internal/provider/datasource_subaccount_apps_test.go b/internal/provider/datasource_subaccount_apps_test.go new file mode 100644 index 00000000..baa3560f --- /dev/null +++ b/internal/provider/datasource_subaccount_apps_test.go @@ -0,0 +1,64 @@ +package provider + +import ( + "fmt" + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestDataSourceSubaccountApps(t *testing.T) { + + t.Parallel() + t.Run("happy path - all apps of subaccount", func(t *testing.T) { + rec := setupVCR(t, "fixtures/datasource_subaccount_apps") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountApps("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("data.btp_subaccount_apps.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + resource.TestCheckResourceAttr("data.btp_subaccount_apps.uut", "values.#", "15"), + ), + }, + }, + }) + + }) + t.Run("error path - subaccount_id mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + `data "btp_subaccount_apps" "uut" {}`, + ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`), + }, + }, + }) + }) + t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountApps("uut", "this-is-not-a-uuid"), + ExpectError: regexp.MustCompile(`Attribute subaccount_id value must be a valid UUID, got: this-is-not-a-uuid`), + }, + }, + }) + }) +} + +func hclDatasourceSubaccountApps(resourceName string, subaccountId string) string { + template := `data "btp_subaccount_apps" "%s" { + subaccount_id = "%s" +}` + return fmt.Sprintf(template, resourceName, subaccountId) +} diff --git a/internal/provider/datasource_subaccount_subscription_test.go b/internal/provider/datasource_subaccount_subscription_test.go new file mode 100644 index 00000000..e67dc28c --- /dev/null +++ b/internal/provider/datasource_subaccount_subscription_test.go @@ -0,0 +1,99 @@ +package provider + +import ( + "fmt" + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestDataSourceSubaccountSubscription(t *testing.T) { + + t.Parallel() + t.Run("happy path - get subscriptions by id and plan", func(t *testing.T) { + rec := setupVCR(t, "fixtures/datasource_subaccount_subscription_by_id_and_plan") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountSubscriptionByIdAndPlan("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "content-agent-ui", "free"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("data.btp_subaccount_subscription.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + resource.TestCheckResourceAttr("data.btp_subaccount_subscription.uut", "app_name", "content-agent-ui"), + resource.TestCheckResourceAttr("data.btp_subaccount_subscription.uut", "plan_name", "free"), + resource.TestCheckResourceAttr("data.btp_subaccount_subscription.uut", "state", "SUBSCRIBED"), + resource.TestCheckResourceAttr("data.btp_subaccount_subscription.uut", "quota", "1"), + resource.TestMatchResourceAttr("data.btp_subaccount_subscription.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("data.btp_subaccount_subscription.uut", "last_modified", regexpValidRFC3999Format), + ), + }, + }, + }) + + }) + t.Run("error path - subaccount_id mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountSubscriptionNoSubaccountId("uut", "content-agent-ui", "free"), + ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`), + }, + }, + }) + }) + t.Run("error path - app_name mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountSubscriptionNoAppName("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "free"), + ExpectError: regexp.MustCompile(`The argument "app_name" is required, but no definition was found`), + }, + }, + }) + }) + t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountSubscriptionByIdAndPlan("uut", "this-is-not-a-uuid", "content-agent-ui", "free"), + ExpectError: regexp.MustCompile(`Attribute subaccount_id value must be a valid UUID, got: this-is-not-a-uuid`), + }, + }, + }) + }) +} + +func hclDatasourceSubaccountSubscriptionByIdAndPlan(resourceName string, subaccountId string, appName string, planName string) string { + template := `data "btp_subaccount_subscription" "%s" { + subaccount_id = "%s" + app_name = "%s" + plan_name = "%s" +}` + return fmt.Sprintf(template, resourceName, subaccountId, appName, planName) +} + +func hclDatasourceSubaccountSubscriptionNoSubaccountId(resourceName string, appName string, planName string) string { + template := `data "btp_subaccount_subscription" "%s" { + app_name = "%s" + plan_name = "%s" +}` + return fmt.Sprintf(template, resourceName, appName, planName) +} + +func hclDatasourceSubaccountSubscriptionNoAppName(resourceName string, subaccountId string, planName string) string { + template := `data "btp_subaccount_subscription" "%s" { + subaccount_id = "%s" + plan_name = "%s" +}` + return fmt.Sprintf(template, resourceName, subaccountId, planName) +} diff --git a/internal/provider/datasource_subaccount_subscriptions.go b/internal/provider/datasource_subaccount_subscriptions.go index 88b9f7b1..2b88433e 100644 --- a/internal/provider/datasource_subaccount_subscriptions.go +++ b/internal/provider/datasource_subaccount_subscriptions.go @@ -54,6 +54,7 @@ type subaccountSubscriptionsValue struct { type subaccountSubscriptionsDataSourceConfig struct { /* INPUT */ SubaccountId types.String `tfsdk:"subaccount_id"` + Id types.String `tfsdk:"id"` /* OUTPUT */ Values []subaccountSubscriptionsValue `tfsdk:"values"` } @@ -87,6 +88,11 @@ You must be assigned to the subaccount admin or viewer role.`, uuidvalidator.ValidUUID(), }, }, + "id": schema.StringAttribute{ // required hashicorps terraform plugin testing framework + DeprecationMessage: "Use the `subaccount_id` attribute instead", + MarkdownDescription: "The ID of the subaccount.", + Computed: true, + }, "values": schema.ListNestedAttribute{ NestedObject: schema.NestedAttributeObject{ Attributes: map[string]schema.Attribute{ @@ -242,6 +248,7 @@ func (ds *subaccountSubscriptionsDataSource) Read(ctx context.Context, req datas return } + data.Id = data.SubaccountId data.Values = []subaccountSubscriptionsValue{} for _, subscription := range cliRes { diff --git a/internal/provider/datasource_subaccount_subscriptions_test.go b/internal/provider/datasource_subaccount_subscriptions_test.go new file mode 100644 index 00000000..9f12b4e3 --- /dev/null +++ b/internal/provider/datasource_subaccount_subscriptions_test.go @@ -0,0 +1,64 @@ +package provider + +import ( + "fmt" + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestDataSourceSubaccountSubscriptions(t *testing.T) { + + t.Parallel() + t.Run("happy path - all subscriptions of subaccount", func(t *testing.T) { + rec := setupVCR(t, "fixtures/datasource_subaccount_subscriptions") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountSubscriptions("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("data.btp_subaccount_subscriptions.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + resource.TestCheckResourceAttr("data.btp_subaccount_subscriptions.uut", "values.#", "6"), + ), + }, + }, + }) + + }) + t.Run("error path - subaccount_id mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + `data "btp_subaccount_subscriptions" "uut" {}`, + ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`), + }, + }, + }) + }) + t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclDatasourceSubaccountSubscriptions("uut", "this-is-not-a-uuid"), + ExpectError: regexp.MustCompile(`Attribute subaccount_id value must be a valid UUID, got: this-is-not-a-uuid`), + }, + }, + }) + }) +} + +func hclDatasourceSubaccountSubscriptions(resourceName string, subaccountId string) string { + template := `data "btp_subaccount_subscriptions" "%s" { + subaccount_id = "%s" +}` + return fmt.Sprintf(template, resourceName, subaccountId) +} diff --git a/internal/provider/fixtures/datasource_subaccount_apps.yaml b/internal/provider/fixtures/datasource_subaccount_apps.yaml new file mode 100644 index 00000000..055acbf8 --- /dev/null +++ b/internal/provider/fixtures/datasource_subaccount_apps.yaml @@ -0,0 +1,1145 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e94d2a59-7b02-0b84-7022-b673d91c0d17 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:10 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f7d28106-d728-426e-71a9-3c92bed3455f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 574.3785ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 898ae207-fde5-f524-a5cc-61f1d7d0e38f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:54:10 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - a3cdac6e-4b83-4eb2-6b19-8aa2c016c7bb + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 231.34ms + - id: 2 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 898ae207-fde5-f524-a5cc-61f1d7d0e38f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '[{"appid":"abap-business-service!b1312","serviceinstanceid":"42e515ba-0989-494e-a413-fdeb168df57c","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"af0e3cb4-0c9c-4bd7-b403-5bbcdadf5ebd","xsappname":"abap-business-service","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"ans-xsuaa!b72","serviceinstanceid":"a88b09be-6412-4c52-8bd9-1acabc63e26e","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"685e7b2e-842d-461f-84ba-131964838468","xsappname":"ans-xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"auditlog!b14","serviceinstanceid":"eb930e00-7414-470b-be79-77fc8b1197ea","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cf-eu12-sap","xsappname":"auditlog","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials","password","user_token","client_x509","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cam-integration!t1","serviceinstanceid":"1e2c3e0a-2adb-46c3-a91c-53d8b73f86df","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-uaa","xsappname":"cam-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","attributes":[],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cis-local!b2","serviceinstanceid":"c6372bca-1380-4010-905f-7775547fbebd","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Management of your environments and subscriptions to multitenant applications.","masterAppId":null,"tenantId":"sap-provisioning","xsappname":"cis-local","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"shared"},{"appid":"cockpit!t24","serviceinstanceid":"15dcbb85-75dd-4fb6-bc71-39ccb84f2760","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cockpit_xsuaa-api!t24","serviceinstanceid":"9925f4e2-a237-4ee9-9023-0615ecd8c8f1","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit_xsuaa-api","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"connectivity!b10","serviceinstanceid":"630eff1d-05dc-4e27-a260-9d6d9d914a7b","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-connectivity","xsappname":"connectivity","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cpcli!t23","serviceinstanceid":"1354785f-7a0f-438d-ab00-a2bad3666528","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"SAPcpcli","xsappname":"cpcli","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["instance-secret","binding-secret","x509"]},"tenant-mode":"shared"},{"appid":"destination-xsappname!b9","serviceinstanceid":"b8ccc844-593a-4ed6-8a5a-cb8a5e3f5141","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Retrieve and manage destination configurations, associated certificates, and signing keys for SAML assertions issued by the Destination service.","masterAppId":null,"tenantId":"sap-destination-configuration","xsappname":"destination-xsappname","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections","ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"launchpad-utilities!b164","serviceinstanceid":"b4fcba7e-5ba1-4d0e-b1f3-f99022cdb588","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","xsappname":"launchpad-utilities","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"dedicated"},{"appid":"service-manager!b3","serviceinstanceid":"84fd49bf-328c-429a-a06d-53b6e22e65d4","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Service Manager","masterAppId":null,"tenantId":"svcmgr-cf-eu12","xsappname":"service-manager","attributes":[],"oauth2-configuration":{"token-validity":1800,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"spc-integration!t1","serviceinstanceid":"dae35f45-8e5d-4f58-b499-ca3865fa640c","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"add-scope","masterAppId":null,"tenantId":"sap-uaa","xsappname":"spc-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"xsuaa!t1","serviceinstanceid":"df0d1304-3275-492c-a944-c5de7ad0786a","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Administration of authorizations, trusted identity providers, and users.","masterAppId":null,"tenantId":"sap-uaa","xsappname":"xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}]' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:11 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f1792adc-a91a-4867-541a-6745d26b7ab7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 274.2116ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 7e40f2de-8ab6-822c-4e05-a2edf04cd257 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:11 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c7ddaf24-74cc-485f-4470-a86436244949 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 375.5209ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4cb5335b-57fe-81e2-4941-812e57e3d1bc + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:54:11 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - bfa0ec21-e3f4-4b22-49ca-fdcdd33525a4 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 174.378ms + - id: 5 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4cb5335b-57fe-81e2-4941-812e57e3d1bc + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '[{"appid":"abap-business-service!b1312","serviceinstanceid":"42e515ba-0989-494e-a413-fdeb168df57c","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"af0e3cb4-0c9c-4bd7-b403-5bbcdadf5ebd","xsappname":"abap-business-service","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"ans-xsuaa!b72","serviceinstanceid":"a88b09be-6412-4c52-8bd9-1acabc63e26e","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"685e7b2e-842d-461f-84ba-131964838468","xsappname":"ans-xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"auditlog!b14","serviceinstanceid":"eb930e00-7414-470b-be79-77fc8b1197ea","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cf-eu12-sap","xsappname":"auditlog","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials","password","user_token","client_x509","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cam-integration!t1","serviceinstanceid":"1e2c3e0a-2adb-46c3-a91c-53d8b73f86df","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-uaa","xsappname":"cam-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","attributes":[],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cis-local!b2","serviceinstanceid":"c6372bca-1380-4010-905f-7775547fbebd","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Management of your environments and subscriptions to multitenant applications.","masterAppId":null,"tenantId":"sap-provisioning","xsappname":"cis-local","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"shared"},{"appid":"cockpit!t24","serviceinstanceid":"15dcbb85-75dd-4fb6-bc71-39ccb84f2760","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cockpit_xsuaa-api!t24","serviceinstanceid":"9925f4e2-a237-4ee9-9023-0615ecd8c8f1","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit_xsuaa-api","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"connectivity!b10","serviceinstanceid":"630eff1d-05dc-4e27-a260-9d6d9d914a7b","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-connectivity","xsappname":"connectivity","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cpcli!t23","serviceinstanceid":"1354785f-7a0f-438d-ab00-a2bad3666528","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"SAPcpcli","xsappname":"cpcli","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["instance-secret","binding-secret","x509"]},"tenant-mode":"shared"},{"appid":"destination-xsappname!b9","serviceinstanceid":"b8ccc844-593a-4ed6-8a5a-cb8a5e3f5141","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Retrieve and manage destination configurations, associated certificates, and signing keys for SAML assertions issued by the Destination service.","masterAppId":null,"tenantId":"sap-destination-configuration","xsappname":"destination-xsappname","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections","ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"launchpad-utilities!b164","serviceinstanceid":"b4fcba7e-5ba1-4d0e-b1f3-f99022cdb588","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","xsappname":"launchpad-utilities","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"dedicated"},{"appid":"service-manager!b3","serviceinstanceid":"84fd49bf-328c-429a-a06d-53b6e22e65d4","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Service Manager","masterAppId":null,"tenantId":"svcmgr-cf-eu12","xsappname":"service-manager","attributes":[],"oauth2-configuration":{"token-validity":1800,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"spc-integration!t1","serviceinstanceid":"dae35f45-8e5d-4f58-b499-ca3865fa640c","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"add-scope","masterAppId":null,"tenantId":"sap-uaa","xsappname":"spc-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"xsuaa!t1","serviceinstanceid":"df0d1304-3275-492c-a944-c5de7ad0786a","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Administration of authorizations, trusted identity providers, and users.","masterAppId":null,"tenantId":"sap-uaa","xsappname":"xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}]' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:11 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 9e5f5dad-7b47-4382-4113-5985afb973b1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 162.2161ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 280eafd6-0e1a-ed47-74d2-b138ed8202e1 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:14 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eef6c973-0580-457c-72d6-402d617aacf2 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 2.3948741s + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 31b210d6-b42a-1087-6f98-8f74bf731cdc + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:54:14 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - d5a7ae6b-fed1-4223-47ca-071a115919d9 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 202.6793ms + - id: 8 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 31b210d6-b42a-1087-6f98-8f74bf731cdc + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '[{"appid":"abap-business-service!b1312","serviceinstanceid":"42e515ba-0989-494e-a413-fdeb168df57c","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"af0e3cb4-0c9c-4bd7-b403-5bbcdadf5ebd","xsappname":"abap-business-service","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"ans-xsuaa!b72","serviceinstanceid":"a88b09be-6412-4c52-8bd9-1acabc63e26e","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"685e7b2e-842d-461f-84ba-131964838468","xsappname":"ans-xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"auditlog!b14","serviceinstanceid":"eb930e00-7414-470b-be79-77fc8b1197ea","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cf-eu12-sap","xsappname":"auditlog","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials","password","user_token","client_x509","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cam-integration!t1","serviceinstanceid":"1e2c3e0a-2adb-46c3-a91c-53d8b73f86df","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-uaa","xsappname":"cam-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","attributes":[],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cis-local!b2","serviceinstanceid":"c6372bca-1380-4010-905f-7775547fbebd","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Management of your environments and subscriptions to multitenant applications.","masterAppId":null,"tenantId":"sap-provisioning","xsappname":"cis-local","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"shared"},{"appid":"cockpit!t24","serviceinstanceid":"15dcbb85-75dd-4fb6-bc71-39ccb84f2760","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cockpit_xsuaa-api!t24","serviceinstanceid":"9925f4e2-a237-4ee9-9023-0615ecd8c8f1","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit_xsuaa-api","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"connectivity!b10","serviceinstanceid":"630eff1d-05dc-4e27-a260-9d6d9d914a7b","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-connectivity","xsappname":"connectivity","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cpcli!t23","serviceinstanceid":"1354785f-7a0f-438d-ab00-a2bad3666528","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"SAPcpcli","xsappname":"cpcli","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["instance-secret","binding-secret","x509"]},"tenant-mode":"shared"},{"appid":"destination-xsappname!b9","serviceinstanceid":"b8ccc844-593a-4ed6-8a5a-cb8a5e3f5141","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Retrieve and manage destination configurations, associated certificates, and signing keys for SAML assertions issued by the Destination service.","masterAppId":null,"tenantId":"sap-destination-configuration","xsappname":"destination-xsappname","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections","ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"launchpad-utilities!b164","serviceinstanceid":"b4fcba7e-5ba1-4d0e-b1f3-f99022cdb588","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","xsappname":"launchpad-utilities","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"dedicated"},{"appid":"service-manager!b3","serviceinstanceid":"84fd49bf-328c-429a-a06d-53b6e22e65d4","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Service Manager","masterAppId":null,"tenantId":"svcmgr-cf-eu12","xsappname":"service-manager","attributes":[],"oauth2-configuration":{"token-validity":1800,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"spc-integration!t1","serviceinstanceid":"dae35f45-8e5d-4f58-b499-ca3865fa640c","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"add-scope","masterAppId":null,"tenantId":"sap-uaa","xsappname":"spc-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"xsuaa!t1","serviceinstanceid":"df0d1304-3275-492c-a944-c5de7ad0786a","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Administration of authorizations, trusted identity providers, and users.","masterAppId":null,"tenantId":"sap-uaa","xsappname":"xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}]' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:14 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 76f497a4-db0f-489f-4fa0-d82f889176a2 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 148.3039ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 06ff1ba7-53ca-e2e5-ce77-e69c7b1439be + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:15 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d07553de-a6c1-40d7-50d8-5f58f1c35dc4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 366.8262ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0cc918d9-ce42-3e94-b3d5-e390c53cbb75 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:54:15 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - beef1f8d-cf85-47e2-53c1-f894dd05a70c + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 301.0897ms + - id: 11 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0cc918d9-ce42-3e94-b3d5-e390c53cbb75 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '[{"appid":"abap-business-service!b1312","serviceinstanceid":"42e515ba-0989-494e-a413-fdeb168df57c","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"af0e3cb4-0c9c-4bd7-b403-5bbcdadf5ebd","xsappname":"abap-business-service","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"ans-xsuaa!b72","serviceinstanceid":"a88b09be-6412-4c52-8bd9-1acabc63e26e","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"685e7b2e-842d-461f-84ba-131964838468","xsappname":"ans-xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"auditlog!b14","serviceinstanceid":"eb930e00-7414-470b-be79-77fc8b1197ea","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cf-eu12-sap","xsappname":"auditlog","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials","password","user_token","client_x509","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cam-integration!t1","serviceinstanceid":"1e2c3e0a-2adb-46c3-a91c-53d8b73f86df","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-uaa","xsappname":"cam-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","attributes":[],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cis-local!b2","serviceinstanceid":"c6372bca-1380-4010-905f-7775547fbebd","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Management of your environments and subscriptions to multitenant applications.","masterAppId":null,"tenantId":"sap-provisioning","xsappname":"cis-local","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"shared"},{"appid":"cockpit!t24","serviceinstanceid":"15dcbb85-75dd-4fb6-bc71-39ccb84f2760","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cockpit_xsuaa-api!t24","serviceinstanceid":"9925f4e2-a237-4ee9-9023-0615ecd8c8f1","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit_xsuaa-api","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"connectivity!b10","serviceinstanceid":"630eff1d-05dc-4e27-a260-9d6d9d914a7b","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-connectivity","xsappname":"connectivity","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cpcli!t23","serviceinstanceid":"1354785f-7a0f-438d-ab00-a2bad3666528","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"SAPcpcli","xsappname":"cpcli","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["instance-secret","binding-secret","x509"]},"tenant-mode":"shared"},{"appid":"destination-xsappname!b9","serviceinstanceid":"b8ccc844-593a-4ed6-8a5a-cb8a5e3f5141","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Retrieve and manage destination configurations, associated certificates, and signing keys for SAML assertions issued by the Destination service.","masterAppId":null,"tenantId":"sap-destination-configuration","xsappname":"destination-xsappname","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections","ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"launchpad-utilities!b164","serviceinstanceid":"b4fcba7e-5ba1-4d0e-b1f3-f99022cdb588","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","xsappname":"launchpad-utilities","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"dedicated"},{"appid":"service-manager!b3","serviceinstanceid":"84fd49bf-328c-429a-a06d-53b6e22e65d4","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Service Manager","masterAppId":null,"tenantId":"svcmgr-cf-eu12","xsappname":"service-manager","attributes":[],"oauth2-configuration":{"token-validity":1800,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"spc-integration!t1","serviceinstanceid":"dae35f45-8e5d-4f58-b499-ca3865fa640c","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"add-scope","masterAppId":null,"tenantId":"sap-uaa","xsappname":"spc-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"xsuaa!t1","serviceinstanceid":"df0d1304-3275-492c-a944-c5de7ad0786a","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Administration of authorizations, trusted identity providers, and users.","masterAppId":null,"tenantId":"sap-uaa","xsappname":"xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}]' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:15 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 16696b4d-ee42-42a6-53d2-218d72ae5150 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 161.3126ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a642e086-406e-5d41-ab46-51e3f43e15e3 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:16 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 35c819df-b0a8-47c1-6e8b-bdd5ec47bc4c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 406.5304ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 1b21d4be-d67e-4adb-dccc-c1535ec7dce1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:54:16 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - b196f0f4-1553-4600-79d2-d210e000af96 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 234.0366ms + - id: 14 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 1b21d4be-d67e-4adb-dccc-c1535ec7dce1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '[{"appid":"abap-business-service!b1312","serviceinstanceid":"42e515ba-0989-494e-a413-fdeb168df57c","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"af0e3cb4-0c9c-4bd7-b403-5bbcdadf5ebd","xsappname":"abap-business-service","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"ans-xsuaa!b72","serviceinstanceid":"a88b09be-6412-4c52-8bd9-1acabc63e26e","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"685e7b2e-842d-461f-84ba-131964838468","xsappname":"ans-xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"auditlog!b14","serviceinstanceid":"eb930e00-7414-470b-be79-77fc8b1197ea","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cf-eu12-sap","xsappname":"auditlog","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials","password","user_token","client_x509","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cam-integration!t1","serviceinstanceid":"1e2c3e0a-2adb-46c3-a91c-53d8b73f86df","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-uaa","xsappname":"cam-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","attributes":[],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cis-local!b2","serviceinstanceid":"c6372bca-1380-4010-905f-7775547fbebd","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Management of your environments and subscriptions to multitenant applications.","masterAppId":null,"tenantId":"sap-provisioning","xsappname":"cis-local","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"shared"},{"appid":"cockpit!t24","serviceinstanceid":"15dcbb85-75dd-4fb6-bc71-39ccb84f2760","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"cockpit_xsuaa-api!t24","serviceinstanceid":"9925f4e2-a237-4ee9-9023-0615ecd8c8f1","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"cockpit","xsappname":"cockpit_xsuaa-api","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"},{"appid":"connectivity!b10","serviceinstanceid":"630eff1d-05dc-4e27-a260-9d6d9d914a7b","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"sap-connectivity","xsappname":"connectivity","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"cpcli!t23","serviceinstanceid":"1354785f-7a0f-438d-ab00-a2bad3666528","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"SAPcpcli","xsappname":"cpcli","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["instance-secret","binding-secret","x509"]},"tenant-mode":"shared"},{"appid":"destination-xsappname!b9","serviceinstanceid":"b8ccc844-593a-4ed6-8a5a-cb8a5e3f5141","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Retrieve and manage destination configurations, associated certificates, and signing keys for SAML assertions issued by the Destination service.","masterAppId":null,"tenantId":"sap-destination-configuration","xsappname":"destination-xsappname","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections","ias-corporate-idp-token"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","instance-secret","x509"]},"tenant-mode":"dedicated"},{"appid":"launchpad-utilities!b164","serviceinstanceid":"b4fcba7e-5ba1-4d0e-b1f3-f99022cdb588","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":null,"masterAppId":null,"tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","xsappname":"launchpad-utilities","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"dedicated"},{"appid":"service-manager!b3","serviceinstanceid":"84fd49bf-328c-429a-a06d-53b6e22e65d4","planId":"HWEgt9/jJGFjzT8j+/x9pGivrAuKbUMUK8PgWEx3cLY=","planName":"broker","orgId":null,"spaceId":null,"userName":null,"description":"Service Manager","masterAppId":null,"tenantId":"svcmgr-cf-eu12","xsappname":"service-manager","attributes":[],"oauth2-configuration":{"token-validity":1800,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["binding-secret","x509","instance-secret"]},"tenant-mode":"dedicated"},{"appid":"spc-integration!t1","serviceinstanceid":"dae35f45-8e5d-4f58-b499-ca3865fa640c","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"add-scope","masterAppId":null,"tenantId":"sap-uaa","xsappname":"spc-integration","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["client_credentials"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[],"credential-types":["x509"]},"tenant-mode":"shared"},{"appid":"xsuaa!t1","serviceinstanceid":"df0d1304-3275-492c-a944-c5de7ad0786a","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Administration of authorizations, trusted identity providers, and users.","masterAppId":null,"tenantId":"sap-uaa","xsappname":"xsuaa","attributes":[],"oauth2-configuration":{"token-validity":0,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}]' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:16 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d69672a0-fca0-4794-53d7-83a8b28e0a46 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 293.5756ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - d9dc457d-755a-9daf-c318-74b1bebf6aff + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:54:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 118cdbc4-2b5e-4496-7717-3f0cf0b8db1f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 380.7298ms diff --git a/internal/provider/fixtures/datasource_subaccount_apps_by_id.yaml b/internal/provider/fixtures/datasource_subaccount_apps_by_id.yaml new file mode 100644 index 00000000..e65f9d16 --- /dev/null +++ b/internal/provider/fixtures/datasource_subaccount_apps_by_id.yaml @@ -0,0 +1,1145 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 39c16216-b7bb-c7da-4f92-ed778977f1db + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:35 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e3bf2aa7-2c8c-447a-5996-155632feef7a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 571.9312ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e765e03e-1b3d-4d61-127e-bb7f4ac4ae7d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:22:36 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - ff24de94-50a0-448f-7020-65e3c35b4848 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 242.9552ms + - id: 2 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e765e03e-1b3d-4d61-127e-bb7f4ac4ae7d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","scopes":[{"description":"Basic user with minimal access","name":"cas-ui-xsuaa-prod!t216.user"},{"description":"Admin access ","name":"cas-ui-xsuaa-prod!t216.admin"},{"description":"Scope for standard plan.","name":"cas-ui-xsuaa-prod!t216.assemble"},{"description":"Scope for export scenario.","name":"cas-ui-xsuaa-prod!t216.export"},{"description":"Scope for application plan.","name":"cas-ui-xsuaa-prod!t216.import"},{"description":"Scope for get operations in Assembly.","name":"cas-ui-xsuaa-prod!t216.internal.getprocess"},{"description":"Scope for create MTAR operation in Assembly","name":"cas-ui-xsuaa-prod!t216.internal.createmtar"},{"description":"Scope for reading activities transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.activities.read"},{"description":"Scope for reading contentresources transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.contentresources.read"},{"description":"Scope for reading content types and transport modes in CAS","name":"cas-ui-xsuaa-prod!t216.read"},{"description":"Scope for reading transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.operations.read"},{"description":"Scope for downloading files from CAS","name":"cas-ui-xsuaa-prod!t216.operations.download"},{"description":"With this scope set, the callbacks for tenant onboarding, offboarding and getDependencies can be called.","name":"cas-ui-xsuaa-prod!t216.Callback","grant-as-authority-to-apps":["tenant-onboarding!t2"]}],"authorities":["cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.user","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.operations.download","uaa.user","cas-ui-xsuaa-prod!t216.contentresources.read"],"foreign-scope-references":[],"attributes":[],"role-templates":[{"name":"Admin","description":"Admin access for user that enables user to perform all the operations including Export and Import","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.admin","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Read","description":"Enables user to read operation details and contents available in the subscribed tenant","scope-references":["cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Import","description":"Enables user to perform Import operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Export","description":"Enables user to perform Export operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Activities","description":"To read operation details performed using Content Agent UI","scope-references":["cas-ui-xsuaa-prod!t216.activities.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"}],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:36 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7c053a11-c0ec-4491-69ba-38f2e711852d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 236.3919ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 428729ba-818d-5bf2-9770-601a1a91e4e4 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:36 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8bd6e994-cae1-43e3-65bd-f9f4f26d189b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 342.809ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4ebc5743-c3c9-c626-a3be-de79a4955c1c + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:22:37 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 6fb9b5a5-5c1e-4f53-573f-731fb0214410 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 287.2377ms + - id: 5 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4ebc5743-c3c9-c626-a3be-de79a4955c1c + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","scopes":[{"description":"Basic user with minimal access","name":"cas-ui-xsuaa-prod!t216.user"},{"description":"Admin access ","name":"cas-ui-xsuaa-prod!t216.admin"},{"description":"Scope for standard plan.","name":"cas-ui-xsuaa-prod!t216.assemble"},{"description":"Scope for export scenario.","name":"cas-ui-xsuaa-prod!t216.export"},{"description":"Scope for application plan.","name":"cas-ui-xsuaa-prod!t216.import"},{"description":"Scope for get operations in Assembly.","name":"cas-ui-xsuaa-prod!t216.internal.getprocess"},{"description":"Scope for create MTAR operation in Assembly","name":"cas-ui-xsuaa-prod!t216.internal.createmtar"},{"description":"Scope for reading activities transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.activities.read"},{"description":"Scope for reading contentresources transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.contentresources.read"},{"description":"Scope for reading content types and transport modes in CAS","name":"cas-ui-xsuaa-prod!t216.read"},{"description":"Scope for reading transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.operations.read"},{"description":"Scope for downloading files from CAS","name":"cas-ui-xsuaa-prod!t216.operations.download"},{"description":"With this scope set, the callbacks for tenant onboarding, offboarding and getDependencies can be called.","name":"cas-ui-xsuaa-prod!t216.Callback","grant-as-authority-to-apps":["tenant-onboarding!t2"]}],"authorities":["cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.user","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.operations.download","uaa.user","cas-ui-xsuaa-prod!t216.contentresources.read"],"foreign-scope-references":[],"attributes":[],"role-templates":[{"name":"Admin","description":"Admin access for user that enables user to perform all the operations including Export and Import","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.admin","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Read","description":"Enables user to read operation details and contents available in the subscribed tenant","scope-references":["cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Import","description":"Enables user to perform Import operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Export","description":"Enables user to perform Export operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Activities","description":"To read operation details performed using Content Agent UI","scope-references":["cas-ui-xsuaa-prod!t216.activities.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"}],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:37 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a5852d92-154e-483d-40e4-8de50f3d80d8 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 167.1228ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 304f73fe-b492-096b-9dfc-d53c6b348b38 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:37 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 878523ec-b247-4195-50c0-b419841e050d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 342.6087ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 7d288479-a68f-00f6-750c-722c09ba153d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:22:37 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 340813e8-0ae8-4b38-4477-3b1a8e0fde2b + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 167.3869ms + - id: 8 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 7d288479-a68f-00f6-750c-722c09ba153d + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","scopes":[{"description":"Basic user with minimal access","name":"cas-ui-xsuaa-prod!t216.user"},{"description":"Admin access ","name":"cas-ui-xsuaa-prod!t216.admin"},{"description":"Scope for standard plan.","name":"cas-ui-xsuaa-prod!t216.assemble"},{"description":"Scope for export scenario.","name":"cas-ui-xsuaa-prod!t216.export"},{"description":"Scope for application plan.","name":"cas-ui-xsuaa-prod!t216.import"},{"description":"Scope for get operations in Assembly.","name":"cas-ui-xsuaa-prod!t216.internal.getprocess"},{"description":"Scope for create MTAR operation in Assembly","name":"cas-ui-xsuaa-prod!t216.internal.createmtar"},{"description":"Scope for reading activities transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.activities.read"},{"description":"Scope for reading contentresources transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.contentresources.read"},{"description":"Scope for reading content types and transport modes in CAS","name":"cas-ui-xsuaa-prod!t216.read"},{"description":"Scope for reading transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.operations.read"},{"description":"Scope for downloading files from CAS","name":"cas-ui-xsuaa-prod!t216.operations.download"},{"description":"With this scope set, the callbacks for tenant onboarding, offboarding and getDependencies can be called.","name":"cas-ui-xsuaa-prod!t216.Callback","grant-as-authority-to-apps":["tenant-onboarding!t2"]}],"authorities":["cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.user","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.operations.download","uaa.user","cas-ui-xsuaa-prod!t216.contentresources.read"],"foreign-scope-references":[],"attributes":[],"role-templates":[{"name":"Admin","description":"Admin access for user that enables user to perform all the operations including Export and Import","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.admin","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Read","description":"Enables user to read operation details and contents available in the subscribed tenant","scope-references":["cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Import","description":"Enables user to perform Import operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Export","description":"Enables user to perform Export operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Activities","description":"To read operation details performed using Content Agent UI","scope-references":["cas-ui-xsuaa-prod!t216.activities.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"}],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:38 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - da55dc6c-a1a3-4e2a-781d-522b42ae378d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 147.4663ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fc23dbbe-3abd-af4a-82e5-3b5f89d9689b + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:38 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - abd2df7b-dc32-4f86-564c-3917cec42499 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 366.4855ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 466213f4-b341-473f-89ec-634bb62bcd96 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:22:38 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - c05d76b8-d4ba-4dfb-75bb-ea9dfb1bcfc1 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 175.4756ms + - id: 11 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 466213f4-b341-473f-89ec-634bb62bcd96 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","scopes":[{"description":"Basic user with minimal access","name":"cas-ui-xsuaa-prod!t216.user"},{"description":"Admin access ","name":"cas-ui-xsuaa-prod!t216.admin"},{"description":"Scope for standard plan.","name":"cas-ui-xsuaa-prod!t216.assemble"},{"description":"Scope for export scenario.","name":"cas-ui-xsuaa-prod!t216.export"},{"description":"Scope for application plan.","name":"cas-ui-xsuaa-prod!t216.import"},{"description":"Scope for get operations in Assembly.","name":"cas-ui-xsuaa-prod!t216.internal.getprocess"},{"description":"Scope for create MTAR operation in Assembly","name":"cas-ui-xsuaa-prod!t216.internal.createmtar"},{"description":"Scope for reading activities transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.activities.read"},{"description":"Scope for reading contentresources transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.contentresources.read"},{"description":"Scope for reading content types and transport modes in CAS","name":"cas-ui-xsuaa-prod!t216.read"},{"description":"Scope for reading transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.operations.read"},{"description":"Scope for downloading files from CAS","name":"cas-ui-xsuaa-prod!t216.operations.download"},{"description":"With this scope set, the callbacks for tenant onboarding, offboarding and getDependencies can be called.","name":"cas-ui-xsuaa-prod!t216.Callback","grant-as-authority-to-apps":["tenant-onboarding!t2"]}],"authorities":["cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.user","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.operations.download","uaa.user","cas-ui-xsuaa-prod!t216.contentresources.read"],"foreign-scope-references":[],"attributes":[],"role-templates":[{"name":"Admin","description":"Admin access for user that enables user to perform all the operations including Export and Import","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.admin","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Read","description":"Enables user to read operation details and contents available in the subscribed tenant","scope-references":["cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Import","description":"Enables user to perform Import operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Export","description":"Enables user to perform Export operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Activities","description":"To read operation details performed using Content Agent UI","scope-references":["cas-ui-xsuaa-prod!t216.activities.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"}],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:38 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b146d7a5-d523-4799-635f-06665dd686fc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 153.3447ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 21857bdc-cb6b-0296-4091-32176c6732c8 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:39 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a5e903e0-e05e-471e-5522-30b19ee726ac + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 389.4101ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 44d873f1-d62a-a66e-8570-66b8db8a2f05 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:22:39 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - c1e58ac3-a975-4634-6787-5d18d83eff54 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 195.385ms + - id: 14 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 103 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appId":"cas-ui-xsuaa-prod!t216","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/security/app?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 44d873f1-d62a-a66e-8570-66b8db8a2f05 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/security/app?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"appid":"cas-ui-xsuaa-prod!t216","serviceinstanceid":"397f90fe-69b5-4334-965a-172b9cb8b28d","planId":"ThGdx5loQ6XhvcdY6dLlEXcTgQD7641pDKXJfzwYGLg=","planName":"application","orgId":null,"spaceId":null,"userName":null,"description":"Security profile of Content Agent UI","masterAppId":null,"tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","xsappname":"cas-ui-xsuaa-prod","scopes":[{"description":"Basic user with minimal access","name":"cas-ui-xsuaa-prod!t216.user"},{"description":"Admin access ","name":"cas-ui-xsuaa-prod!t216.admin"},{"description":"Scope for standard plan.","name":"cas-ui-xsuaa-prod!t216.assemble"},{"description":"Scope for export scenario.","name":"cas-ui-xsuaa-prod!t216.export"},{"description":"Scope for application plan.","name":"cas-ui-xsuaa-prod!t216.import"},{"description":"Scope for get operations in Assembly.","name":"cas-ui-xsuaa-prod!t216.internal.getprocess"},{"description":"Scope for create MTAR operation in Assembly","name":"cas-ui-xsuaa-prod!t216.internal.createmtar"},{"description":"Scope for reading activities transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.activities.read"},{"description":"Scope for reading contentresources transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.contentresources.read"},{"description":"Scope for reading content types and transport modes in CAS","name":"cas-ui-xsuaa-prod!t216.read"},{"description":"Scope for reading transactional data of CAS","name":"cas-ui-xsuaa-prod!t216.operations.read"},{"description":"Scope for downloading files from CAS","name":"cas-ui-xsuaa-prod!t216.operations.download"},{"description":"With this scope set, the callbacks for tenant onboarding, offboarding and getDependencies can be called.","name":"cas-ui-xsuaa-prod!t216.Callback","grant-as-authority-to-apps":["tenant-onboarding!t2"]}],"authorities":["cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.user","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.operations.download","uaa.user","cas-ui-xsuaa-prod!t216.contentresources.read"],"foreign-scope-references":[],"attributes":[],"role-templates":[{"name":"Admin","description":"Admin access for user that enables user to perform all the operations including Export and Import","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import","cas-ui-xsuaa-prod!t216.admin","cas-ui-xsuaa-prod!t216.assemble","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Read","description":"Enables user to read operation details and contents available in the subscribed tenant","scope-references":["cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.activities.read","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Import","description":"Enables user to perform Import operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.read","cas-ui-xsuaa-prod!t216.import"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Export","description":"Enables user to perform Export operation and read details related to the operations","scope-references":["cas-ui-xsuaa-prod!t216.operations.download","cas-ui-xsuaa-prod!t216.internal.getprocess","cas-ui-xsuaa-prod!t216.operations.read","cas-ui-xsuaa-prod!t216.internal.createmtar","cas-ui-xsuaa-prod!t216.export","cas-ui-xsuaa-prod!t216.contentresources.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"},{"name":"Activities","description":"To read operation details performed using Content Agent UI","scope-references":["cas-ui-xsuaa-prod!t216.activities.read"],"attribute-references":[],"appId":"cas-ui-xsuaa-prod!t216"}],"oauth2-configuration":{"token-validity":90000,"refresh-token-validity":0,"autoapprove":true,"grant-types":["refresh_token","urn:ietf:params:oauth:grant-type:saml2-bearer","client_credentials","password","authorization_code","user_token","urn:ietf:params:oauth:grant-type:jwt-bearer"],"system-attributes":["groups","rolecollections"],"allowedproviders":null,"redirect-uris":[]},"tenant-mode":"shared"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:39 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b76997f5-a6f6-4c95-6fc1-001cf8c44a42 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 201.4683ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fd037093-9bf8-c678-6250-9a1cfe55c076 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:22:40 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f8061bbe-753c-4324-53bb-87cc0ffc02c6 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 355.2066ms diff --git a/internal/provider/fixtures/datasource_subaccount_subscription_by_id_and_plan.yaml b/internal/provider/fixtures/datasource_subaccount_subscription_by_id_and_plan.yaml new file mode 100644 index 00000000..32859e22 --- /dev/null +++ b/internal/provider/fixtures/datasource_subaccount_subscription_by_id_and_plan.yaml @@ -0,0 +1,1145 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 9e0d9b9f-84ab-7fae-0568-8d6bb1e06c88 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:31 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6e02eb6c-69e8-4f47-4373-9dce8f1b1cdd + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 531.4874ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0128bc32-bab8-7b9e-7ffe-1f1f06949e21 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:09:31 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 6b7d51a5-6c6f-42df-47b7-dfd15f69b374 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 204.5239ms + - id: 2 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 0128bc32-bab8-7b9e-7ffe-1f1f06949e21 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:31 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - df7700c0-1753-402b-44b9-33d2da92a567 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 423.1621ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - eaebe2d2-818f-ef3b-4eec-e3e116c2748e + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:32 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - db7a9571-1f9f-4417-6760-8102b8a45967 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 388.6983ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 370c5001-9e0d-e2a9-959f-8908d267e39a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:09:32 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - d4a5d400-efcb-4262-75ad-ec3aa0652395 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 172.1783ms + - id: 5 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 370c5001-9e0d-e2a9-959f-8908d267e39a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:32 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a46f7a1a-316a-4b4e-6ccf-ab85c950118f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 394.8008ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 82e59132-85da-238b-3b61-104385923ae8 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a0d1e724-a526-4c95-622f-f07478d43aa9 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 353.922ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - cce5689d-641e-4876-06d6-fde1ef212790 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:09:33 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2412be27-beed-4b3e-4417-dbc5a2103d5c + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 184.4082ms + - id: 8 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - cce5689d-641e-4876-06d6-fde1ef212790 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 5811a5bf-479a-48b3-7e2c-b592317d9f55 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 364.361ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 127a5155-cef3-6b2f-0b85-8a4fb3075f0a + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:34 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c66938c6-d74f-43aa-4536-a00aa21b23eb + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 346.7652ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fef0f46e-203f-dbd6-c810-9322ccfeb152 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:09:34 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 6880273d-3ee4-42f4-4509-a3eb34c1d957 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 167.2937ms + - id: 11 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fef0f46e-203f-dbd6-c810-9322ccfeb152 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:34 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - ef84a619-8d96-4071-6c3b-efec75800d6a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 304.1628ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 1561fc3f-187c-67f6-b8e2-84d07a62a771 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:35 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d4750008-8240-4182-728e-6e14d78c5c1d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 355.1566ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 1c0387a0-2aaa-d6dd-b672-f92447944a31 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 07:09:35 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 64ef2908-4a6f-4ba0-6f0a-e479f693ea5d + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 173.7748ms + - id: 14 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"content-agent-ui","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 1c0387a0-2aaa-d6dd-b672-f92447944a31 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:35 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 55ba86cc-6f00-4dbe-5ae5-d207c1d4da7e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 345.0344ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2409a82c-0c44-c44f-36b5-75c130fcc0eb + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 07:09:36 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7026c0b3-a441-4178-4458-f7b17a248850 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 380.9403ms diff --git a/internal/provider/fixtures/datasource_subaccount_subscriptions.yaml b/internal/provider/fixtures/datasource_subaccount_subscriptions.yaml new file mode 100644 index 00000000..caaed28c --- /dev/null +++ b/internal/provider/fixtures/datasource_subaccount_subscriptions.yaml @@ -0,0 +1,1145 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fdce7487-e4c7-010b-3643-61ae9d7c8a99 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:05 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1d9efc20-08bc-456f-5a2c-c1cc307bf56f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 520.0602ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c6081873-5927-7660-1dc8-edd9bf47f75a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:37:05 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 157b5ab1-095a-4c4a-6139-e2921228e00a + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 189.8388ms + - id: 2 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c6081873-5927-7660-1dc8-edd9bf47f75a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"applications":[{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"mdo-one-mds-master","commercialAppName":"mdo-one-mds-master","appId":"mdo-one-mds-master!t46510","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Master Data Integration (Orchestration)","description":"Master data application that allows master data replication according to predetermined master data distribution models. SAP Master Data Orchestration can only be used in combination with the SAP Master Data Integration service.","shortDescription":"Orchestrate master data distribution","iconBase64":"PHN2ZyBpZD0icGxhY2Vob2xkZXIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDU2IDU2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzA1M2I3MDt9LmNscy0ye2ZpbGw6IzBhNmVkMTt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnBsYWNlaG9sZGVyPC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00Ni45NTMsMjAuNTg4YTQuMzYzLDQuMzYzLDAsMCwwLTEuODM3LS40NTksMy4yOTEsMy4yOTEsMCwwLDAtMy40LDMuMzc2LDQuMDg0LDQuMDg0LDAsMCwwLC45LDIuNjI1LDMuMDExLDMuMDExLDAsMCwwLDIuNSwxLjEyNiwzLjA4NSwzLjA4NSwwLDAsMCwxLjQ2Mi0uMzc1LDcuNTEyLDcuNTEyLDAsMCwwLDEuMzItLjg5MSwxMC4xMzUsMTAuMTM1LDAsMCwxLDEuMjI2LS44OTEsMi4yNywyLjI3LDAsMCwxLDEuMTc5LS4zNzVBMS41LDEuNSwwLDAsMSw1MiwyNi40MTJWMzkuMDcxYTIuODQzLDIuODQzLDAsMCwxLS41NzYsMiwyLjkyNiwyLjkyNiwwLDAsMS0yLjE1OS42MjZxLTIuOTIzLDAtNC4zODUuMDQ3dC0yLjEyMi4wNDdINDEuOTFhMy4zMjEsMy4zMjEsMCwwLDAsLjYuNjQ0LDUuNzE3LDUuNzE3LDAsMCwxLDIuMDc0LDQuMjIsNS4wNTQsNS4wNTQsMCwwLDEtMS42NSwzLjc1MUE1LjMzMSw1LjMzMSwwLDAsMSwzOS4xMTgsNTJhNS42LDUuNiwwLDAsMS00LjA1NS0xLjU0Nyw1LjA3MSw1LjA3MSwwLDAsMS0xLjYtMy44LDQuODYyLDQuODYyLDAsMCwxLC41MTktMi4zLDExLjQwNywxMS40MDcsMCwwLDEsMS41MTYtMS45NywyLjMzMywyLjMzMywwLDAsMCwuNDc1LS42OUgyOC4zM2ExLjM5NCwxLjM5NCwwLDAsMS0xLjA4NC0uNDY5LDIuMDExLDIuMDExLDAsMCwxLS41MTktMS4wMzJWMTUuOTA5YTEuOCwxLjgsMCwwLDEsLjQyNC0xLjE3MiwxLjQ0NCwxLjQ0NCwwLDAsMSwxLjE3OS0uNTE2aDcuNzMzYTEuOTQ5LDEuOTQ5LDAsMCwwLS4zNzctLjU2MmwtLjgtMS4xNzFhOC43ODgsOC43ODgsMCwwLDEtLjg0Ny0xLjUsNC43ODMsNC43ODMsMCwwLDEtLjQwNi0xLjY3NkE1LjM0OCw1LjM0OCwwLDAsMSwzOS4wODEsNGE1LjU1Miw1LjU1MiwwLDAsMSwzLjc5LDEuNTUzQTQuNjM1LDQuNjM1LDAsMCwxLDQ0LjU1LDkuMzQ1Yy0uMDI4LDEuNjg4LTIuMDIzLDQuMTI1LTIuMjQxLDQuMzc1YTEuNTc2LDEuNTc2LDAsMCwwLS4zLjVoNy4yNjFBMi42NSwyLjY1LDAsMCwxLDUyLDE2Ljg0N3Y0LjEyNnEwLDEuNzgyLTEuNywxLjc4MmExLjc0MywxLjc0MywwLDAsMS0xLjMxOS0uNTQ5QTEzLjE1MiwxMy4xNTIsMCwwLDAsNDYuOTUzLDIwLjU4OFpNMjguMzMsMzkuMDcxYS41ODIuNTgyLDAsMCwwLC42Ni42NTdoNy4xNjdhMS41NzksMS41NzksMCwwLDEsMS43OTIsMS43ODEsMi4yMzgsMi4yMzgsMCwwLDEtLjM4NywxLjI1NGMtLjI4My40MDgtLjU4Mi44MTMtLjksMS4yMTlzLS42MTMuODMtLjksMS4yNjZhMi41NDYsMi41NDYsMCwwLDAtLjQyNCwxLjQwNywzLjExNSwzLjExNSwwLDAsMCwxLjEzMSwyLjUzMiw0LjAyMiw0LjAyMiwwLDAsMCwyLjY0MS45MzgsMy43NzYsMy43NzYsMCwwLDAsMi40NTItLjkzOEEzLjExNSwzLjExNSwwLDAsMCw0Mi43LDQ2LjY1NWEyLjU0NiwyLjU0NiwwLDAsMC0uNDI0LTEuNDA3LDEyLjUxMywxMi41MTMsMCwwLDAtLjk0My0xLjI2NnEtLjUxOS0uNjA5LS45NDMtMS4xNzJhMi4yNjEsMi4yNjEsMCwwLDEtLjQ2Mi0xLjMsMS42MTQsMS42MTQsMCwwLDEsLjU2Ni0xLjMxMywyLjAwNiwyLjAwNiwwLDAsMSwxLjMyLS40NjhoNy40NXEuOTQyLDAsLjk0My0uNjU3VjI2LjUwNmExLjYwOSwxLjYwOSwwLDAsMC0uNzA3LjQyMnEtLjUxOS40MjEtMS4xNzkuODlhMTEuMDY5LDExLjA2OSwwLDAsMS0xLjUwOS44OTEsMy43NywzLjc3LDAsMCwxLTEuNy40MjIsNS40NSw1LjQ1LDAsMCwxLTMuNjc4LTEuNSw0LjI1LDQuMjUsMCwwLDEtMS4yMjYtMS44NzYsNy4wNTMsNy4wNTMsMCwwLDEtLjM3Ny0yLjI1LDUuMTY2LDUuMTY2LDAsMCwxLDEuNi0zLjcsNS4wMDksNS4wMDksMCwwLDEsMy42NzgtMS42NDEsNC44ODQsNC44ODQsMCwwLDEsMi4zNTcuNTE1QTcuNTg3LDcuNTg3LDAsMCwxLDQ5LjUxOCwyMC4yYy41MDYuNTg4Ljc4NS42MjQuNzg1LjYyNFYxNi44NDdhLjU0NC41NDQsMCwwLDAtLjMzMS0uNDY5LDEuNDIyLDEuNDIyLDAsMCwwLS43MDctLjE4N2gtNy40NWEyLjE0NywyLjE0NywwLDAsMS0xLjMyLS40MjIsMS41ODcsMS41ODcsMCwwLDEtLjU2Ni0xLjM2LDIuMDY3LDIuMDY3LDAsMCwxLC40MjUtMS4xNzJxLjQyNS0uNjA5Ljk0My0xLjIxOWExMi4yMjIsMTIuMjIyLDAsMCwwLC45NDMtMS4yNjYsMi41NDEsMi41NDEsMCwwLDAsLjQyNC0xLjQwNywzLjExOCwzLjExOCwwLDAsMC0xLjEzMi0yLjUzMiwzLjc3MSwzLjc3MSwwLDAsMC0yLjQ1MS0uOTM4LDMuODM5LDMuODM5LDAsMCwwLTIuNTk0LjkzOEEzLjE3OCwzLjE3OCwwLDAsMCwzNS40LDkuMzQ1YTIuNzc2LDIuNzc2LDAsMCwwLC40MjQsMS40NTQsMTAuMDM3LDEwLjAzNywwLDAsMCwuOSwxLjI2NWwuODQ5LDEuMjJhMi45MDksMi45MDksMCwwLDEsLjQ3MSwxLjEyNSwxLjYyNSwxLjYyNSwwLDAsMS0uNTE4LDEuMzYsMS45NTYsMS45NTYsMCwwLDEtMS4yNzQuNDIySDI5LjA4NHEtLjc1NSwwLS43NTQuNjU2Wm0yMy42NywwYTIuNywyLjcsMCwwLDEtLjU3NiwyLDIuNjc1LDIuNjc1LDAsMCwxLTIuMTU5LjYyNiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM3LjE0NywzMS4wNzRhMy4zMjgsMy4zMjgsMCwwLDAtMi44NzgtMS4zNiw0LjQ0NSw0LjQ0NSwwLDAsMC0yLjEyLjQyMiw2LjE4NSw2LjE4NSwwLDAsMC0xLjE3OC44OTFxLS41NjcuNDcxLTEuMTMyLjg5MWMtLjM3My4yNzgtLjgwOC43NzMtMS4zLjc3NkgyNi43MjdWMTYuNDZhMy4zMzUsMy4zMzUsMCwwLDAtLjM3Ny0xLjUsMS40MzYsMS40MzYsMCwwLDAtMS40MTUtLjc1MUgxOS4yNzdjLS41LDAtLjc1NC4yNTEtLjc1NC44NDRhMS45MDcsMS45MDcsMCwwLDAsLjM3NywxLjEyNiw5LjE0Niw5LjE0NiwwLDAsMCwuOTQzLDEuMTI1LDUuMzQxLDUuMzQxLDAsMCwxLC45NDMsMS4yNjYsMy4yMzYsMy4yMzYsMCwwLDEsLjM3NywxLjU0Nyw0LjQ1NCw0LjQ1NCwwLDAsMS0xLjI3MywzLjE0MSw0LjA0OSw0LjA0OSwwLDAsMS0zLjA2NSwxLjM2LDMuOSwzLjksMCwwLDEtMy4wMTgtMS4zNiw0LjU0Nyw0LjU0NywwLDAsMS0xLjIyNS0zLjE0MSwyLjkzNiwyLjkzNiwwLDAsMSwuNDI0LTEuNTQ3LDEzLjU0OCwxMy41NDgsMCwwLDEsLjktMS4zMTNjLjMxNC0uNDA2LjYyNy0uNzgxLjk0My0xLjEyNWExLjU4OCwxLjU4OCwwLDAsMCwuNDcxLTEuMDc5cTAtLjg0My0xLjAzNy0uODQ0SDUuN2ExLjU4NywxLjU4NywwLDAsMC0xLjIyNi41MTZBMS44MDYsMS44MDYsMCwwLDAsNCwxNS45OTFWMzkuOWExLjgsMS44LDAsMCwwLC40NzEsMS4yNjYsMS41ODMsMS41ODMsMCwwLDAsMS4yMjYuNTE2aDguNDg4Yy42OTEsMCwxLjAzNS4yMzgsMS4wMzcuNzVhMS41NDcsMS41NDcsMCwwLDEtLjQyMi45NDRMMTMuODA3LDQ0LjVhNi41NDksNi41NDksMCwwLDAtLjk5LDEuMjY2LDMuMTE2LDMuMTE2LDAsMCwwLS40MjQsMS42NDEsNC4yMzcsNC4yMzcsMCwwLDAsMS4zNjcsMy40Nyw0Ljc5MSw0Ljc5MSwwLDAsMCw2LjIyNC0uMDQ3LDQuNTE3LDQuNTE3LDAsMCwwLDEuNDQ1LTMuMjgzLDMuNjMxLDMuNjMxLDAsMCwwLS41MTQtMS44ODljLS4yMTUtLjMwNy0uOTc4LTEuMTU4LS45NzgtMS4xNThMMTguOSw0My4zNzNhMS40OTIsMS40OTIsMCwwLDEtLjM3Ny0uOTM4cTAtLjc1Ljg0OC0uNzVoNS42NThxMS4yMjYsMCwxLjctMS41VjM1LjM0MUgyOC4zNWMuNTU3LDAsMS4wNTQuNTE5LDEuNDg5LjhhMTIuMjkxLDEyLjI5MSwwLDAsMSwxLjIyNi44OTFxLjU2NS40NjksMS4xNzkuODlhMy43ODYsMy43ODYsMCwwLDAsMS44MTYuNDIyLDMuMjU2LDMuMjU2LDAsMCwwLDMuMDg3LTEuNDA2LDUuMTE5LDUuMTE5LDAsMCwwLC45OS0zQTQuNzg4LDQuNzg4LDAsMCwwLDM3LjE0NywzMS4wNzRaIi8+PC9zdmc+","category":"Extension Suite - Development Efficiency","categoryDisplayName":"Extension Suite - Development Efficiency","globalAccountId":"2342216e-8a13-4aab-894e-11e5280a90f9","tenantId":"ac38918a-900c-4d3c-92f3-398883d3c5e7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/docs/SAP_MASTER_DATA_INTEGRATION/8ce78b673ef04cc1bcfeb01c93ef7885/0bed505b149b4ec6af24bf503a45708b.html?locale\u003den-US\u0026version\u003dCLOUD"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"LOD-MDM-ORC"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"cias","commercialAppName":"cias","appId":"cias!b74866","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"planDescription":"Plan to use the Cloud Integration Automation Service - UI Application","additionalPlanFeatures":[],"displayName":"Cloud Integration Automation Service","description":"Cloud Integration Automation service provides you a guided workflow to integrate SAP cloud solutions to On-Premise and other SAP Cloud solutions. The guided workflow contains instructions for manual and automated tasks to enable a simpler and faster integration configuration setup","shortDescription":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","iconBase64":"PHN2ZyBpZD0iY2xvdWQtaW50ZWdyYXRpb24tYXV0b21hdGlvbi1zZXJ2aWNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEzLjc1LDQwYTYuNzIzLDYuNzIzLDAsMCwwLDYuNzUsNi43NUgyMlY0OUgyMC41YTguNzMsOC43MywwLDAsMS0zLjUxNi0uNyw5LjE1OCw5LjE1OCwwLDAsMS0yLjg0Ny0xLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSwxMi4yLDQzLjQ4LDguNzY3LDguNzY3LDAsMCwxLDExLjUsNDBsLjA3LTEuMTI1TDguOTY5LDQxLjlhMS4xLDEuMSwwLDAsMS0xLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAtMS41NDZsMy42NTYtNC4yMTlhMi4zODIsMi4zODIsMCwwLDEsMy4yMzQsMGwzLjcyNyw0LjIxOWEuOTY4Ljk2OCwwLDAsMSwwLDEuNTQ2LDEuMDM3LDEuMDM3LDAsMCwxLTEuNjE3LDBMMTMuODIsMzguODc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1LjI1LDE2QTYuNzIzLDYuNzIzLDAsMCwwLDM4LjUsOS4yNUgzN1Y3aDEuNWE4LjczLDguNzMsMCwwLDEsMy41MTYuNyw5LjE1OCw5LjE1OCwwLDAsMSwyLjg0NywxLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSw0Ni44LDEyLjUyLDguNzY3LDguNzY3LDAsMCwxLDQ3LjUsMTZsLS4wNywxLjEyNSwyLjYtMy4wMjNhMS4xLDEuMSwwLDAsMSwxLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAsMS41NDZsLTMuNjU2LDQuMjE5YTIuMzgyLDIuMzgyLDAsMCwxLTMuMjM0LDBsLTMuNzI3LTQuMjE5YS45NjguOTY4LDAsMCwxLDAtMS41NDYsMS4wMzcsMS4wMzcsMCwwLDEsMS42MTcsMGwyLjUzMiwzLjAyM1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy4yNSwzMy43NSw0NS43NSw0MGwtMTIuNSw2LjI1VjMzLjc1TTMyLjQwNiwzMWExLjM0OSwxLjM0OSwwLDAsMC0uOTg0LjQyMkExLjQ2MSwxLjQ2MSwwLDAsMCwzMSwzMi41VjQ3LjU5NGExLjMwNywxLjMwNywwLDAsMCwuNDIyLDEuMDMxLDEuNDM0LDEuNDM0LDAsMCwwLC45ODQuMzc1LDEuNjYxLDEuNjYxLDAsMCwwLC43NS0uMTg4TDQ4LjI1LDQxLjI2NmExLjQ0NCwxLjQ0NCwwLDAsMCwwLTIuNTMyTDMzLjE1NiwzMS4xODhhMS42NzQsMS42NzQsMCwwLDAtLjc1LS4xODhaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjcuNTQ0LDE0LjA3MWE0LjgsNC44LDAsMCwwLTcuMTgyLTMuMTExQTYuMDU5LDYuMDU5LDAsMCwwLDE0LjM2OCw3QzcuMzc1LDcsOCwxNC4wNzEsOCwxNC4wNzFBNS41ODIsNS41ODIsMCwwLDAsOS44MDUsMjVIMjUuMTE0QTUuODIxLDUuODIxLDAsMCwwLDMxLDE5LjI2Niw1LjY3NSw1LjY3NSwwLDAsMCwyNy41NDQsMTQuMDcxWm0tMi40Myw4LjM1OEg5LjgwNWEzLjA4MiwzLjA4MiwwLDAsMS0zLjEtMy4wMzUsMy42MzIsMy42MzIsMCwwLDEsMi4xNi0yLjg4YzEuNTc4LS42MjUsMi4wMTktLjM5NCwxLjgzNi0yLjY0OGE1LjE2Miw1LjE2MiwwLDAsMSwxLjA1My0zLjQ0NiwzLjU1NywzLjU1NywwLDAsMSwyLjYxOS0uODQ5LDMuMzQ4LDMuMzQ4LDAsMCwxLDMuNDgzLDIuMzE1Yy45NzksMi40MzksMS43OTMsMi43MDksMy4zNDYsMS40NjFhMi4zNzcsMi4zNzcsMCwwLDEsMS42MjItLjUxLDIuMSwyLjEsMCwwLDEsMi4wNzksMS43Yy4xNTksMS41ODYuMjcsMS40NjYsMS41MTIsMS44NzhhMy4xMjgsMy4xMjgsMCwwLDEsMS44OSwyLjg1NEEzLjE3NywzLjE3NywwLDAsMSwyNS4xMTQsMjIuNDI5WiIvPjwvc3ZnPg\u003d\u003d","globalAccountId":"772a1555-53bf-4bc2-b4ab-fbc18f972b0b","tenantId":"172e334b-4f52-490b-8c3c-c15c775ea815","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"true","propagateLocale":"true","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Cloud%2520Integration%2520Automation%2520Service/Latest/en-US"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10"},{"key":"cf-eu12"}],"CFService":{"name":"cias","description":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","metadata":{"displayName":"Cloud Integration Automation Service"},"plans":[{"technicalName":"standard","name":"standard","description":"Plan to use the Cloud Integration Automation Service - UI Application","metadata":{"bullets":[]}}]}},"incidentTrackingComponent":"BC-INS-CIT-RT"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"feature-flags-dashboard","commercialAppName":"feature-flags-dashboard","appId":"feature-flags!b18","planName":"dashboard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Feature Flags","description":"View and manage Feature Flags Service instances. Get information about flags status, usage and history. Also perform tasks, such as enabling, disabling, adding and removing flags.","category":"Foundation / Cross Services","categoryDisplayName":"Foundation / Cross Services","globalAccountId":"1aa6ae00-fe52-1993-65ff-3613845a7961","tenantId":"fflags-cf-eu12","quota":1,"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Foundation / Cross Services"}]}},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.dt.cpp.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"f1a85532-2d3b-40fd-bd30-d89242684c9e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"PortalApplication","commercialAppName":"PortalApplication","appId":"portal-cf-dt-approuter!t164","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Cloud Portal Service","description":"SAP Cloud Portal service lets you build digital experience portals for employees, customers, and partners. You can streamline access to business data so that your employees can execute their daily business tasks securely, from any device.","shortDescription":"Create role based, multi-channel sites to access business apps and content.","iconBase64":"PHN2ZyBpZD0icG9ydGFsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5wb3J0YWw8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1Ljg0LDIzLjk2MmE4LjQ4OSw4LjQ4OSwwLDAsMC0xMi43ODMtNS43MTNBMTAuNzQ3LDEwLjc0NywwLDAsMCwyMi40MSwxMUMxMCwxMSwxMS4wOSwyMy45ODgsMTEuMDksMjMuOTg4QTEwLjI1NywxMC4yNTcsMCwwLDAsMTQuMjg1LDQ0SDIyVjI5aDlWNDRINDEuNWExMC40ODYsMTAuNDg2LDAsMCwwLDQuMzQtMjAuMDM4Wk00MS41LDQxSDM0VjI2SDE5VjQxSDE0LjI4NWE3LjI1Nyw3LjI1NywwLDAsMS0yLjI1OC0xNC4xNjJsMi4yNzktLjc2OC0uMjMyLTIuMzg5YzAtLjA0Mi0uMzc5LTQuMjM3LDIuMDEtNy4wMTNDMTcuNDYxLDE1LjA2OCwxOSwxNCwyMi40NjUsMTRjMi41MzUsMCw2LjQxNywyLjE4Niw3Ljk5NCw1LjMzOWwxLjE3NiwyLjg3MSwyLjQyNC0xLjMxOEE3LjYsNy42LDAsMCwxLDM3LjQ0OSwyMGE1LjU0Niw1LjU0NiwwLDAsMSw1LjQ0Myw0LjUxOGwuMjg4LDEuNTI4LDEuNDE1LjY0NkE3LjQ4Niw3LjQ4NiwwLDAsMSw0MS41LDQxWiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxOS4wMDYgNDQgMjIuMDA2IDQ0IDIyLjAwNiAyOSAzMS4wMDYgMjkgMzEuMDA2IDQ0IDM0LjAwNiA0NCAzNC4wMDYgMjYgMTkuMDA2IDI2IDE5LjAwNiA0NCIvPjwvc3ZnPg\u003d\u003d","category":"SaaS Applications","categoryDisplayName":"SaaS Applications","globalAccountId":"SA0225001210","tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","inventoryIds":[{"key":"SERVICE-2"},{"key":"SERVICE-134"}],"serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Portal_Service/1.0/en-US"}],"serviceCategories":[{"name":"Application Development and Automation"}],"regionInformation":[{"key":"cf-eu10-canary"},{"key":"cf-eu10"},{"key":"neo-eu1-canary"}]},"incidentTrackingComponent":"EP-CPP-OPS","modifiedDate":"Jul 11, 2023, 6:24:52 AM","createdDate":"Jul 11, 2023, 6:24:37 AM"}]}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4614448d-603e-4c60-4a44-620268315df2 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 520.591ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2d9c1272-37b8-79dc-748b-14a91bd9e7c6 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b128d52f-4ef3-4869-7858-8eb92a059141 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 391.3863ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 31c6c0ad-69e5-08a3-74ba-eaa1c680019b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:37:07 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2b855c59-8438-48de-4eae-502d7ddb4f52 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 212.4909ms + - id: 5 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 31c6c0ad-69e5-08a3-74ba-eaa1c680019b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"applications":[{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"mdo-one-mds-master","commercialAppName":"mdo-one-mds-master","appId":"mdo-one-mds-master!t46510","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Master Data Integration (Orchestration)","description":"Master data application that allows master data replication according to predetermined master data distribution models. SAP Master Data Orchestration can only be used in combination with the SAP Master Data Integration service.","shortDescription":"Orchestrate master data distribution","iconBase64":"PHN2ZyBpZD0icGxhY2Vob2xkZXIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDU2IDU2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzA1M2I3MDt9LmNscy0ye2ZpbGw6IzBhNmVkMTt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnBsYWNlaG9sZGVyPC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00Ni45NTMsMjAuNTg4YTQuMzYzLDQuMzYzLDAsMCwwLTEuODM3LS40NTksMy4yOTEsMy4yOTEsMCwwLDAtMy40LDMuMzc2LDQuMDg0LDQuMDg0LDAsMCwwLC45LDIuNjI1LDMuMDExLDMuMDExLDAsMCwwLDIuNSwxLjEyNiwzLjA4NSwzLjA4NSwwLDAsMCwxLjQ2Mi0uMzc1LDcuNTEyLDcuNTEyLDAsMCwwLDEuMzItLjg5MSwxMC4xMzUsMTAuMTM1LDAsMCwxLDEuMjI2LS44OTEsMi4yNywyLjI3LDAsMCwxLDEuMTc5LS4zNzVBMS41LDEuNSwwLDAsMSw1MiwyNi40MTJWMzkuMDcxYTIuODQzLDIuODQzLDAsMCwxLS41NzYsMiwyLjkyNiwyLjkyNiwwLDAsMS0yLjE1OS42MjZxLTIuOTIzLDAtNC4zODUuMDQ3dC0yLjEyMi4wNDdINDEuOTFhMy4zMjEsMy4zMjEsMCwwLDAsLjYuNjQ0LDUuNzE3LDUuNzE3LDAsMCwxLDIuMDc0LDQuMjIsNS4wNTQsNS4wNTQsMCwwLDEtMS42NSwzLjc1MUE1LjMzMSw1LjMzMSwwLDAsMSwzOS4xMTgsNTJhNS42LDUuNiwwLDAsMS00LjA1NS0xLjU0Nyw1LjA3MSw1LjA3MSwwLDAsMS0xLjYtMy44LDQuODYyLDQuODYyLDAsMCwxLC41MTktMi4zLDExLjQwNywxMS40MDcsMCwwLDEsMS41MTYtMS45NywyLjMzMywyLjMzMywwLDAsMCwuNDc1LS42OUgyOC4zM2ExLjM5NCwxLjM5NCwwLDAsMS0xLjA4NC0uNDY5LDIuMDExLDIuMDExLDAsMCwxLS41MTktMS4wMzJWMTUuOTA5YTEuOCwxLjgsMCwwLDEsLjQyNC0xLjE3MiwxLjQ0NCwxLjQ0NCwwLDAsMSwxLjE3OS0uNTE2aDcuNzMzYTEuOTQ5LDEuOTQ5LDAsMCwwLS4zNzctLjU2MmwtLjgtMS4xNzFhOC43ODgsOC43ODgsMCwwLDEtLjg0Ny0xLjUsNC43ODMsNC43ODMsMCwwLDEtLjQwNi0xLjY3NkE1LjM0OCw1LjM0OCwwLDAsMSwzOS4wODEsNGE1LjU1Miw1LjU1MiwwLDAsMSwzLjc5LDEuNTUzQTQuNjM1LDQuNjM1LDAsMCwxLDQ0LjU1LDkuMzQ1Yy0uMDI4LDEuNjg4LTIuMDIzLDQuMTI1LTIuMjQxLDQuMzc1YTEuNTc2LDEuNTc2LDAsMCwwLS4zLjVoNy4yNjFBMi42NSwyLjY1LDAsMCwxLDUyLDE2Ljg0N3Y0LjEyNnEwLDEuNzgyLTEuNywxLjc4MmExLjc0MywxLjc0MywwLDAsMS0xLjMxOS0uNTQ5QTEzLjE1MiwxMy4xNTIsMCwwLDAsNDYuOTUzLDIwLjU4OFpNMjguMzMsMzkuMDcxYS41ODIuNTgyLDAsMCwwLC42Ni42NTdoNy4xNjdhMS41NzksMS41NzksMCwwLDEsMS43OTIsMS43ODEsMi4yMzgsMi4yMzgsMCwwLDEtLjM4NywxLjI1NGMtLjI4My40MDgtLjU4Mi44MTMtLjksMS4yMTlzLS42MTMuODMtLjksMS4yNjZhMi41NDYsMi41NDYsMCwwLDAtLjQyNCwxLjQwNywzLjExNSwzLjExNSwwLDAsMCwxLjEzMSwyLjUzMiw0LjAyMiw0LjAyMiwwLDAsMCwyLjY0MS45MzgsMy43NzYsMy43NzYsMCwwLDAsMi40NTItLjkzOEEzLjExNSwzLjExNSwwLDAsMCw0Mi43LDQ2LjY1NWEyLjU0NiwyLjU0NiwwLDAsMC0uNDI0LTEuNDA3LDEyLjUxMywxMi41MTMsMCwwLDAtLjk0My0xLjI2NnEtLjUxOS0uNjA5LS45NDMtMS4xNzJhMi4yNjEsMi4yNjEsMCwwLDEtLjQ2Mi0xLjMsMS42MTQsMS42MTQsMCwwLDEsLjU2Ni0xLjMxMywyLjAwNiwyLjAwNiwwLDAsMSwxLjMyLS40NjhoNy40NXEuOTQyLDAsLjk0My0uNjU3VjI2LjUwNmExLjYwOSwxLjYwOSwwLDAsMC0uNzA3LjQyMnEtLjUxOS40MjEtMS4xNzkuODlhMTEuMDY5LDExLjA2OSwwLDAsMS0xLjUwOS44OTEsMy43NywzLjc3LDAsMCwxLTEuNy40MjIsNS40NSw1LjQ1LDAsMCwxLTMuNjc4LTEuNSw0LjI1LDQuMjUsMCwwLDEtMS4yMjYtMS44NzYsNy4wNTMsNy4wNTMsMCwwLDEtLjM3Ny0yLjI1LDUuMTY2LDUuMTY2LDAsMCwxLDEuNi0zLjcsNS4wMDksNS4wMDksMCwwLDEsMy42NzgtMS42NDEsNC44ODQsNC44ODQsMCwwLDEsMi4zNTcuNTE1QTcuNTg3LDcuNTg3LDAsMCwxLDQ5LjUxOCwyMC4yYy41MDYuNTg4Ljc4NS42MjQuNzg1LjYyNFYxNi44NDdhLjU0NC41NDQsMCwwLDAtLjMzMS0uNDY5LDEuNDIyLDEuNDIyLDAsMCwwLS43MDctLjE4N2gtNy40NWEyLjE0NywyLjE0NywwLDAsMS0xLjMyLS40MjIsMS41ODcsMS41ODcsMCwwLDEtLjU2Ni0xLjM2LDIuMDY3LDIuMDY3LDAsMCwxLC40MjUtMS4xNzJxLjQyNS0uNjA5Ljk0My0xLjIxOWExMi4yMjIsMTIuMjIyLDAsMCwwLC45NDMtMS4yNjYsMi41NDEsMi41NDEsMCwwLDAsLjQyNC0xLjQwNywzLjExOCwzLjExOCwwLDAsMC0xLjEzMi0yLjUzMiwzLjc3MSwzLjc3MSwwLDAsMC0yLjQ1MS0uOTM4LDMuODM5LDMuODM5LDAsMCwwLTIuNTk0LjkzOEEzLjE3OCwzLjE3OCwwLDAsMCwzNS40LDkuMzQ1YTIuNzc2LDIuNzc2LDAsMCwwLC40MjQsMS40NTQsMTAuMDM3LDEwLjAzNywwLDAsMCwuOSwxLjI2NWwuODQ5LDEuMjJhMi45MDksMi45MDksMCwwLDEsLjQ3MSwxLjEyNSwxLjYyNSwxLjYyNSwwLDAsMS0uNTE4LDEuMzYsMS45NTYsMS45NTYsMCwwLDEtMS4yNzQuNDIySDI5LjA4NHEtLjc1NSwwLS43NTQuNjU2Wm0yMy42NywwYTIuNywyLjcsMCwwLDEtLjU3NiwyLDIuNjc1LDIuNjc1LDAsMCwxLTIuMTU5LjYyNiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM3LjE0NywzMS4wNzRhMy4zMjgsMy4zMjgsMCwwLDAtMi44NzgtMS4zNiw0LjQ0NSw0LjQ0NSwwLDAsMC0yLjEyLjQyMiw2LjE4NSw2LjE4NSwwLDAsMC0xLjE3OC44OTFxLS41NjcuNDcxLTEuMTMyLjg5MWMtLjM3My4yNzgtLjgwOC43NzMtMS4zLjc3NkgyNi43MjdWMTYuNDZhMy4zMzUsMy4zMzUsMCwwLDAtLjM3Ny0xLjUsMS40MzYsMS40MzYsMCwwLDAtMS40MTUtLjc1MUgxOS4yNzdjLS41LDAtLjc1NC4yNTEtLjc1NC44NDRhMS45MDcsMS45MDcsMCwwLDAsLjM3NywxLjEyNiw5LjE0Niw5LjE0NiwwLDAsMCwuOTQzLDEuMTI1LDUuMzQxLDUuMzQxLDAsMCwxLC45NDMsMS4yNjYsMy4yMzYsMy4yMzYsMCwwLDEsLjM3NywxLjU0Nyw0LjQ1NCw0LjQ1NCwwLDAsMS0xLjI3MywzLjE0MSw0LjA0OSw0LjA0OSwwLDAsMS0zLjA2NSwxLjM2LDMuOSwzLjksMCwwLDEtMy4wMTgtMS4zNiw0LjU0Nyw0LjU0NywwLDAsMS0xLjIyNS0zLjE0MSwyLjkzNiwyLjkzNiwwLDAsMSwuNDI0LTEuNTQ3LDEzLjU0OCwxMy41NDgsMCwwLDEsLjktMS4zMTNjLjMxNC0uNDA2LjYyNy0uNzgxLjk0My0xLjEyNWExLjU4OCwxLjU4OCwwLDAsMCwuNDcxLTEuMDc5cTAtLjg0My0xLjAzNy0uODQ0SDUuN2ExLjU4NywxLjU4NywwLDAsMC0xLjIyNi41MTZBMS44MDYsMS44MDYsMCwwLDAsNCwxNS45OTFWMzkuOWExLjgsMS44LDAsMCwwLC40NzEsMS4yNjYsMS41ODMsMS41ODMsMCwwLDAsMS4yMjYuNTE2aDguNDg4Yy42OTEsMCwxLjAzNS4yMzgsMS4wMzcuNzVhMS41NDcsMS41NDcsMCwwLDEtLjQyMi45NDRMMTMuODA3LDQ0LjVhNi41NDksNi41NDksMCwwLDAtLjk5LDEuMjY2LDMuMTE2LDMuMTE2LDAsMCwwLS40MjQsMS42NDEsNC4yMzcsNC4yMzcsMCwwLDAsMS4zNjcsMy40Nyw0Ljc5MSw0Ljc5MSwwLDAsMCw2LjIyNC0uMDQ3LDQuNTE3LDQuNTE3LDAsMCwwLDEuNDQ1LTMuMjgzLDMuNjMxLDMuNjMxLDAsMCwwLS41MTQtMS44ODljLS4yMTUtLjMwNy0uOTc4LTEuMTU4LS45NzgtMS4xNThMMTguOSw0My4zNzNhMS40OTIsMS40OTIsMCwwLDEtLjM3Ny0uOTM4cTAtLjc1Ljg0OC0uNzVoNS42NThxMS4yMjYsMCwxLjctMS41VjM1LjM0MUgyOC4zNWMuNTU3LDAsMS4wNTQuNTE5LDEuNDg5LjhhMTIuMjkxLDEyLjI5MSwwLDAsMSwxLjIyNi44OTFxLjU2NS40NjksMS4xNzkuODlhMy43ODYsMy43ODYsMCwwLDAsMS44MTYuNDIyLDMuMjU2LDMuMjU2LDAsMCwwLDMuMDg3LTEuNDA2LDUuMTE5LDUuMTE5LDAsMCwwLC45OS0zQTQuNzg4LDQuNzg4LDAsMCwwLDM3LjE0NywzMS4wNzRaIi8+PC9zdmc+","category":"Extension Suite - Development Efficiency","categoryDisplayName":"Extension Suite - Development Efficiency","globalAccountId":"2342216e-8a13-4aab-894e-11e5280a90f9","tenantId":"ac38918a-900c-4d3c-92f3-398883d3c5e7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/docs/SAP_MASTER_DATA_INTEGRATION/8ce78b673ef04cc1bcfeb01c93ef7885/0bed505b149b4ec6af24bf503a45708b.html?locale\u003den-US\u0026version\u003dCLOUD"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"LOD-MDM-ORC"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"cias","commercialAppName":"cias","appId":"cias!b74866","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"planDescription":"Plan to use the Cloud Integration Automation Service - UI Application","additionalPlanFeatures":[],"displayName":"Cloud Integration Automation Service","description":"Cloud Integration Automation service provides you a guided workflow to integrate SAP cloud solutions to On-Premise and other SAP Cloud solutions. The guided workflow contains instructions for manual and automated tasks to enable a simpler and faster integration configuration setup","shortDescription":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","iconBase64":"PHN2ZyBpZD0iY2xvdWQtaW50ZWdyYXRpb24tYXV0b21hdGlvbi1zZXJ2aWNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEzLjc1LDQwYTYuNzIzLDYuNzIzLDAsMCwwLDYuNzUsNi43NUgyMlY0OUgyMC41YTguNzMsOC43MywwLDAsMS0zLjUxNi0uNyw5LjE1OCw5LjE1OCwwLDAsMS0yLjg0Ny0xLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSwxMi4yLDQzLjQ4LDguNzY3LDguNzY3LDAsMCwxLDExLjUsNDBsLjA3LTEuMTI1TDguOTY5LDQxLjlhMS4xLDEuMSwwLDAsMS0xLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAtMS41NDZsMy42NTYtNC4yMTlhMi4zODIsMi4zODIsMCwwLDEsMy4yMzQsMGwzLjcyNyw0LjIxOWEuOTY4Ljk2OCwwLDAsMSwwLDEuNTQ2LDEuMDM3LDEuMDM3LDAsMCwxLTEuNjE3LDBMMTMuODIsMzguODc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1LjI1LDE2QTYuNzIzLDYuNzIzLDAsMCwwLDM4LjUsOS4yNUgzN1Y3aDEuNWE4LjczLDguNzMsMCwwLDEsMy41MTYuNyw5LjE1OCw5LjE1OCwwLDAsMSwyLjg0NywxLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSw0Ni44LDEyLjUyLDguNzY3LDguNzY3LDAsMCwxLDQ3LjUsMTZsLS4wNywxLjEyNSwyLjYtMy4wMjNhMS4xLDEuMSwwLDAsMSwxLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAsMS41NDZsLTMuNjU2LDQuMjE5YTIuMzgyLDIuMzgyLDAsMCwxLTMuMjM0LDBsLTMuNzI3LTQuMjE5YS45NjguOTY4LDAsMCwxLDAtMS41NDYsMS4wMzcsMS4wMzcsMCwwLDEsMS42MTcsMGwyLjUzMiwzLjAyM1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy4yNSwzMy43NSw0NS43NSw0MGwtMTIuNSw2LjI1VjMzLjc1TTMyLjQwNiwzMWExLjM0OSwxLjM0OSwwLDAsMC0uOTg0LjQyMkExLjQ2MSwxLjQ2MSwwLDAsMCwzMSwzMi41VjQ3LjU5NGExLjMwNywxLjMwNywwLDAsMCwuNDIyLDEuMDMxLDEuNDM0LDEuNDM0LDAsMCwwLC45ODQuMzc1LDEuNjYxLDEuNjYxLDAsMCwwLC43NS0uMTg4TDQ4LjI1LDQxLjI2NmExLjQ0NCwxLjQ0NCwwLDAsMCwwLTIuNTMyTDMzLjE1NiwzMS4xODhhMS42NzQsMS42NzQsMCwwLDAtLjc1LS4xODhaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjcuNTQ0LDE0LjA3MWE0LjgsNC44LDAsMCwwLTcuMTgyLTMuMTExQTYuMDU5LDYuMDU5LDAsMCwwLDE0LjM2OCw3QzcuMzc1LDcsOCwxNC4wNzEsOCwxNC4wNzFBNS41ODIsNS41ODIsMCwwLDAsOS44MDUsMjVIMjUuMTE0QTUuODIxLDUuODIxLDAsMCwwLDMxLDE5LjI2Niw1LjY3NSw1LjY3NSwwLDAsMCwyNy41NDQsMTQuMDcxWm0tMi40Myw4LjM1OEg5LjgwNWEzLjA4MiwzLjA4MiwwLDAsMS0zLjEtMy4wMzUsMy42MzIsMy42MzIsMCwwLDEsMi4xNi0yLjg4YzEuNTc4LS42MjUsMi4wMTktLjM5NCwxLjgzNi0yLjY0OGE1LjE2Miw1LjE2MiwwLDAsMSwxLjA1My0zLjQ0NiwzLjU1NywzLjU1NywwLDAsMSwyLjYxOS0uODQ5LDMuMzQ4LDMuMzQ4LDAsMCwxLDMuNDgzLDIuMzE1Yy45NzksMi40MzksMS43OTMsMi43MDksMy4zNDYsMS40NjFhMi4zNzcsMi4zNzcsMCwwLDEsMS42MjItLjUxLDIuMSwyLjEsMCwwLDEsMi4wNzksMS43Yy4xNTksMS41ODYuMjcsMS40NjYsMS41MTIsMS44NzhhMy4xMjgsMy4xMjgsMCwwLDEsMS44OSwyLjg1NEEzLjE3NywzLjE3NywwLDAsMSwyNS4xMTQsMjIuNDI5WiIvPjwvc3ZnPg\u003d\u003d","globalAccountId":"772a1555-53bf-4bc2-b4ab-fbc18f972b0b","tenantId":"172e334b-4f52-490b-8c3c-c15c775ea815","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"true","propagateLocale":"true","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Cloud%2520Integration%2520Automation%2520Service/Latest/en-US"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10"},{"key":"cf-eu12"}],"CFService":{"name":"cias","description":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","metadata":{"displayName":"Cloud Integration Automation Service"},"plans":[{"technicalName":"standard","name":"standard","description":"Plan to use the Cloud Integration Automation Service - UI Application","metadata":{"bullets":[]}}]}},"incidentTrackingComponent":"BC-INS-CIT-RT"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"feature-flags-dashboard","commercialAppName":"feature-flags-dashboard","appId":"feature-flags!b18","planName":"dashboard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Feature Flags","description":"View and manage Feature Flags Service instances. Get information about flags status, usage and history. Also perform tasks, such as enabling, disabling, adding and removing flags.","category":"Foundation / Cross Services","categoryDisplayName":"Foundation / Cross Services","globalAccountId":"1aa6ae00-fe52-1993-65ff-3613845a7961","tenantId":"fflags-cf-eu12","quota":1,"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Foundation / Cross Services"}]}},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.dt.cpp.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"f1a85532-2d3b-40fd-bd30-d89242684c9e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"PortalApplication","commercialAppName":"PortalApplication","appId":"portal-cf-dt-approuter!t164","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Cloud Portal Service","description":"SAP Cloud Portal service lets you build digital experience portals for employees, customers, and partners. You can streamline access to business data so that your employees can execute their daily business tasks securely, from any device.","shortDescription":"Create role based, multi-channel sites to access business apps and content.","iconBase64":"PHN2ZyBpZD0icG9ydGFsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5wb3J0YWw8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1Ljg0LDIzLjk2MmE4LjQ4OSw4LjQ4OSwwLDAsMC0xMi43ODMtNS43MTNBMTAuNzQ3LDEwLjc0NywwLDAsMCwyMi40MSwxMUMxMCwxMSwxMS4wOSwyMy45ODgsMTEuMDksMjMuOTg4QTEwLjI1NywxMC4yNTcsMCwwLDAsMTQuMjg1LDQ0SDIyVjI5aDlWNDRINDEuNWExMC40ODYsMTAuNDg2LDAsMCwwLDQuMzQtMjAuMDM4Wk00MS41LDQxSDM0VjI2SDE5VjQxSDE0LjI4NWE3LjI1Nyw3LjI1NywwLDAsMS0yLjI1OC0xNC4xNjJsMi4yNzktLjc2OC0uMjMyLTIuMzg5YzAtLjA0Mi0uMzc5LTQuMjM3LDIuMDEtNy4wMTNDMTcuNDYxLDE1LjA2OCwxOSwxNCwyMi40NjUsMTRjMi41MzUsMCw2LjQxNywyLjE4Niw3Ljk5NCw1LjMzOWwxLjE3NiwyLjg3MSwyLjQyNC0xLjMxOEE3LjYsNy42LDAsMCwxLDM3LjQ0OSwyMGE1LjU0Niw1LjU0NiwwLDAsMSw1LjQ0Myw0LjUxOGwuMjg4LDEuNTI4LDEuNDE1LjY0NkE3LjQ4Niw3LjQ4NiwwLDAsMSw0MS41LDQxWiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxOS4wMDYgNDQgMjIuMDA2IDQ0IDIyLjAwNiAyOSAzMS4wMDYgMjkgMzEuMDA2IDQ0IDM0LjAwNiA0NCAzNC4wMDYgMjYgMTkuMDA2IDI2IDE5LjAwNiA0NCIvPjwvc3ZnPg\u003d\u003d","category":"SaaS Applications","categoryDisplayName":"SaaS Applications","globalAccountId":"SA0225001210","tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","inventoryIds":[{"key":"SERVICE-2"},{"key":"SERVICE-134"}],"serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Portal_Service/1.0/en-US"}],"serviceCategories":[{"name":"Application Development and Automation"}],"regionInformation":[{"key":"cf-eu10-canary"},{"key":"cf-eu10"},{"key":"neo-eu1-canary"}]},"incidentTrackingComponent":"EP-CPP-OPS","modifiedDate":"Jul 11, 2023, 6:24:52 AM","createdDate":"Jul 11, 2023, 6:24:37 AM"}]}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e2a52838-8da6-4bde-4d23-daa08e36953a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 417.6252ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - ca4944df-4746-df63-fe16-fcb22fbe8a99 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:08 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - cf7c46f1-abb6-449a-6125-e987b93df83d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 326.2304ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 93a7d9ff-5cfb-3066-e10e-ef46a5d7d969 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:37:08 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 1b094f5f-ccfc-4281-5935-8fb3adbe1edd + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 219.9289ms + - id: 8 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 93a7d9ff-5cfb-3066-e10e-ef46a5d7d969 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"applications":[{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"mdo-one-mds-master","commercialAppName":"mdo-one-mds-master","appId":"mdo-one-mds-master!t46510","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Master Data Integration (Orchestration)","description":"Master data application that allows master data replication according to predetermined master data distribution models. SAP Master Data Orchestration can only be used in combination with the SAP Master Data Integration service.","shortDescription":"Orchestrate master data distribution","iconBase64":"PHN2ZyBpZD0icGxhY2Vob2xkZXIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDU2IDU2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzA1M2I3MDt9LmNscy0ye2ZpbGw6IzBhNmVkMTt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnBsYWNlaG9sZGVyPC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00Ni45NTMsMjAuNTg4YTQuMzYzLDQuMzYzLDAsMCwwLTEuODM3LS40NTksMy4yOTEsMy4yOTEsMCwwLDAtMy40LDMuMzc2LDQuMDg0LDQuMDg0LDAsMCwwLC45LDIuNjI1LDMuMDExLDMuMDExLDAsMCwwLDIuNSwxLjEyNiwzLjA4NSwzLjA4NSwwLDAsMCwxLjQ2Mi0uMzc1LDcuNTEyLDcuNTEyLDAsMCwwLDEuMzItLjg5MSwxMC4xMzUsMTAuMTM1LDAsMCwxLDEuMjI2LS44OTEsMi4yNywyLjI3LDAsMCwxLDEuMTc5LS4zNzVBMS41LDEuNSwwLDAsMSw1MiwyNi40MTJWMzkuMDcxYTIuODQzLDIuODQzLDAsMCwxLS41NzYsMiwyLjkyNiwyLjkyNiwwLDAsMS0yLjE1OS42MjZxLTIuOTIzLDAtNC4zODUuMDQ3dC0yLjEyMi4wNDdINDEuOTFhMy4zMjEsMy4zMjEsMCwwLDAsLjYuNjQ0LDUuNzE3LDUuNzE3LDAsMCwxLDIuMDc0LDQuMjIsNS4wNTQsNS4wNTQsMCwwLDEtMS42NSwzLjc1MUE1LjMzMSw1LjMzMSwwLDAsMSwzOS4xMTgsNTJhNS42LDUuNiwwLDAsMS00LjA1NS0xLjU0Nyw1LjA3MSw1LjA3MSwwLDAsMS0xLjYtMy44LDQuODYyLDQuODYyLDAsMCwxLC41MTktMi4zLDExLjQwNywxMS40MDcsMCwwLDEsMS41MTYtMS45NywyLjMzMywyLjMzMywwLDAsMCwuNDc1LS42OUgyOC4zM2ExLjM5NCwxLjM5NCwwLDAsMS0xLjA4NC0uNDY5LDIuMDExLDIuMDExLDAsMCwxLS41MTktMS4wMzJWMTUuOTA5YTEuOCwxLjgsMCwwLDEsLjQyNC0xLjE3MiwxLjQ0NCwxLjQ0NCwwLDAsMSwxLjE3OS0uNTE2aDcuNzMzYTEuOTQ5LDEuOTQ5LDAsMCwwLS4zNzctLjU2MmwtLjgtMS4xNzFhOC43ODgsOC43ODgsMCwwLDEtLjg0Ny0xLjUsNC43ODMsNC43ODMsMCwwLDEtLjQwNi0xLjY3NkE1LjM0OCw1LjM0OCwwLDAsMSwzOS4wODEsNGE1LjU1Miw1LjU1MiwwLDAsMSwzLjc5LDEuNTUzQTQuNjM1LDQuNjM1LDAsMCwxLDQ0LjU1LDkuMzQ1Yy0uMDI4LDEuNjg4LTIuMDIzLDQuMTI1LTIuMjQxLDQuMzc1YTEuNTc2LDEuNTc2LDAsMCwwLS4zLjVoNy4yNjFBMi42NSwyLjY1LDAsMCwxLDUyLDE2Ljg0N3Y0LjEyNnEwLDEuNzgyLTEuNywxLjc4MmExLjc0MywxLjc0MywwLDAsMS0xLjMxOS0uNTQ5QTEzLjE1MiwxMy4xNTIsMCwwLDAsNDYuOTUzLDIwLjU4OFpNMjguMzMsMzkuMDcxYS41ODIuNTgyLDAsMCwwLC42Ni42NTdoNy4xNjdhMS41NzksMS41NzksMCwwLDEsMS43OTIsMS43ODEsMi4yMzgsMi4yMzgsMCwwLDEtLjM4NywxLjI1NGMtLjI4My40MDgtLjU4Mi44MTMtLjksMS4yMTlzLS42MTMuODMtLjksMS4yNjZhMi41NDYsMi41NDYsMCwwLDAtLjQyNCwxLjQwNywzLjExNSwzLjExNSwwLDAsMCwxLjEzMSwyLjUzMiw0LjAyMiw0LjAyMiwwLDAsMCwyLjY0MS45MzgsMy43NzYsMy43NzYsMCwwLDAsMi40NTItLjkzOEEzLjExNSwzLjExNSwwLDAsMCw0Mi43LDQ2LjY1NWEyLjU0NiwyLjU0NiwwLDAsMC0uNDI0LTEuNDA3LDEyLjUxMywxMi41MTMsMCwwLDAtLjk0My0xLjI2NnEtLjUxOS0uNjA5LS45NDMtMS4xNzJhMi4yNjEsMi4yNjEsMCwwLDEtLjQ2Mi0xLjMsMS42MTQsMS42MTQsMCwwLDEsLjU2Ni0xLjMxMywyLjAwNiwyLjAwNiwwLDAsMSwxLjMyLS40NjhoNy40NXEuOTQyLDAsLjk0My0uNjU3VjI2LjUwNmExLjYwOSwxLjYwOSwwLDAsMC0uNzA3LjQyMnEtLjUxOS40MjEtMS4xNzkuODlhMTEuMDY5LDExLjA2OSwwLDAsMS0xLjUwOS44OTEsMy43NywzLjc3LDAsMCwxLTEuNy40MjIsNS40NSw1LjQ1LDAsMCwxLTMuNjc4LTEuNSw0LjI1LDQuMjUsMCwwLDEtMS4yMjYtMS44NzYsNy4wNTMsNy4wNTMsMCwwLDEtLjM3Ny0yLjI1LDUuMTY2LDUuMTY2LDAsMCwxLDEuNi0zLjcsNS4wMDksNS4wMDksMCwwLDEsMy42NzgtMS42NDEsNC44ODQsNC44ODQsMCwwLDEsMi4zNTcuNTE1QTcuNTg3LDcuNTg3LDAsMCwxLDQ5LjUxOCwyMC4yYy41MDYuNTg4Ljc4NS42MjQuNzg1LjYyNFYxNi44NDdhLjU0NC41NDQsMCwwLDAtLjMzMS0uNDY5LDEuNDIyLDEuNDIyLDAsMCwwLS43MDctLjE4N2gtNy40NWEyLjE0NywyLjE0NywwLDAsMS0xLjMyLS40MjIsMS41ODcsMS41ODcsMCwwLDEtLjU2Ni0xLjM2LDIuMDY3LDIuMDY3LDAsMCwxLC40MjUtMS4xNzJxLjQyNS0uNjA5Ljk0My0xLjIxOWExMi4yMjIsMTIuMjIyLDAsMCwwLC45NDMtMS4yNjYsMi41NDEsMi41NDEsMCwwLDAsLjQyNC0xLjQwNywzLjExOCwzLjExOCwwLDAsMC0xLjEzMi0yLjUzMiwzLjc3MSwzLjc3MSwwLDAsMC0yLjQ1MS0uOTM4LDMuODM5LDMuODM5LDAsMCwwLTIuNTk0LjkzOEEzLjE3OCwzLjE3OCwwLDAsMCwzNS40LDkuMzQ1YTIuNzc2LDIuNzc2LDAsMCwwLC40MjQsMS40NTQsMTAuMDM3LDEwLjAzNywwLDAsMCwuOSwxLjI2NWwuODQ5LDEuMjJhMi45MDksMi45MDksMCwwLDEsLjQ3MSwxLjEyNSwxLjYyNSwxLjYyNSwwLDAsMS0uNTE4LDEuMzYsMS45NTYsMS45NTYsMCwwLDEtMS4yNzQuNDIySDI5LjA4NHEtLjc1NSwwLS43NTQuNjU2Wm0yMy42NywwYTIuNywyLjcsMCwwLDEtLjU3NiwyLDIuNjc1LDIuNjc1LDAsMCwxLTIuMTU5LjYyNiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM3LjE0NywzMS4wNzRhMy4zMjgsMy4zMjgsMCwwLDAtMi44NzgtMS4zNiw0LjQ0NSw0LjQ0NSwwLDAsMC0yLjEyLjQyMiw2LjE4NSw2LjE4NSwwLDAsMC0xLjE3OC44OTFxLS41NjcuNDcxLTEuMTMyLjg5MWMtLjM3My4yNzgtLjgwOC43NzMtMS4zLjc3NkgyNi43MjdWMTYuNDZhMy4zMzUsMy4zMzUsMCwwLDAtLjM3Ny0xLjUsMS40MzYsMS40MzYsMCwwLDAtMS40MTUtLjc1MUgxOS4yNzdjLS41LDAtLjc1NC4yNTEtLjc1NC44NDRhMS45MDcsMS45MDcsMCwwLDAsLjM3NywxLjEyNiw5LjE0Niw5LjE0NiwwLDAsMCwuOTQzLDEuMTI1LDUuMzQxLDUuMzQxLDAsMCwxLC45NDMsMS4yNjYsMy4yMzYsMy4yMzYsMCwwLDEsLjM3NywxLjU0Nyw0LjQ1NCw0LjQ1NCwwLDAsMS0xLjI3MywzLjE0MSw0LjA0OSw0LjA0OSwwLDAsMS0zLjA2NSwxLjM2LDMuOSwzLjksMCwwLDEtMy4wMTgtMS4zNiw0LjU0Nyw0LjU0NywwLDAsMS0xLjIyNS0zLjE0MSwyLjkzNiwyLjkzNiwwLDAsMSwuNDI0LTEuNTQ3LDEzLjU0OCwxMy41NDgsMCwwLDEsLjktMS4zMTNjLjMxNC0uNDA2LjYyNy0uNzgxLjk0My0xLjEyNWExLjU4OCwxLjU4OCwwLDAsMCwuNDcxLTEuMDc5cTAtLjg0My0xLjAzNy0uODQ0SDUuN2ExLjU4NywxLjU4NywwLDAsMC0xLjIyNi41MTZBMS44MDYsMS44MDYsMCwwLDAsNCwxNS45OTFWMzkuOWExLjgsMS44LDAsMCwwLC40NzEsMS4yNjYsMS41ODMsMS41ODMsMCwwLDAsMS4yMjYuNTE2aDguNDg4Yy42OTEsMCwxLjAzNS4yMzgsMS4wMzcuNzVhMS41NDcsMS41NDcsMCwwLDEtLjQyMi45NDRMMTMuODA3LDQ0LjVhNi41NDksNi41NDksMCwwLDAtLjk5LDEuMjY2LDMuMTE2LDMuMTE2LDAsMCwwLS40MjQsMS42NDEsNC4yMzcsNC4yMzcsMCwwLDAsMS4zNjcsMy40Nyw0Ljc5MSw0Ljc5MSwwLDAsMCw2LjIyNC0uMDQ3LDQuNTE3LDQuNTE3LDAsMCwwLDEuNDQ1LTMuMjgzLDMuNjMxLDMuNjMxLDAsMCwwLS41MTQtMS44ODljLS4yMTUtLjMwNy0uOTc4LTEuMTU4LS45NzgtMS4xNThMMTguOSw0My4zNzNhMS40OTIsMS40OTIsMCwwLDEtLjM3Ny0uOTM4cTAtLjc1Ljg0OC0uNzVoNS42NThxMS4yMjYsMCwxLjctMS41VjM1LjM0MUgyOC4zNWMuNTU3LDAsMS4wNTQuNTE5LDEuNDg5LjhhMTIuMjkxLDEyLjI5MSwwLDAsMSwxLjIyNi44OTFxLjU2NS40NjksMS4xNzkuODlhMy43ODYsMy43ODYsMCwwLDAsMS44MTYuNDIyLDMuMjU2LDMuMjU2LDAsMCwwLDMuMDg3LTEuNDA2LDUuMTE5LDUuMTE5LDAsMCwwLC45OS0zQTQuNzg4LDQuNzg4LDAsMCwwLDM3LjE0NywzMS4wNzRaIi8+PC9zdmc+","category":"Extension Suite - Development Efficiency","categoryDisplayName":"Extension Suite - Development Efficiency","globalAccountId":"2342216e-8a13-4aab-894e-11e5280a90f9","tenantId":"ac38918a-900c-4d3c-92f3-398883d3c5e7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/docs/SAP_MASTER_DATA_INTEGRATION/8ce78b673ef04cc1bcfeb01c93ef7885/0bed505b149b4ec6af24bf503a45708b.html?locale\u003den-US\u0026version\u003dCLOUD"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"LOD-MDM-ORC"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"cias","commercialAppName":"cias","appId":"cias!b74866","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"planDescription":"Plan to use the Cloud Integration Automation Service - UI Application","additionalPlanFeatures":[],"displayName":"Cloud Integration Automation Service","description":"Cloud Integration Automation service provides you a guided workflow to integrate SAP cloud solutions to On-Premise and other SAP Cloud solutions. The guided workflow contains instructions for manual and automated tasks to enable a simpler and faster integration configuration setup","shortDescription":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","iconBase64":"PHN2ZyBpZD0iY2xvdWQtaW50ZWdyYXRpb24tYXV0b21hdGlvbi1zZXJ2aWNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEzLjc1LDQwYTYuNzIzLDYuNzIzLDAsMCwwLDYuNzUsNi43NUgyMlY0OUgyMC41YTguNzMsOC43MywwLDAsMS0zLjUxNi0uNyw5LjE1OCw5LjE1OCwwLDAsMS0yLjg0Ny0xLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSwxMi4yLDQzLjQ4LDguNzY3LDguNzY3LDAsMCwxLDExLjUsNDBsLjA3LTEuMTI1TDguOTY5LDQxLjlhMS4xLDEuMSwwLDAsMS0xLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAtMS41NDZsMy42NTYtNC4yMTlhMi4zODIsMi4zODIsMCwwLDEsMy4yMzQsMGwzLjcyNyw0LjIxOWEuOTY4Ljk2OCwwLDAsMSwwLDEuNTQ2LDEuMDM3LDEuMDM3LDAsMCwxLTEuNjE3LDBMMTMuODIsMzguODc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1LjI1LDE2QTYuNzIzLDYuNzIzLDAsMCwwLDM4LjUsOS4yNUgzN1Y3aDEuNWE4LjczLDguNzMsMCwwLDEsMy41MTYuNyw5LjE1OCw5LjE1OCwwLDAsMSwyLjg0NywxLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSw0Ni44LDEyLjUyLDguNzY3LDguNzY3LDAsMCwxLDQ3LjUsMTZsLS4wNywxLjEyNSwyLjYtMy4wMjNhMS4xLDEuMSwwLDAsMSwxLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAsMS41NDZsLTMuNjU2LDQuMjE5YTIuMzgyLDIuMzgyLDAsMCwxLTMuMjM0LDBsLTMuNzI3LTQuMjE5YS45NjguOTY4LDAsMCwxLDAtMS41NDYsMS4wMzcsMS4wMzcsMCwwLDEsMS42MTcsMGwyLjUzMiwzLjAyM1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy4yNSwzMy43NSw0NS43NSw0MGwtMTIuNSw2LjI1VjMzLjc1TTMyLjQwNiwzMWExLjM0OSwxLjM0OSwwLDAsMC0uOTg0LjQyMkExLjQ2MSwxLjQ2MSwwLDAsMCwzMSwzMi41VjQ3LjU5NGExLjMwNywxLjMwNywwLDAsMCwuNDIyLDEuMDMxLDEuNDM0LDEuNDM0LDAsMCwwLC45ODQuMzc1LDEuNjYxLDEuNjYxLDAsMCwwLC43NS0uMTg4TDQ4LjI1LDQxLjI2NmExLjQ0NCwxLjQ0NCwwLDAsMCwwLTIuNTMyTDMzLjE1NiwzMS4xODhhMS42NzQsMS42NzQsMCwwLDAtLjc1LS4xODhaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjcuNTQ0LDE0LjA3MWE0LjgsNC44LDAsMCwwLTcuMTgyLTMuMTExQTYuMDU5LDYuMDU5LDAsMCwwLDE0LjM2OCw3QzcuMzc1LDcsOCwxNC4wNzEsOCwxNC4wNzFBNS41ODIsNS41ODIsMCwwLDAsOS44MDUsMjVIMjUuMTE0QTUuODIxLDUuODIxLDAsMCwwLDMxLDE5LjI2Niw1LjY3NSw1LjY3NSwwLDAsMCwyNy41NDQsMTQuMDcxWm0tMi40Myw4LjM1OEg5LjgwNWEzLjA4MiwzLjA4MiwwLDAsMS0zLjEtMy4wMzUsMy42MzIsMy42MzIsMCwwLDEsMi4xNi0yLjg4YzEuNTc4LS42MjUsMi4wMTktLjM5NCwxLjgzNi0yLjY0OGE1LjE2Miw1LjE2MiwwLDAsMSwxLjA1My0zLjQ0NiwzLjU1NywzLjU1NywwLDAsMSwyLjYxOS0uODQ5LDMuMzQ4LDMuMzQ4LDAsMCwxLDMuNDgzLDIuMzE1Yy45NzksMi40MzksMS43OTMsMi43MDksMy4zNDYsMS40NjFhMi4zNzcsMi4zNzcsMCwwLDEsMS42MjItLjUxLDIuMSwyLjEsMCwwLDEsMi4wNzksMS43Yy4xNTksMS41ODYuMjcsMS40NjYsMS41MTIsMS44NzhhMy4xMjgsMy4xMjgsMCwwLDEsMS44OSwyLjg1NEEzLjE3NywzLjE3NywwLDAsMSwyNS4xMTQsMjIuNDI5WiIvPjwvc3ZnPg\u003d\u003d","globalAccountId":"772a1555-53bf-4bc2-b4ab-fbc18f972b0b","tenantId":"172e334b-4f52-490b-8c3c-c15c775ea815","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"true","propagateLocale":"true","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Cloud%2520Integration%2520Automation%2520Service/Latest/en-US"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10"},{"key":"cf-eu12"}],"CFService":{"name":"cias","description":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","metadata":{"displayName":"Cloud Integration Automation Service"},"plans":[{"technicalName":"standard","name":"standard","description":"Plan to use the Cloud Integration Automation Service - UI Application","metadata":{"bullets":[]}}]}},"incidentTrackingComponent":"BC-INS-CIT-RT"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"feature-flags-dashboard","commercialAppName":"feature-flags-dashboard","appId":"feature-flags!b18","planName":"dashboard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Feature Flags","description":"View and manage Feature Flags Service instances. Get information about flags status, usage and history. Also perform tasks, such as enabling, disabling, adding and removing flags.","category":"Foundation / Cross Services","categoryDisplayName":"Foundation / Cross Services","globalAccountId":"1aa6ae00-fe52-1993-65ff-3613845a7961","tenantId":"fflags-cf-eu12","quota":1,"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Foundation / Cross Services"}]}},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.dt.cpp.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"f1a85532-2d3b-40fd-bd30-d89242684c9e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"PortalApplication","commercialAppName":"PortalApplication","appId":"portal-cf-dt-approuter!t164","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Cloud Portal Service","description":"SAP Cloud Portal service lets you build digital experience portals for employees, customers, and partners. You can streamline access to business data so that your employees can execute their daily business tasks securely, from any device.","shortDescription":"Create role based, multi-channel sites to access business apps and content.","iconBase64":"PHN2ZyBpZD0icG9ydGFsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5wb3J0YWw8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1Ljg0LDIzLjk2MmE4LjQ4OSw4LjQ4OSwwLDAsMC0xMi43ODMtNS43MTNBMTAuNzQ3LDEwLjc0NywwLDAsMCwyMi40MSwxMUMxMCwxMSwxMS4wOSwyMy45ODgsMTEuMDksMjMuOTg4QTEwLjI1NywxMC4yNTcsMCwwLDAsMTQuMjg1LDQ0SDIyVjI5aDlWNDRINDEuNWExMC40ODYsMTAuNDg2LDAsMCwwLDQuMzQtMjAuMDM4Wk00MS41LDQxSDM0VjI2SDE5VjQxSDE0LjI4NWE3LjI1Nyw3LjI1NywwLDAsMS0yLjI1OC0xNC4xNjJsMi4yNzktLjc2OC0uMjMyLTIuMzg5YzAtLjA0Mi0uMzc5LTQuMjM3LDIuMDEtNy4wMTNDMTcuNDYxLDE1LjA2OCwxOSwxNCwyMi40NjUsMTRjMi41MzUsMCw2LjQxNywyLjE4Niw3Ljk5NCw1LjMzOWwxLjE3NiwyLjg3MSwyLjQyNC0xLjMxOEE3LjYsNy42LDAsMCwxLDM3LjQ0OSwyMGE1LjU0Niw1LjU0NiwwLDAsMSw1LjQ0Myw0LjUxOGwuMjg4LDEuNTI4LDEuNDE1LjY0NkE3LjQ4Niw3LjQ4NiwwLDAsMSw0MS41LDQxWiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxOS4wMDYgNDQgMjIuMDA2IDQ0IDIyLjAwNiAyOSAzMS4wMDYgMjkgMzEuMDA2IDQ0IDM0LjAwNiA0NCAzNC4wMDYgMjYgMTkuMDA2IDI2IDE5LjAwNiA0NCIvPjwvc3ZnPg\u003d\u003d","category":"SaaS Applications","categoryDisplayName":"SaaS Applications","globalAccountId":"SA0225001210","tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","inventoryIds":[{"key":"SERVICE-2"},{"key":"SERVICE-134"}],"serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Portal_Service/1.0/en-US"}],"serviceCategories":[{"name":"Application Development and Automation"}],"regionInformation":[{"key":"cf-eu10-canary"},{"key":"cf-eu10"},{"key":"neo-eu1-canary"}]},"incidentTrackingComponent":"EP-CPP-OPS","modifiedDate":"Jul 11, 2023, 6:24:52 AM","createdDate":"Jul 11, 2023, 6:24:37 AM"}]}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:08 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 060e9f09-5669-4eac-69cf-3873181c8abf + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 391.5009ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 2a819ba6-e899-c09f-b0e6-8ff22df9ec0c + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:09 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0dff911a-62d7-4d35-6921-aa4e634f1724 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 324.0031ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 8768edab-fa6c-7dc8-50cd-29b2272910b3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:37:09 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 269370da-096b-4a0a-41ba-aee0639c63b0 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 199.4616ms + - id: 11 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 8768edab-fa6c-7dc8-50cd-29b2272910b3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"applications":[{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"mdo-one-mds-master","commercialAppName":"mdo-one-mds-master","appId":"mdo-one-mds-master!t46510","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Master Data Integration (Orchestration)","description":"Master data application that allows master data replication according to predetermined master data distribution models. SAP Master Data Orchestration can only be used in combination with the SAP Master Data Integration service.","shortDescription":"Orchestrate master data distribution","iconBase64":"PHN2ZyBpZD0icGxhY2Vob2xkZXIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDU2IDU2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzA1M2I3MDt9LmNscy0ye2ZpbGw6IzBhNmVkMTt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnBsYWNlaG9sZGVyPC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00Ni45NTMsMjAuNTg4YTQuMzYzLDQuMzYzLDAsMCwwLTEuODM3LS40NTksMy4yOTEsMy4yOTEsMCwwLDAtMy40LDMuMzc2LDQuMDg0LDQuMDg0LDAsMCwwLC45LDIuNjI1LDMuMDExLDMuMDExLDAsMCwwLDIuNSwxLjEyNiwzLjA4NSwzLjA4NSwwLDAsMCwxLjQ2Mi0uMzc1LDcuNTEyLDcuNTEyLDAsMCwwLDEuMzItLjg5MSwxMC4xMzUsMTAuMTM1LDAsMCwxLDEuMjI2LS44OTEsMi4yNywyLjI3LDAsMCwxLDEuMTc5LS4zNzVBMS41LDEuNSwwLDAsMSw1MiwyNi40MTJWMzkuMDcxYTIuODQzLDIuODQzLDAsMCwxLS41NzYsMiwyLjkyNiwyLjkyNiwwLDAsMS0yLjE1OS42MjZxLTIuOTIzLDAtNC4zODUuMDQ3dC0yLjEyMi4wNDdINDEuOTFhMy4zMjEsMy4zMjEsMCwwLDAsLjYuNjQ0LDUuNzE3LDUuNzE3LDAsMCwxLDIuMDc0LDQuMjIsNS4wNTQsNS4wNTQsMCwwLDEtMS42NSwzLjc1MUE1LjMzMSw1LjMzMSwwLDAsMSwzOS4xMTgsNTJhNS42LDUuNiwwLDAsMS00LjA1NS0xLjU0Nyw1LjA3MSw1LjA3MSwwLDAsMS0xLjYtMy44LDQuODYyLDQuODYyLDAsMCwxLC41MTktMi4zLDExLjQwNywxMS40MDcsMCwwLDEsMS41MTYtMS45NywyLjMzMywyLjMzMywwLDAsMCwuNDc1LS42OUgyOC4zM2ExLjM5NCwxLjM5NCwwLDAsMS0xLjA4NC0uNDY5LDIuMDExLDIuMDExLDAsMCwxLS41MTktMS4wMzJWMTUuOTA5YTEuOCwxLjgsMCwwLDEsLjQyNC0xLjE3MiwxLjQ0NCwxLjQ0NCwwLDAsMSwxLjE3OS0uNTE2aDcuNzMzYTEuOTQ5LDEuOTQ5LDAsMCwwLS4zNzctLjU2MmwtLjgtMS4xNzFhOC43ODgsOC43ODgsMCwwLDEtLjg0Ny0xLjUsNC43ODMsNC43ODMsMCwwLDEtLjQwNi0xLjY3NkE1LjM0OCw1LjM0OCwwLDAsMSwzOS4wODEsNGE1LjU1Miw1LjU1MiwwLDAsMSwzLjc5LDEuNTUzQTQuNjM1LDQuNjM1LDAsMCwxLDQ0LjU1LDkuMzQ1Yy0uMDI4LDEuNjg4LTIuMDIzLDQuMTI1LTIuMjQxLDQuMzc1YTEuNTc2LDEuNTc2LDAsMCwwLS4zLjVoNy4yNjFBMi42NSwyLjY1LDAsMCwxLDUyLDE2Ljg0N3Y0LjEyNnEwLDEuNzgyLTEuNywxLjc4MmExLjc0MywxLjc0MywwLDAsMS0xLjMxOS0uNTQ5QTEzLjE1MiwxMy4xNTIsMCwwLDAsNDYuOTUzLDIwLjU4OFpNMjguMzMsMzkuMDcxYS41ODIuNTgyLDAsMCwwLC42Ni42NTdoNy4xNjdhMS41NzksMS41NzksMCwwLDEsMS43OTIsMS43ODEsMi4yMzgsMi4yMzgsMCwwLDEtLjM4NywxLjI1NGMtLjI4My40MDgtLjU4Mi44MTMtLjksMS4yMTlzLS42MTMuODMtLjksMS4yNjZhMi41NDYsMi41NDYsMCwwLDAtLjQyNCwxLjQwNywzLjExNSwzLjExNSwwLDAsMCwxLjEzMSwyLjUzMiw0LjAyMiw0LjAyMiwwLDAsMCwyLjY0MS45MzgsMy43NzYsMy43NzYsMCwwLDAsMi40NTItLjkzOEEzLjExNSwzLjExNSwwLDAsMCw0Mi43LDQ2LjY1NWEyLjU0NiwyLjU0NiwwLDAsMC0uNDI0LTEuNDA3LDEyLjUxMywxMi41MTMsMCwwLDAtLjk0My0xLjI2NnEtLjUxOS0uNjA5LS45NDMtMS4xNzJhMi4yNjEsMi4yNjEsMCwwLDEtLjQ2Mi0xLjMsMS42MTQsMS42MTQsMCwwLDEsLjU2Ni0xLjMxMywyLjAwNiwyLjAwNiwwLDAsMSwxLjMyLS40NjhoNy40NXEuOTQyLDAsLjk0My0uNjU3VjI2LjUwNmExLjYwOSwxLjYwOSwwLDAsMC0uNzA3LjQyMnEtLjUxOS40MjEtMS4xNzkuODlhMTEuMDY5LDExLjA2OSwwLDAsMS0xLjUwOS44OTEsMy43NywzLjc3LDAsMCwxLTEuNy40MjIsNS40NSw1LjQ1LDAsMCwxLTMuNjc4LTEuNSw0LjI1LDQuMjUsMCwwLDEtMS4yMjYtMS44NzYsNy4wNTMsNy4wNTMsMCwwLDEtLjM3Ny0yLjI1LDUuMTY2LDUuMTY2LDAsMCwxLDEuNi0zLjcsNS4wMDksNS4wMDksMCwwLDEsMy42NzgtMS42NDEsNC44ODQsNC44ODQsMCwwLDEsMi4zNTcuNTE1QTcuNTg3LDcuNTg3LDAsMCwxLDQ5LjUxOCwyMC4yYy41MDYuNTg4Ljc4NS42MjQuNzg1LjYyNFYxNi44NDdhLjU0NC41NDQsMCwwLDAtLjMzMS0uNDY5LDEuNDIyLDEuNDIyLDAsMCwwLS43MDctLjE4N2gtNy40NWEyLjE0NywyLjE0NywwLDAsMS0xLjMyLS40MjIsMS41ODcsMS41ODcsMCwwLDEtLjU2Ni0xLjM2LDIuMDY3LDIuMDY3LDAsMCwxLC40MjUtMS4xNzJxLjQyNS0uNjA5Ljk0My0xLjIxOWExMi4yMjIsMTIuMjIyLDAsMCwwLC45NDMtMS4yNjYsMi41NDEsMi41NDEsMCwwLDAsLjQyNC0xLjQwNywzLjExOCwzLjExOCwwLDAsMC0xLjEzMi0yLjUzMiwzLjc3MSwzLjc3MSwwLDAsMC0yLjQ1MS0uOTM4LDMuODM5LDMuODM5LDAsMCwwLTIuNTk0LjkzOEEzLjE3OCwzLjE3OCwwLDAsMCwzNS40LDkuMzQ1YTIuNzc2LDIuNzc2LDAsMCwwLC40MjQsMS40NTQsMTAuMDM3LDEwLjAzNywwLDAsMCwuOSwxLjI2NWwuODQ5LDEuMjJhMi45MDksMi45MDksMCwwLDEsLjQ3MSwxLjEyNSwxLjYyNSwxLjYyNSwwLDAsMS0uNTE4LDEuMzYsMS45NTYsMS45NTYsMCwwLDEtMS4yNzQuNDIySDI5LjA4NHEtLjc1NSwwLS43NTQuNjU2Wm0yMy42NywwYTIuNywyLjcsMCwwLDEtLjU3NiwyLDIuNjc1LDIuNjc1LDAsMCwxLTIuMTU5LjYyNiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM3LjE0NywzMS4wNzRhMy4zMjgsMy4zMjgsMCwwLDAtMi44NzgtMS4zNiw0LjQ0NSw0LjQ0NSwwLDAsMC0yLjEyLjQyMiw2LjE4NSw2LjE4NSwwLDAsMC0xLjE3OC44OTFxLS41NjcuNDcxLTEuMTMyLjg5MWMtLjM3My4yNzgtLjgwOC43NzMtMS4zLjc3NkgyNi43MjdWMTYuNDZhMy4zMzUsMy4zMzUsMCwwLDAtLjM3Ny0xLjUsMS40MzYsMS40MzYsMCwwLDAtMS40MTUtLjc1MUgxOS4yNzdjLS41LDAtLjc1NC4yNTEtLjc1NC44NDRhMS45MDcsMS45MDcsMCwwLDAsLjM3NywxLjEyNiw5LjE0Niw5LjE0NiwwLDAsMCwuOTQzLDEuMTI1LDUuMzQxLDUuMzQxLDAsMCwxLC45NDMsMS4yNjYsMy4yMzYsMy4yMzYsMCwwLDEsLjM3NywxLjU0Nyw0LjQ1NCw0LjQ1NCwwLDAsMS0xLjI3MywzLjE0MSw0LjA0OSw0LjA0OSwwLDAsMS0zLjA2NSwxLjM2LDMuOSwzLjksMCwwLDEtMy4wMTgtMS4zNiw0LjU0Nyw0LjU0NywwLDAsMS0xLjIyNS0zLjE0MSwyLjkzNiwyLjkzNiwwLDAsMSwuNDI0LTEuNTQ3LDEzLjU0OCwxMy41NDgsMCwwLDEsLjktMS4zMTNjLjMxNC0uNDA2LjYyNy0uNzgxLjk0My0xLjEyNWExLjU4OCwxLjU4OCwwLDAsMCwuNDcxLTEuMDc5cTAtLjg0My0xLjAzNy0uODQ0SDUuN2ExLjU4NywxLjU4NywwLDAsMC0xLjIyNi41MTZBMS44MDYsMS44MDYsMCwwLDAsNCwxNS45OTFWMzkuOWExLjgsMS44LDAsMCwwLC40NzEsMS4yNjYsMS41ODMsMS41ODMsMCwwLDAsMS4yMjYuNTE2aDguNDg4Yy42OTEsMCwxLjAzNS4yMzgsMS4wMzcuNzVhMS41NDcsMS41NDcsMCwwLDEtLjQyMi45NDRMMTMuODA3LDQ0LjVhNi41NDksNi41NDksMCwwLDAtLjk5LDEuMjY2LDMuMTE2LDMuMTE2LDAsMCwwLS40MjQsMS42NDEsNC4yMzcsNC4yMzcsMCwwLDAsMS4zNjcsMy40Nyw0Ljc5MSw0Ljc5MSwwLDAsMCw2LjIyNC0uMDQ3LDQuNTE3LDQuNTE3LDAsMCwwLDEuNDQ1LTMuMjgzLDMuNjMxLDMuNjMxLDAsMCwwLS41MTQtMS44ODljLS4yMTUtLjMwNy0uOTc4LTEuMTU4LS45NzgtMS4xNThMMTguOSw0My4zNzNhMS40OTIsMS40OTIsMCwwLDEtLjM3Ny0uOTM4cTAtLjc1Ljg0OC0uNzVoNS42NThxMS4yMjYsMCwxLjctMS41VjM1LjM0MUgyOC4zNWMuNTU3LDAsMS4wNTQuNTE5LDEuNDg5LjhhMTIuMjkxLDEyLjI5MSwwLDAsMSwxLjIyNi44OTFxLjU2NS40NjksMS4xNzkuODlhMy43ODYsMy43ODYsMCwwLDAsMS44MTYuNDIyLDMuMjU2LDMuMjU2LDAsMCwwLDMuMDg3LTEuNDA2LDUuMTE5LDUuMTE5LDAsMCwwLC45OS0zQTQuNzg4LDQuNzg4LDAsMCwwLDM3LjE0NywzMS4wNzRaIi8+PC9zdmc+","category":"Extension Suite - Development Efficiency","categoryDisplayName":"Extension Suite - Development Efficiency","globalAccountId":"2342216e-8a13-4aab-894e-11e5280a90f9","tenantId":"ac38918a-900c-4d3c-92f3-398883d3c5e7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/docs/SAP_MASTER_DATA_INTEGRATION/8ce78b673ef04cc1bcfeb01c93ef7885/0bed505b149b4ec6af24bf503a45708b.html?locale\u003den-US\u0026version\u003dCLOUD"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"LOD-MDM-ORC"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"cias","commercialAppName":"cias","appId":"cias!b74866","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"planDescription":"Plan to use the Cloud Integration Automation Service - UI Application","additionalPlanFeatures":[],"displayName":"Cloud Integration Automation Service","description":"Cloud Integration Automation service provides you a guided workflow to integrate SAP cloud solutions to On-Premise and other SAP Cloud solutions. The guided workflow contains instructions for manual and automated tasks to enable a simpler and faster integration configuration setup","shortDescription":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","iconBase64":"PHN2ZyBpZD0iY2xvdWQtaW50ZWdyYXRpb24tYXV0b21hdGlvbi1zZXJ2aWNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEzLjc1LDQwYTYuNzIzLDYuNzIzLDAsMCwwLDYuNzUsNi43NUgyMlY0OUgyMC41YTguNzMsOC43MywwLDAsMS0zLjUxNi0uNyw5LjE1OCw5LjE1OCwwLDAsMS0yLjg0Ny0xLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSwxMi4yLDQzLjQ4LDguNzY3LDguNzY3LDAsMCwxLDExLjUsNDBsLjA3LTEuMTI1TDguOTY5LDQxLjlhMS4xLDEuMSwwLDAsMS0xLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAtMS41NDZsMy42NTYtNC4yMTlhMi4zODIsMi4zODIsMCwwLDEsMy4yMzQsMGwzLjcyNyw0LjIxOWEuOTY4Ljk2OCwwLDAsMSwwLDEuNTQ2LDEuMDM3LDEuMDM3LDAsMCwxLTEuNjE3LDBMMTMuODIsMzguODc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1LjI1LDE2QTYuNzIzLDYuNzIzLDAsMCwwLDM4LjUsOS4yNUgzN1Y3aDEuNWE4LjczLDguNzMsMCwwLDEsMy41MTYuNyw5LjE1OCw5LjE1OCwwLDAsMSwyLjg0NywxLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSw0Ni44LDEyLjUyLDguNzY3LDguNzY3LDAsMCwxLDQ3LjUsMTZsLS4wNywxLjEyNSwyLjYtMy4wMjNhMS4xLDEuMSwwLDAsMSwxLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAsMS41NDZsLTMuNjU2LDQuMjE5YTIuMzgyLDIuMzgyLDAsMCwxLTMuMjM0LDBsLTMuNzI3LTQuMjE5YS45NjguOTY4LDAsMCwxLDAtMS41NDYsMS4wMzcsMS4wMzcsMCwwLDEsMS42MTcsMGwyLjUzMiwzLjAyM1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy4yNSwzMy43NSw0NS43NSw0MGwtMTIuNSw2LjI1VjMzLjc1TTMyLjQwNiwzMWExLjM0OSwxLjM0OSwwLDAsMC0uOTg0LjQyMkExLjQ2MSwxLjQ2MSwwLDAsMCwzMSwzMi41VjQ3LjU5NGExLjMwNywxLjMwNywwLDAsMCwuNDIyLDEuMDMxLDEuNDM0LDEuNDM0LDAsMCwwLC45ODQuMzc1LDEuNjYxLDEuNjYxLDAsMCwwLC43NS0uMTg4TDQ4LjI1LDQxLjI2NmExLjQ0NCwxLjQ0NCwwLDAsMCwwLTIuNTMyTDMzLjE1NiwzMS4xODhhMS42NzQsMS42NzQsMCwwLDAtLjc1LS4xODhaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjcuNTQ0LDE0LjA3MWE0LjgsNC44LDAsMCwwLTcuMTgyLTMuMTExQTYuMDU5LDYuMDU5LDAsMCwwLDE0LjM2OCw3QzcuMzc1LDcsOCwxNC4wNzEsOCwxNC4wNzFBNS41ODIsNS41ODIsMCwwLDAsOS44MDUsMjVIMjUuMTE0QTUuODIxLDUuODIxLDAsMCwwLDMxLDE5LjI2Niw1LjY3NSw1LjY3NSwwLDAsMCwyNy41NDQsMTQuMDcxWm0tMi40Myw4LjM1OEg5LjgwNWEzLjA4MiwzLjA4MiwwLDAsMS0zLjEtMy4wMzUsMy42MzIsMy42MzIsMCwwLDEsMi4xNi0yLjg4YzEuNTc4LS42MjUsMi4wMTktLjM5NCwxLjgzNi0yLjY0OGE1LjE2Miw1LjE2MiwwLDAsMSwxLjA1My0zLjQ0NiwzLjU1NywzLjU1NywwLDAsMSwyLjYxOS0uODQ5LDMuMzQ4LDMuMzQ4LDAsMCwxLDMuNDgzLDIuMzE1Yy45NzksMi40MzksMS43OTMsMi43MDksMy4zNDYsMS40NjFhMi4zNzcsMi4zNzcsMCwwLDEsMS42MjItLjUxLDIuMSwyLjEsMCwwLDEsMi4wNzksMS43Yy4xNTksMS41ODYuMjcsMS40NjYsMS41MTIsMS44NzhhMy4xMjgsMy4xMjgsMCwwLDEsMS44OSwyLjg1NEEzLjE3NywzLjE3NywwLDAsMSwyNS4xMTQsMjIuNDI5WiIvPjwvc3ZnPg\u003d\u003d","globalAccountId":"772a1555-53bf-4bc2-b4ab-fbc18f972b0b","tenantId":"172e334b-4f52-490b-8c3c-c15c775ea815","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"true","propagateLocale":"true","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Cloud%2520Integration%2520Automation%2520Service/Latest/en-US"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10"},{"key":"cf-eu12"}],"CFService":{"name":"cias","description":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","metadata":{"displayName":"Cloud Integration Automation Service"},"plans":[{"technicalName":"standard","name":"standard","description":"Plan to use the Cloud Integration Automation Service - UI Application","metadata":{"bullets":[]}}]}},"incidentTrackingComponent":"BC-INS-CIT-RT"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"feature-flags-dashboard","commercialAppName":"feature-flags-dashboard","appId":"feature-flags!b18","planName":"dashboard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Feature Flags","description":"View and manage Feature Flags Service instances. Get information about flags status, usage and history. Also perform tasks, such as enabling, disabling, adding and removing flags.","category":"Foundation / Cross Services","categoryDisplayName":"Foundation / Cross Services","globalAccountId":"1aa6ae00-fe52-1993-65ff-3613845a7961","tenantId":"fflags-cf-eu12","quota":1,"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Foundation / Cross Services"}]}},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.dt.cpp.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"f1a85532-2d3b-40fd-bd30-d89242684c9e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"PortalApplication","commercialAppName":"PortalApplication","appId":"portal-cf-dt-approuter!t164","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Cloud Portal Service","description":"SAP Cloud Portal service lets you build digital experience portals for employees, customers, and partners. You can streamline access to business data so that your employees can execute their daily business tasks securely, from any device.","shortDescription":"Create role based, multi-channel sites to access business apps and content.","iconBase64":"PHN2ZyBpZD0icG9ydGFsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5wb3J0YWw8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1Ljg0LDIzLjk2MmE4LjQ4OSw4LjQ4OSwwLDAsMC0xMi43ODMtNS43MTNBMTAuNzQ3LDEwLjc0NywwLDAsMCwyMi40MSwxMUMxMCwxMSwxMS4wOSwyMy45ODgsMTEuMDksMjMuOTg4QTEwLjI1NywxMC4yNTcsMCwwLDAsMTQuMjg1LDQ0SDIyVjI5aDlWNDRINDEuNWExMC40ODYsMTAuNDg2LDAsMCwwLDQuMzQtMjAuMDM4Wk00MS41LDQxSDM0VjI2SDE5VjQxSDE0LjI4NWE3LjI1Nyw3LjI1NywwLDAsMS0yLjI1OC0xNC4xNjJsMi4yNzktLjc2OC0uMjMyLTIuMzg5YzAtLjA0Mi0uMzc5LTQuMjM3LDIuMDEtNy4wMTNDMTcuNDYxLDE1LjA2OCwxOSwxNCwyMi40NjUsMTRjMi41MzUsMCw2LjQxNywyLjE4Niw3Ljk5NCw1LjMzOWwxLjE3NiwyLjg3MSwyLjQyNC0xLjMxOEE3LjYsNy42LDAsMCwxLDM3LjQ0OSwyMGE1LjU0Niw1LjU0NiwwLDAsMSw1LjQ0Myw0LjUxOGwuMjg4LDEuNTI4LDEuNDE1LjY0NkE3LjQ4Niw3LjQ4NiwwLDAsMSw0MS41LDQxWiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxOS4wMDYgNDQgMjIuMDA2IDQ0IDIyLjAwNiAyOSAzMS4wMDYgMjkgMzEuMDA2IDQ0IDM0LjAwNiA0NCAzNC4wMDYgMjYgMTkuMDA2IDI2IDE5LjAwNiA0NCIvPjwvc3ZnPg\u003d\u003d","category":"SaaS Applications","categoryDisplayName":"SaaS Applications","globalAccountId":"SA0225001210","tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","inventoryIds":[{"key":"SERVICE-2"},{"key":"SERVICE-134"}],"serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Portal_Service/1.0/en-US"}],"serviceCategories":[{"name":"Application Development and Automation"}],"regionInformation":[{"key":"cf-eu10-canary"},{"key":"cf-eu10"},{"key":"neo-eu1-canary"}]},"incidentTrackingComponent":"EP-CPP-OPS","modifiedDate":"Jul 11, 2023, 6:24:52 AM","createdDate":"Jul 11, 2023, 6:24:37 AM"}]}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:09 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - de141465-114d-40de-65ca-0e24a0c2acf9 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 444.0147ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 175dae15-607a-e63d-f567-9ee004200663 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:10 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 72fd1881-abfb-4d64-576b-2e060c069626 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 381.6492ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - d0974504-837b-d465-313a-35cb91f3d1a9 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 06:37:10 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - f032ec2d-77a6-4d51-7089-2c2b721bde76 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 315.6278ms + - id: 14 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - d0974504-837b-d465-313a-35cb91f3d1a9 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?list + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"applications":[{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"mdo-one-mds-master","commercialAppName":"mdo-one-mds-master","appId":"mdo-one-mds-master!t46510","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Master Data Integration (Orchestration)","description":"Master data application that allows master data replication according to predetermined master data distribution models. SAP Master Data Orchestration can only be used in combination with the SAP Master Data Integration service.","shortDescription":"Orchestrate master data distribution","iconBase64":"PHN2ZyBpZD0icGxhY2Vob2xkZXIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDU2IDU2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzA1M2I3MDt9LmNscy0ye2ZpbGw6IzBhNmVkMTt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnBsYWNlaG9sZGVyPC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00Ni45NTMsMjAuNTg4YTQuMzYzLDQuMzYzLDAsMCwwLTEuODM3LS40NTksMy4yOTEsMy4yOTEsMCwwLDAtMy40LDMuMzc2LDQuMDg0LDQuMDg0LDAsMCwwLC45LDIuNjI1LDMuMDExLDMuMDExLDAsMCwwLDIuNSwxLjEyNiwzLjA4NSwzLjA4NSwwLDAsMCwxLjQ2Mi0uMzc1LDcuNTEyLDcuNTEyLDAsMCwwLDEuMzItLjg5MSwxMC4xMzUsMTAuMTM1LDAsMCwxLDEuMjI2LS44OTEsMi4yNywyLjI3LDAsMCwxLDEuMTc5LS4zNzVBMS41LDEuNSwwLDAsMSw1MiwyNi40MTJWMzkuMDcxYTIuODQzLDIuODQzLDAsMCwxLS41NzYsMiwyLjkyNiwyLjkyNiwwLDAsMS0yLjE1OS42MjZxLTIuOTIzLDAtNC4zODUuMDQ3dC0yLjEyMi4wNDdINDEuOTFhMy4zMjEsMy4zMjEsMCwwLDAsLjYuNjQ0LDUuNzE3LDUuNzE3LDAsMCwxLDIuMDc0LDQuMjIsNS4wNTQsNS4wNTQsMCwwLDEtMS42NSwzLjc1MUE1LjMzMSw1LjMzMSwwLDAsMSwzOS4xMTgsNTJhNS42LDUuNiwwLDAsMS00LjA1NS0xLjU0Nyw1LjA3MSw1LjA3MSwwLDAsMS0xLjYtMy44LDQuODYyLDQuODYyLDAsMCwxLC41MTktMi4zLDExLjQwNywxMS40MDcsMCwwLDEsMS41MTYtMS45NywyLjMzMywyLjMzMywwLDAsMCwuNDc1LS42OUgyOC4zM2ExLjM5NCwxLjM5NCwwLDAsMS0xLjA4NC0uNDY5LDIuMDExLDIuMDExLDAsMCwxLS41MTktMS4wMzJWMTUuOTA5YTEuOCwxLjgsMCwwLDEsLjQyNC0xLjE3MiwxLjQ0NCwxLjQ0NCwwLDAsMSwxLjE3OS0uNTE2aDcuNzMzYTEuOTQ5LDEuOTQ5LDAsMCwwLS4zNzctLjU2MmwtLjgtMS4xNzFhOC43ODgsOC43ODgsMCwwLDEtLjg0Ny0xLjUsNC43ODMsNC43ODMsMCwwLDEtLjQwNi0xLjY3NkE1LjM0OCw1LjM0OCwwLDAsMSwzOS4wODEsNGE1LjU1Miw1LjU1MiwwLDAsMSwzLjc5LDEuNTUzQTQuNjM1LDQuNjM1LDAsMCwxLDQ0LjU1LDkuMzQ1Yy0uMDI4LDEuNjg4LTIuMDIzLDQuMTI1LTIuMjQxLDQuMzc1YTEuNTc2LDEuNTc2LDAsMCwwLS4zLjVoNy4yNjFBMi42NSwyLjY1LDAsMCwxLDUyLDE2Ljg0N3Y0LjEyNnEwLDEuNzgyLTEuNywxLjc4MmExLjc0MywxLjc0MywwLDAsMS0xLjMxOS0uNTQ5QTEzLjE1MiwxMy4xNTIsMCwwLDAsNDYuOTUzLDIwLjU4OFpNMjguMzMsMzkuMDcxYS41ODIuNTgyLDAsMCwwLC42Ni42NTdoNy4xNjdhMS41NzksMS41NzksMCwwLDEsMS43OTIsMS43ODEsMi4yMzgsMi4yMzgsMCwwLDEtLjM4NywxLjI1NGMtLjI4My40MDgtLjU4Mi44MTMtLjksMS4yMTlzLS42MTMuODMtLjksMS4yNjZhMi41NDYsMi41NDYsMCwwLDAtLjQyNCwxLjQwNywzLjExNSwzLjExNSwwLDAsMCwxLjEzMSwyLjUzMiw0LjAyMiw0LjAyMiwwLDAsMCwyLjY0MS45MzgsMy43NzYsMy43NzYsMCwwLDAsMi40NTItLjkzOEEzLjExNSwzLjExNSwwLDAsMCw0Mi43LDQ2LjY1NWEyLjU0NiwyLjU0NiwwLDAsMC0uNDI0LTEuNDA3LDEyLjUxMywxMi41MTMsMCwwLDAtLjk0My0xLjI2NnEtLjUxOS0uNjA5LS45NDMtMS4xNzJhMi4yNjEsMi4yNjEsMCwwLDEtLjQ2Mi0xLjMsMS42MTQsMS42MTQsMCwwLDEsLjU2Ni0xLjMxMywyLjAwNiwyLjAwNiwwLDAsMSwxLjMyLS40NjhoNy40NXEuOTQyLDAsLjk0My0uNjU3VjI2LjUwNmExLjYwOSwxLjYwOSwwLDAsMC0uNzA3LjQyMnEtLjUxOS40MjEtMS4xNzkuODlhMTEuMDY5LDExLjA2OSwwLDAsMS0xLjUwOS44OTEsMy43NywzLjc3LDAsMCwxLTEuNy40MjIsNS40NSw1LjQ1LDAsMCwxLTMuNjc4LTEuNSw0LjI1LDQuMjUsMCwwLDEtMS4yMjYtMS44NzYsNy4wNTMsNy4wNTMsMCwwLDEtLjM3Ny0yLjI1LDUuMTY2LDUuMTY2LDAsMCwxLDEuNi0zLjcsNS4wMDksNS4wMDksMCwwLDEsMy42NzgtMS42NDEsNC44ODQsNC44ODQsMCwwLDEsMi4zNTcuNTE1QTcuNTg3LDcuNTg3LDAsMCwxLDQ5LjUxOCwyMC4yYy41MDYuNTg4Ljc4NS42MjQuNzg1LjYyNFYxNi44NDdhLjU0NC41NDQsMCwwLDAtLjMzMS0uNDY5LDEuNDIyLDEuNDIyLDAsMCwwLS43MDctLjE4N2gtNy40NWEyLjE0NywyLjE0NywwLDAsMS0xLjMyLS40MjIsMS41ODcsMS41ODcsMCwwLDEtLjU2Ni0xLjM2LDIuMDY3LDIuMDY3LDAsMCwxLC40MjUtMS4xNzJxLjQyNS0uNjA5Ljk0My0xLjIxOWExMi4yMjIsMTIuMjIyLDAsMCwwLC45NDMtMS4yNjYsMi41NDEsMi41NDEsMCwwLDAsLjQyNC0xLjQwNywzLjExOCwzLjExOCwwLDAsMC0xLjEzMi0yLjUzMiwzLjc3MSwzLjc3MSwwLDAsMC0yLjQ1MS0uOTM4LDMuODM5LDMuODM5LDAsMCwwLTIuNTk0LjkzOEEzLjE3OCwzLjE3OCwwLDAsMCwzNS40LDkuMzQ1YTIuNzc2LDIuNzc2LDAsMCwwLC40MjQsMS40NTQsMTAuMDM3LDEwLjAzNywwLDAsMCwuOSwxLjI2NWwuODQ5LDEuMjJhMi45MDksMi45MDksMCwwLDEsLjQ3MSwxLjEyNSwxLjYyNSwxLjYyNSwwLDAsMS0uNTE4LDEuMzYsMS45NTYsMS45NTYsMCwwLDEtMS4yNzQuNDIySDI5LjA4NHEtLjc1NSwwLS43NTQuNjU2Wm0yMy42NywwYTIuNywyLjcsMCwwLDEtLjU3NiwyLDIuNjc1LDIuNjc1LDAsMCwxLTIuMTU5LjYyNiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM3LjE0NywzMS4wNzRhMy4zMjgsMy4zMjgsMCwwLDAtMi44NzgtMS4zNiw0LjQ0NSw0LjQ0NSwwLDAsMC0yLjEyLjQyMiw2LjE4NSw2LjE4NSwwLDAsMC0xLjE3OC44OTFxLS41NjcuNDcxLTEuMTMyLjg5MWMtLjM3My4yNzgtLjgwOC43NzMtMS4zLjc3NkgyNi43MjdWMTYuNDZhMy4zMzUsMy4zMzUsMCwwLDAtLjM3Ny0xLjUsMS40MzYsMS40MzYsMCwwLDAtMS40MTUtLjc1MUgxOS4yNzdjLS41LDAtLjc1NC4yNTEtLjc1NC44NDRhMS45MDcsMS45MDcsMCwwLDAsLjM3NywxLjEyNiw5LjE0Niw5LjE0NiwwLDAsMCwuOTQzLDEuMTI1LDUuMzQxLDUuMzQxLDAsMCwxLC45NDMsMS4yNjYsMy4yMzYsMy4yMzYsMCwwLDEsLjM3NywxLjU0Nyw0LjQ1NCw0LjQ1NCwwLDAsMS0xLjI3MywzLjE0MSw0LjA0OSw0LjA0OSwwLDAsMS0zLjA2NSwxLjM2LDMuOSwzLjksMCwwLDEtMy4wMTgtMS4zNiw0LjU0Nyw0LjU0NywwLDAsMS0xLjIyNS0zLjE0MSwyLjkzNiwyLjkzNiwwLDAsMSwuNDI0LTEuNTQ3LDEzLjU0OCwxMy41NDgsMCwwLDEsLjktMS4zMTNjLjMxNC0uNDA2LjYyNy0uNzgxLjk0My0xLjEyNWExLjU4OCwxLjU4OCwwLDAsMCwuNDcxLTEuMDc5cTAtLjg0My0xLjAzNy0uODQ0SDUuN2ExLjU4NywxLjU4NywwLDAsMC0xLjIyNi41MTZBMS44MDYsMS44MDYsMCwwLDAsNCwxNS45OTFWMzkuOWExLjgsMS44LDAsMCwwLC40NzEsMS4yNjYsMS41ODMsMS41ODMsMCwwLDAsMS4yMjYuNTE2aDguNDg4Yy42OTEsMCwxLjAzNS4yMzgsMS4wMzcuNzVhMS41NDcsMS41NDcsMCwwLDEtLjQyMi45NDRMMTMuODA3LDQ0LjVhNi41NDksNi41NDksMCwwLDAtLjk5LDEuMjY2LDMuMTE2LDMuMTE2LDAsMCwwLS40MjQsMS42NDEsNC4yMzcsNC4yMzcsMCwwLDAsMS4zNjcsMy40Nyw0Ljc5MSw0Ljc5MSwwLDAsMCw2LjIyNC0uMDQ3LDQuNTE3LDQuNTE3LDAsMCwwLDEuNDQ1LTMuMjgzLDMuNjMxLDMuNjMxLDAsMCwwLS41MTQtMS44ODljLS4yMTUtLjMwNy0uOTc4LTEuMTU4LS45NzgtMS4xNThMMTguOSw0My4zNzNhMS40OTIsMS40OTIsMCwwLDEtLjM3Ny0uOTM4cTAtLjc1Ljg0OC0uNzVoNS42NThxMS4yMjYsMCwxLjctMS41VjM1LjM0MUgyOC4zNWMuNTU3LDAsMS4wNTQuNTE5LDEuNDg5LjhhMTIuMjkxLDEyLjI5MSwwLDAsMSwxLjIyNi44OTFxLjU2NS40NjksMS4xNzkuODlhMy43ODYsMy43ODYsMCwwLDAsMS44MTYuNDIyLDMuMjU2LDMuMjU2LDAsMCwwLDMuMDg3LTEuNDA2LDUuMTE5LDUuMTE5LDAsMCwwLC45OS0zQTQuNzg4LDQuNzg4LDAsMCwwLDM3LjE0NywzMS4wNzRaIi8+PC9zdmc+","category":"Extension Suite - Development Efficiency","categoryDisplayName":"Extension Suite - Development Efficiency","globalAccountId":"2342216e-8a13-4aab-894e-11e5280a90f9","tenantId":"ac38918a-900c-4d3c-92f3-398883d3c5e7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/docs/SAP_MASTER_DATA_INTEGRATION/8ce78b673ef04cc1bcfeb01c93ef7885/0bed505b149b4ec6af24bf503a45708b.html?locale\u003den-US\u0026version\u003dCLOUD"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"LOD-MDM-ORC"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"cias","commercialAppName":"cias","appId":"cias!b74866","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"planDescription":"Plan to use the Cloud Integration Automation Service - UI Application","additionalPlanFeatures":[],"displayName":"Cloud Integration Automation Service","description":"Cloud Integration Automation service provides you a guided workflow to integrate SAP cloud solutions to On-Premise and other SAP Cloud solutions. The guided workflow contains instructions for manual and automated tasks to enable a simpler and faster integration configuration setup","shortDescription":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","iconBase64":"PHN2ZyBpZD0iY2xvdWQtaW50ZWdyYXRpb24tYXV0b21hdGlvbi1zZXJ2aWNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEzLjc1LDQwYTYuNzIzLDYuNzIzLDAsMCwwLDYuNzUsNi43NUgyMlY0OUgyMC41YTguNzMsOC43MywwLDAsMS0zLjUxNi0uNyw5LjE1OCw5LjE1OCwwLDAsMS0yLjg0Ny0xLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSwxMi4yLDQzLjQ4LDguNzY3LDguNzY3LDAsMCwxLDExLjUsNDBsLjA3LTEuMTI1TDguOTY5LDQxLjlhMS4xLDEuMSwwLDAsMS0xLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAtMS41NDZsMy42NTYtNC4yMTlhMi4zODIsMi4zODIsMCwwLDEsMy4yMzQsMGwzLjcyNyw0LjIxOWEuOTY4Ljk2OCwwLDAsMSwwLDEuNTQ2LDEuMDM3LDEuMDM3LDAsMCwxLTEuNjE3LDBMMTMuODIsMzguODc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1LjI1LDE2QTYuNzIzLDYuNzIzLDAsMCwwLDM4LjUsOS4yNUgzN1Y3aDEuNWE4LjczLDguNzMsMCwwLDEsMy41MTYuNyw5LjE1OCw5LjE1OCwwLDAsMSwyLjg0NywxLjkzNEE4Ljk2OCw4Ljk2OCwwLDAsMSw0Ni44LDEyLjUyLDguNzY3LDguNzY3LDAsMCwxLDQ3LjUsMTZsLS4wNywxLjEyNSwyLjYtMy4wMjNhMS4xLDEuMSwwLDAsMSwxLjYxNywwLDEuMDI1LDEuMDI1LDAsMCwxLDAsMS41NDZsLTMuNjU2LDQuMjE5YTIuMzgyLDIuMzgyLDAsMCwxLTMuMjM0LDBsLTMuNzI3LTQuMjE5YS45NjguOTY4LDAsMCwxLDAtMS41NDYsMS4wMzcsMS4wMzcsMCwwLDEsMS42MTcsMGwyLjUzMiwzLjAyM1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy4yNSwzMy43NSw0NS43NSw0MGwtMTIuNSw2LjI1VjMzLjc1TTMyLjQwNiwzMWExLjM0OSwxLjM0OSwwLDAsMC0uOTg0LjQyMkExLjQ2MSwxLjQ2MSwwLDAsMCwzMSwzMi41VjQ3LjU5NGExLjMwNywxLjMwNywwLDAsMCwuNDIyLDEuMDMxLDEuNDM0LDEuNDM0LDAsMCwwLC45ODQuMzc1LDEuNjYxLDEuNjYxLDAsMCwwLC43NS0uMTg4TDQ4LjI1LDQxLjI2NmExLjQ0NCwxLjQ0NCwwLDAsMCwwLTIuNTMyTDMzLjE1NiwzMS4xODhhMS42NzQsMS42NzQsMCwwLDAtLjc1LS4xODhaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjcuNTQ0LDE0LjA3MWE0LjgsNC44LDAsMCwwLTcuMTgyLTMuMTExQTYuMDU5LDYuMDU5LDAsMCwwLDE0LjM2OCw3QzcuMzc1LDcsOCwxNC4wNzEsOCwxNC4wNzFBNS41ODIsNS41ODIsMCwwLDAsOS44MDUsMjVIMjUuMTE0QTUuODIxLDUuODIxLDAsMCwwLDMxLDE5LjI2Niw1LjY3NSw1LjY3NSwwLDAsMCwyNy41NDQsMTQuMDcxWm0tMi40Myw4LjM1OEg5LjgwNWEzLjA4MiwzLjA4MiwwLDAsMS0zLjEtMy4wMzUsMy42MzIsMy42MzIsMCwwLDEsMi4xNi0yLjg4YzEuNTc4LS42MjUsMi4wMTktLjM5NCwxLjgzNi0yLjY0OGE1LjE2Miw1LjE2MiwwLDAsMSwxLjA1My0zLjQ0NiwzLjU1NywzLjU1NywwLDAsMSwyLjYxOS0uODQ5LDMuMzQ4LDMuMzQ4LDAsMCwxLDMuNDgzLDIuMzE1Yy45NzksMi40MzksMS43OTMsMi43MDksMy4zNDYsMS40NjFhMi4zNzcsMi4zNzcsMCwwLDEsMS42MjItLjUxLDIuMSwyLjEsMCwwLDEsMi4wNzksMS43Yy4xNTksMS41ODYuMjcsMS40NjYsMS41MTIsMS44NzhhMy4xMjgsMy4xMjgsMCwwLDEsMS44OSwyLjg1NEEzLjE3NywzLjE3NywwLDAsMSwyNS4xMTQsMjIuNDI5WiIvPjwvc3ZnPg\u003d\u003d","globalAccountId":"772a1555-53bf-4bc2-b4ab-fbc18f972b0b","tenantId":"172e334b-4f52-490b-8c3c-c15c775ea815","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"true","propagateLocale":"true","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Cloud%2520Integration%2520Automation%2520Service/Latest/en-US"}],"serviceCategories":[{"name":"Integration"}],"regionInformation":[{"key":"cf-eu10"},{"key":"cf-eu12"}],"CFService":{"name":"cias","description":"Provides guided workflow to integrate SAP Cloud and On-Premise solutions","metadata":{"displayName":"Cloud Integration Automation Service"},"plans":[{"technicalName":"standard","name":"standard","description":"Plan to use the Cloud Integration Automation Service - UI Application","metadata":{"bullets":[]}}]}},"incidentTrackingComponent":"BC-INS-CIT-RT"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.content-agent.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"60c44e9d-2696-4b8f-91ea-9efcd3c23ffb","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"content-agent-ui","commercialAppName":"content-agent-ui","appId":"cas-ui-xsuaa-prod!t216","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Content Agent","description":"Content Agent UI","category":"Integration Suite","categoryDisplayName":"Integration Suite","globalAccountId":"d39f31d1-c84d-448e-bc18-d3571e6e2d6c","tenantId":"3374b000-ef2f-4a11-9fb5-a1636dc1c480","quota":1,"labels":{"test":["label"]},"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Integration Suite"}]},"modifiedDate":"Jul 11, 2023, 5:43:09 AM","createdDate":"Jul 11, 2023, 5:43:06 AM"},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"feature-flags-dashboard","commercialAppName":"feature-flags-dashboard","appId":"feature-flags!b18","planName":"dashboard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Feature Flags","description":"View and manage Feature Flags Service instances. Get information about flags status, usage and history. Also perform tasks, such as enabling, disabling, adding and removing flags.","category":"Foundation / Cross Services","categoryDisplayName":"Foundation / Cross Services","globalAccountId":"1aa6ae00-fe52-1993-65ff-3613845a7961","tenantId":"fflags-cf-eu12","quota":1,"customerDeveloped":false,"applicationCoordinates":{"propagateTheme":false,"serviceCategories":[{"name":"Foundation / Cross Services"}]}},{"state":"NOT_SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG"},{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.dt.cpp.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"f1a85532-2d3b-40fd-bd30-d89242684c9e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"PortalApplication","commercialAppName":"PortalApplication","appId":"portal-cf-dt-approuter!t164","planName":"standard","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Cloud Portal Service","description":"SAP Cloud Portal service lets you build digital experience portals for employees, customers, and partners. You can streamline access to business data so that your employees can execute their daily business tasks securely, from any device.","shortDescription":"Create role based, multi-channel sites to access business apps and content.","iconBase64":"PHN2ZyBpZD0icG9ydGFsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA1NiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwNTNiNzA7fS5jbHMtMntmaWxsOiMwYTZlZDE7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5wb3J0YWw8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ1Ljg0LDIzLjk2MmE4LjQ4OSw4LjQ4OSwwLDAsMC0xMi43ODMtNS43MTNBMTAuNzQ3LDEwLjc0NywwLDAsMCwyMi40MSwxMUMxMCwxMSwxMS4wOSwyMy45ODgsMTEuMDksMjMuOTg4QTEwLjI1NywxMC4yNTcsMCwwLDAsMTQuMjg1LDQ0SDIyVjI5aDlWNDRINDEuNWExMC40ODYsMTAuNDg2LDAsMCwwLDQuMzQtMjAuMDM4Wk00MS41LDQxSDM0VjI2SDE5VjQxSDE0LjI4NWE3LjI1Nyw3LjI1NywwLDAsMS0yLjI1OC0xNC4xNjJsMi4yNzktLjc2OC0uMjMyLTIuMzg5YzAtLjA0Mi0uMzc5LTQuMjM3LDIuMDEtNy4wMTNDMTcuNDYxLDE1LjA2OCwxOSwxNCwyMi40NjUsMTRjMi41MzUsMCw2LjQxNywyLjE4Niw3Ljk5NCw1LjMzOWwxLjE3NiwyLjg3MSwyLjQyNC0xLjMxOEE3LjYsNy42LDAsMCwxLDM3LjQ0OSwyMGE1LjU0Niw1LjU0NiwwLDAsMSw1LjQ0Myw0LjUxOGwuMjg4LDEuNTI4LDEuNDE1LjY0NkE3LjQ4Niw3LjQ4NiwwLDAsMSw0MS41LDQxWiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxOS4wMDYgNDQgMjIuMDA2IDQ0IDIyLjAwNiAyOSAzMS4wMDYgMjkgMzEuMDA2IDQ0IDM0LjAwNiA0NCAzNC4wMDYgMjYgMTkuMDA2IDI2IDE5LjAwNiA0NCIvPjwvc3ZnPg\u003d\u003d","category":"SaaS Applications","categoryDisplayName":"SaaS Applications","globalAccountId":"SA0225001210","tenantId":"6897360f-7e35-411b-87e7-f3b501f4f9a7","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","inventoryIds":[{"key":"SERVICE-2"},{"key":"SERVICE-134"}],"serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/product/Portal_Service/1.0/en-US"}],"serviceCategories":[{"name":"Application Development and Automation"}],"regionInformation":[{"key":"cf-eu10-canary"},{"key":"cf-eu10"},{"key":"neo-eu1-canary"}]},"incidentTrackingComponent":"EP-CPP-OPS","modifiedDate":"Jul 11, 2023, 6:24:52 AM","createdDate":"Jul 11, 2023, 6:24:37 AM"}]}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:10 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0e962d4a-bff4-47fe-4390-6a75168e21b9 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 379.9971ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 88ca68cf-ef3f-d619-7188-af8bff30eab7 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 06:37:11 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 132d071a-1977-441b-5cab-8c08df2aceb1 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 353.7824ms diff --git a/internal/provider/fixtures/resource_subaccount_subscription.yaml b/internal/provider/fixtures/resource_subaccount_subscription.yaml new file mode 100644 index 00000000..aefd63d6 --- /dev/null +++ b/internal/provider/fixtures/resource_subaccount_subscription.yaml @@ -0,0 +1,1331 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - a65320f1-0794-6b8c-ca61-2d3d0b4cb718 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:08:58 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f9ca074d-7041-4bef-5d5e-144067538ba8 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 535.7896ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 7a03b35c-ff38-ea9f-a59b-84bb9504caf5 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:08:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 42885e70-022a-4bb2-73fa-e0cb9b8d37d7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 423.6474ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - bd8106f8-44d3-52be-54b9-e9a3e78348ae + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:08:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6cb7eaf7-31e4-4fb1-78ab-e38e3fbfe99d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 387.5971ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionParams":"{}"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - d45e7be3-504a-7a2e-c1ab-a4e3eba0407b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:00 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 6587c108-eda7-4795-67e0-55cf0e3c42f7 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 245.8541ms + - id: 4 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionParams":"{}"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - d45e7be3-504a-7a2e-c1ab-a4e3eba0407b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"jobId":"10781913"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:00 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 88c5dcf3-536f-47b8-7ac0-612c22a5f8ea + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 701.7155ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 487aabee-ad84-adf3-f1c4-f3b2f8340ab3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:06 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 41d69079-05bf-438c-7e0b-4695100274cd + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 229.6197ms + - id: 6 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 487aabee-ad84-adf3-f1c4-f3b2f8340ab3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.auditlog-viewer.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"7a8e204c-e84e-44e2-92d4-af41b1f7ac3e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG","modifiedDate":"Jul 11, 2023, 10:09:02 AM","createdDate":"Jul 11, 2023, 10:09:00 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:06 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 25532642-5399-459e-6498-12ba6a004c66 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 465.4716ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - c35b00dc-cafb-7d61-448b-d5e909f1fc99 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 858dc3a9-1d67-4df5-69ed-fc763a722b4f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 444.4698ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e327b4fc-a98b-8de0-78f0-e7959abd11ea + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:07 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 3654162e-951f-44e7-6816-ac95e9090536 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 383.2063ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 05a0b1a5-af75-7859-c528-61c0dcbbeaee + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:07 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - a8e05436-f441-43c4-7dd6-5b1bd8318111 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 179.4715ms + - id: 10 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 05a0b1a5-af75-7859-c528-61c0dcbbeaee + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.auditlog-viewer.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"7a8e204c-e84e-44e2-92d4-af41b1f7ac3e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG","modifiedDate":"Jul 11, 2023, 10:09:02 AM","createdDate":"Jul 11, 2023, 10:09:00 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:08 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b7a46443-724c-4088-5f79-f00270f93261 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 437.3518ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - b5d7d361-5858-fbbc-e3c6-1d24de917036 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:08 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 2a946408-8d9b-474f-6f93-7adf856a3e4f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 385.9255ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 488adb66-3f7b-0f70-54b3-6d94b826e24d + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:09 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c944a4f2-e309-4ac1-609d-41acb7fcb059 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 359.9533ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 823c7205-faca-494f-aed6-bc6333927fc2 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:09 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - b887f975-fe7c-4a44-74e7-e2393797233e + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 257.3992ms + - id: 14 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 823c7205-faca-494f-aed6-bc6333927fc2 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.auditlog-viewer.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"7a8e204c-e84e-44e2-92d4-af41b1f7ac3e","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG","modifiedDate":"Jul 11, 2023, 10:09:02 AM","createdDate":"Jul 11, 2023, 10:09:00 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:09 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6d486585-1d72-4fb1-518a-2c61683caace + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 417.664ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 6bd31569-244e-498a-e615-a702b8284219 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:10 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 52aca4fa-abaf-45dc-40a6-6946b02ed2ed + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 350.4341ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 46a0ccc3-3cc9-1b78-a6dd-e672f3ff45c5 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:10 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6d2cd4c4-bb57-40cd-5896-eae83d93e0fc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 365.7261ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","confirm":"true","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 262e7c12-be53-1345-81bb-9c9e826fb612 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:10 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 1c761490-9688-434d-706a-9688513e86dc + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 180.3519ms + - id: 18 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","confirm":"true","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 262e7c12-be53-1345-81bb-9c9e826fb612 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"jobId":"10781940"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:11 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eace9bdd-926c-4e45-7166-bf330c9a9556 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 282.0444ms diff --git a/internal/provider/fixtures/resource_subaccount_subscription_import_error.yaml b/internal/provider/fixtures/resource_subaccount_subscription_import_error.yaml new file mode 100644 index 00000000..31c9f5df --- /dev/null +++ b/internal/provider/fixtures/resource_subaccount_subscription_import_error.yaml @@ -0,0 +1,1177 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - fb7971ae-f328-a98e-4d8a-94166879b832 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:12 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - de451aea-51e8-4018-417f-662f2a028127 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 363.1631ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 30fa41a6-f52b-c0c2-234b-747eaf10dc75 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:12 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c33bc2c6-7bd9-41b9-64a2-2a9383c59d4d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 405.1381ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 926d715b-ac3e-2440-f86b-57eae9499896 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:12 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a58ff269-0329-4dce-7eca-d3dd861f9232 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 335.9976ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionParams":"{}"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4590525a-8da6-05d2-7d31-99ef7f067407 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:13 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - e694296a-a0dc-4a20-4764-3845877d999d + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 184.7237ms + - id: 4 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionParams":"{}"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4590525a-8da6-05d2-7d31-99ef7f067407 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?subscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"jobId":"10781946"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:13 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 76f20664-343f-4592-5aa2-e0432405a77c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 505.7785ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - eef51c60-c3ee-7b2d-e67c-e5dc52e66ef3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:18 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 9ebfecea-e84e-4143-7a53-1e80ace542f9 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 160.0657ms + - id: 6 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - eef51c60-c3ee-7b2d-e67c-e5dc52e66ef3 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.auditlog-viewer.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"62b25fe1-45d1-473a-885d-b728a5fc4672","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG","modifiedDate":"Jul 11, 2023, 10:09:15 AM","createdDate":"Jul 11, 2023, 10:09:13 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1fbe6d58-0ccc-4bd7-4afe-4f6bdf717d77 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 1.1040848s + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 5b7e652a-5de0-4dfc-a2e1-079f3a1e76ae + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bc68157f-2113-4c08-4c9e-1fc50fd36d47 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 356.9127ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 97890742-e2e9-9520-dc74-b34a820dce5f + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:20 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 6e93174f-1229-408e-6fa7-c247896fe926 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 409.8643ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 657acd56-00b7-2321-4bf2-5e594e80cf1b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:21 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - e8a43c15-33aa-4928-7f4b-64d26895c9e1 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 188.7334ms + - id: 10 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 116 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","planName":"free","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 657acd56-00b7-2321-4bf2-5e594e80cf1b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subscription?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"subscriptionUrl":"https://integration-test-services-4ie3yr1a.auditlog-viewer.cfapps.eu12.hana.ondemand.com","subscribedTenantId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscribedSubaccountId":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subscriptionGUID":"62b25fe1-45d1-473a-885d-b728a5fc4672","state":"SUBSCRIBED","authenticationProvider":"XSUAA","appName":"auditlog-viewer","commercialAppName":"auditlog-viewer","appId":"auditlog-viewer!t49","planName":"free","supportsPlanUpdates":false,"supportsParametersUpdates":false,"displayName":"Audit Log Viewer Service","description":"SAP Audit Log Viewer service for SAP BTP helps to view and manage audit logs.","shortDescription":"View and manage audit logs.","iconBase64":"PHN2ZyBpZD0iYXVkaXRsb2ctbWFuYWdlbWVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTYgNTYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNWE3YTk0O30uY2xzLTJ7ZmlsbDojMDA5MmQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXVkaXRsb2ctbWFuYWdlbWVudDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDAuNjA4LDEwLjg0M0EyLjk3LDIuOTcsMCwwLDAsMzguNSwxMEgzMi4yMThhNS4yNzYsNS4yNzYsMCwwLDAtMS4zNTktMS45MjEsNC4xLDQuMSwwLDAsMC0yLjItLjk4NSw1Ljg1Miw1Ljg1MiwwLDAsMC0yLjEwOS0yLjI0OUE1LjY2MSw1LjY2MSwwLDAsMCwyMy41LDRhNS45LDUuOSwwLDAsMC0zLjA5My44NDQsNS43MjEsNS43MjEsMCwwLDAtMi4xNTYsMi4yNDksNC4yNzEsNC4yNzEsMCwwLDAtMi4xNTYuOTg1QTQuMjIyLDQuMjIyLDAsMCwwLDE0Ljc4MywxMEg4LjVhMi44ODgsMi44ODgsMCwwLDAtMywzVjQ5YTIuODg4LDIuODg4LDAsMCwwLDMsM2gyN1Y0OUg4LjVWMTNoNi4yODFhNi41MTYsNi41MTYsMCwwLDAsLjkzNywxLjg3NUEzLjAxOCwzLjAxOCwwLDAsMCwxOC4xNTcsMTZIMjguODQ0YTIuOTMsMi45MywwLDAsMCwyLjM0My0xLjEyNUE0LjY0OCw0LjY0OCwwLDAsMCwzMi4yMTgsMTNIMzguNVYyNWgzVjEzQTIuODQ2LDIuODQ2LDAsMCwwLDQwLjYwOCwxMC44NDNaTTI4LDEzSDE5YTEuMzI1LDEuMzI1LDAsMCwxLTEuNS0xLjVBMS4zMjUsMS4zMjUsMCwwLDEsMTksMTBoMS41YTIuODg2LDIuODg2LDAsMCwxLDMtMywyLjk3LDIuOTcsMCwwLDEsMi4xMS44NDNBMi44NTEsMi44NTEsMCwwLDEsMjYuNSwxMEgyOGExLjMyNywxLjMyNywwLDAsMSwxLjUsMS41QTEuMzI2LDEuMzI2LDAsMCwxLDI4LDEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTM3LjkyOCwzMy44NzdjLS4xMDYtLjIzLS4yMzEtLjQ2OS0uMzcyLS43MTdsMS4yNzUtMS4yNzRMMzcuNjEsMzAuNjY1bC0xLjI3NSwxLjI3NEE2LjQ2Myw2LjQ2MywwLDAsMCwzNC44LDMxLjNWMjkuNUgzMy4xdjEuOGE3Ljc0Nyw3Ljc0NywwLDAsMC0xLjQzNC42MzdsLTEuMzI3LTEuMjc0LTEuMTY4LDEuMjIxLDEuMjc0LDEuMjc0YTMuMzc1LDMuMzc1LDAsMCwwLS42MzcsMS40ODdIMjh2MS43aDEuOGEzLjUyLDMuNTIsMCwwLDAsLjYzNywxLjQ4NkwyOS4xNjgsMzkuMTZsMS4xNjgsMS4xNjgsMS4zMjctMS4yNzRhMy41MDksMy41MDksMCwwLDAsMS40MzQuNjM2VjQxLjVoMS43VjM5LjY5YTQuNDU0LDQuNDU0LDAsMCwwLDEuNTM5LS42MzZsMS4yNzUsMS4yNzQsMS4yMjEtMS4xNjgtMS4yNzUtMS4zMjhhNS44NjksNS44NjksMCwwLDAsLjYzOC0xLjQ4Nkg0MHYtMS43aC0xLjhBNC41MDgsNC41MDgsMCwwLDAsMzcuOTI4LDMzLjg3N1pNMzUuOCwzNy4zMjhhMi41LDIuNSwwLDAsMS0zLjYxLDAsMi41NDMsMi41NDMsMCwwLDEtLjc0My0xLjgzMiwyLjM2OSwyLjM2OSwwLDAsMSwuNzQzLTEuNzc4LDIuNjMsMi42MywwLDAsMSwzLjYxLDAsMi4zNzQsMi4zNzQsMCwwLDEsLjc0NCwxLjc3OEEyLjU0OCwyLjU0OCwwLDAsMSwzNS44LDM3LjMyOFoiLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMTUuMDg2IDIyLjU4MiAxMy4yNTQgMjAuNzUgMTEuNTAyIDIyLjU4MiAxNS4wODYgMjYuMTY1IDE2LjkxNyAyNC4zMzQgMjAuNTAxIDIwLjc1IDE4LjY2OSAxOC45OTggMTUuMDg2IDIyLjU4MiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxNS4wODYgMzQuNTg2IDEzLjI1NCAzMi43NTQgMTEuNTAyIDM0LjU4NiAxNS4wODYgMzguMTcgMTYuOTE3IDM2LjMzOCAyMC41MDEgMzIuNzU0IDE4LjY2OSAzMS4wMDIgMTUuMDg2IDM0LjU4NiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQ5LjkzNyw0OS4zODRsLTcuNjYtNy42NmExMC4xMTIsMTAuMTEyLDAsMCwwLDEuNTg4LTIuODk1LDEwLjMwOCwxMC4zMDgsMCwwLDAtLjI4LTcuNDI3LDEwLjU0OSwxMC41NDksMCwwLDAtNS41NTgtNS41NTgsMTAuMjQsMTAuMjQsMCwwLDAtOC4xMjgsMEExMC41NDksMTAuNTQ5LDAsMCwwLDI0LjM0MSwzMS40YTEwLjIzNywxMC4yMzcsMCwwLDAsMCw4LjEyN0ExMC41NDksMTAuNTQ5LDAsMCwwLDI5LjksNDUuMDg3YTkuOTg3LDkuOTg3LDAsMCwwLDQuMDY0Ljg0MSwxMC4zMjEsMTAuMzIxLDAsMCwwLDYuMjU5LTIuMDU1bDcuNjYsNy42NmExLjM2NCwxLjM2NCwwLDAsMCwyLjA1NSwwQTEuMzEsMS4zMSwwLDAsMCw0OS45MzcsNDkuMzg0Wm0tMTAuNy04LjY0MWE3LjQ0MSw3LjQ0MSwwLDAsMS0xMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLTEwLjU1Niw3LjQ0Myw3LjQ0MywwLDAsMSwxMC41NTYsMCw3LjQ0Myw3LjQ0MywwLDAsMSwwLDEwLjU1NloiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNSwyMy41aDlhMS41LDEuNSwwLDEsMCwwLTNIMjVhMS41LDEuNSwwLDEsMCwwLDNaIi8+PC9zdmc+","globalAccountId":"0b50832a-69bb-473e-b2ba-f37300d545db","tenantId":"cf-eu12-auditlog-viewer","quota":1,"customerDeveloped":false,"applicationCoordinates":{"iconFormat":"image/svg+xml","serviceDescription":[{"linkCategory":"documentation","title":"Documentation","propagateTheme":"false","descriptionCategory":"documentation","linkURL":"https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e3baa5f1a0c64c44aac8ab3ea3d1b500.html"}],"serviceCategories":[{"name":"Data and Analytics"}],"regionInformation":[{"key":"cf-eu10-canary"}]},"incidentTrackingComponent":"BC-NEO-AUDITLOG","modifiedDate":"Jul 11, 2023, 10:09:15 AM","createdDate":"Jul 11, 2023, 10:09:13 AM"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:22 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 627a3cc0-d86d-4224-655a-d1c96656d86c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 1.1614172s + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 845c0d87-22fb-e70b-f575-ab0fef9fc080 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:22 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - fb50bfd6-28c9-4a79-4326-16c3ab8d8ee4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 372.9898ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 3ba4b293-eb18-f53e-4d9e-0ed8cfa3bf03 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7652d02c-e082-42c3-5b8f-1d18ce5a0098 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 342.4541ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - aa756e60-8f00-ac15-4cbe-b5870c7b98df + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:23 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 070418b4-2965-4e63-434e-0a7ea8f816af + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 365.9419ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 12ca5d86-a9e3-2dfd-3fe3-471d2e08b484 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 149 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "149" + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d95269e7-3b38-44e9-4ef8-cf288f963b34 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 354.582ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","confirm":"true","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e1c58380-8435-8bd6-e0c9-1788479819dc + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Tue, 11 Jul 2023 10:09:24 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 35a90209-1777-4169-4bce-47658cf84d8c + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 166.5124ms + - id: 16 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"appName":"auditlog-viewer","confirm":"true","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - e1c58380-8435-8bd6-e0c9-1788479819dc + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/subaccount?unsubscribe + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"jobId":"10781971"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Tue, 11 Jul 2023 10:09:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 239edc95-0c50-4a37-4614-d8eccd6322ed + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 338.6039ms diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 680792d3..bd28b524 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -162,7 +162,6 @@ func (p *btpcliProvider) Resources(ctx context.Context) []func() resource.Resour newGlobalaccountRoleResource, newSubaccountRoleResource, newSubaccountServiceBindingResource, - newSubaccountSubscriptionResource, } if !p.betaFeaturesEnabled { @@ -183,6 +182,7 @@ func (p *btpcliProvider) Resources(ctx context.Context) []func() resource.Resour newSubaccountRoleCollectionResource, newSubaccountRoleCollectionAssignmentResource, newSubaccountServiceInstanceResource, + newSubaccountSubscriptionResource, newSubaccountTrustConfigurationResource, }, betaResources...) } @@ -196,16 +196,12 @@ func (p *btpcliProvider) DataSources(ctx context.Context) []func() datasource.Da newGlobalaccountAppsDataSource, newGlobalaccountResourceProviderDataSource, newGlobalaccountResourceProvidersDataSource, - newSubaccountAppDataSource, - newSubaccountAppsDataSource, newSubaccountServiceBrokerDataSource, newSubaccountServiceBrokersDataSource, newSubaccountServiceBindingDataSource, newSubaccountServiceBindingsDataSource, newSubaccountServicePlatformDataSource, newSubaccountServicePlatformsDataSource, - newSubaccountSubscriptionDataSource, - newSubaccountSubscriptionsDataSource, } if !p.betaFeaturesEnabled { @@ -234,6 +230,8 @@ func (p *btpcliProvider) DataSources(ctx context.Context) []func() datasource.Da newGlobalaccountUsersDataSource, newRegionsDataSource, newSubaccountDataSource, + newSubaccountAppDataSource, + newSubaccountAppsDataSource, newSubaccountEntitlementsDataSource, newSubaccountEnvironmentInstanceDataSource, newSubaccountEnvironmentInstancesDataSource, @@ -254,6 +252,8 @@ func (p *btpcliProvider) DataSources(ctx context.Context) []func() datasource.Da newSubaccountUserDataSource, newSubaccountUsersDataSource, newSubaccountsDataSource, + newSubaccountSubscriptionDataSource, + newSubaccountSubscriptionsDataSource, newWhoamiDataSource, }, betaDataSources...) } diff --git a/internal/provider/provider_test.go b/internal/provider/provider_test.go index 2ee07f7d..b447feaa 100644 --- a/internal/provider/provider_test.go +++ b/internal/provider/provider_test.go @@ -206,8 +206,8 @@ func TestProvider_HasResources(t *testing.T) { "btp_subaccount_service_instance", /* TODO: switched off for phase 1 "btp_subaccount_service_binding", - "btp_subaccount_subscription", */ + "btp_subaccount_subscription", "btp_subaccount_trust_configuration", } @@ -228,7 +228,7 @@ func TestProvider_HasResources(t *testing.T) { func TestProvider_HasDatasources(t *testing.T) { expectedDataSources := []string{ "btp_directory", - /*TODO: Switched off for phase 1 + /*TODO: Depending on customer feedback "btp_directory_app", "btp_directory_apps", */ @@ -241,12 +241,12 @@ func TestProvider_HasDatasources(t *testing.T) { "btp_directory_user", "btp_directory_users", "btp_globalaccount", - /*TODO: Switched off for phase 1 + /*TODO: Depending on customer feedback "btp_globalaccount_app", "btp_globalaccount_apps", */ "btp_globalaccount_entitlements", - /*TODO: Switched off for phase 1 + /*TODO: Depending on customer feedback "btp_globalaccount_resource_provider", "btp_globalaccount_resource_providers", */ @@ -260,10 +260,8 @@ func TestProvider_HasDatasources(t *testing.T) { "btp_globalaccount_users", "btp_regions", "btp_subaccount", - /*TODO: Switched off for phase 1 "btp_subaccount_app", "btp_subaccount_apps", - */ "btp_subaccount_entitlements", "btp_subaccount_environment_instance", "btp_subaccount_environment_instances", @@ -273,7 +271,7 @@ func TestProvider_HasDatasources(t *testing.T) { "btp_subaccount_role_collection", "btp_subaccount_role_collections", "btp_subaccount_roles", - /*TODO: Switched off for phase 1 + /*TODO: "btp_subaccount_service_binding", "btp_subaccount_service_bindings", "btp_subaccount_service_broker", @@ -285,12 +283,12 @@ func TestProvider_HasDatasources(t *testing.T) { "btp_subaccount_service_offerings", "btp_subaccount_service_plan", "btp_subaccount_service_plans", - /* - "btp_subaccount_service_platform", - "btp_subaccount_service_platforms", - "btp_subaccount_subscription", - "btp_subaccount_subscriptions", + /* + "btp_subaccount_service_platform", + "btp_subaccount_service_platforms", */ + "btp_subaccount_subscription", + "btp_subaccount_subscriptions", "btp_subaccount_trust_configuration", "btp_subaccount_trust_configurations", "btp_subaccount_user", diff --git a/internal/provider/resource_subaccount_subscription.go b/internal/provider/resource_subaccount_subscription.go index d4793cf3..c110c893 100644 --- a/internal/provider/resource_subaccount_subscription.go +++ b/internal/provider/resource_subaccount_subscription.go @@ -72,6 +72,7 @@ You must be assigned to the subaccount admin role.`, Default: stringdefault.StaticString(`{}`), PlanModifiers: []planmodifier.String{ stringplanmodifier.RequiresReplace(), + stringplanmodifier.UseStateForUnknown(), }, Validators: []validator.String{ jsonvalidator.ValidJSON(), @@ -193,11 +194,19 @@ func (rs *subaccountSubscriptionResource) Read(ctx context.Context, req resource return } - updatedState, diags := subaccountSubscriptionValueFrom(ctx, cliRes) - updatedState.Parameters = state.Parameters + newState, diags := subaccountSubscriptionValueFrom(ctx, cliRes) + + if newState.Parameters.IsNull() && !state.Parameters.IsNull() { + // The parameters are not returned by the API so we transfer the existing state to the read result if not existing + newState.Parameters = state.Parameters + } else if newState.Parameters.IsNull() && state.Parameters.IsNull() { + // During the import of the resource both values might be empty, so we need to apply the default value form the schema if not existing + newState.Parameters = types.StringValue("{}") + } + resp.Diagnostics.Append(diags...) - diags = resp.State.Set(ctx, &updatedState) + diags = resp.State.Set(ctx, &newState) resp.Diagnostics.Append(diags...) } @@ -285,7 +294,7 @@ func (rs *subaccountSubscriptionResource) ImportState(ctx context.Context, req r return } - resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("subaccount"), idParts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("subaccount_id"), idParts[0])...) resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("app_name"), idParts[1])...) resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("plan_name"), idParts[2])...) } diff --git a/internal/provider/resource_subaccount_subscription_test.go b/internal/provider/resource_subaccount_subscription_test.go new file mode 100644 index 00000000..7afcadb0 --- /dev/null +++ b/internal/provider/resource_subaccount_subscription_test.go @@ -0,0 +1,143 @@ +package provider + +import ( + "fmt" + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestResourceSubaccountSubscription(t *testing.T) { + t.Run("happy path - simple subscription", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_subaccount_subscription") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountSubscription("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "auditlog-viewer", "free"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount_subscription.uut", "id", regexpValidUUID), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "app_name", "auditlog-viewer"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "plan_name", "free"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "app_id", "auditlog-viewer!t49"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "state", "SUBSCRIBED"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "quota", "1"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "customer_developed", "false"), + resource.TestCheckResourceAttr("btp_subaccount_subscription.uut", "authentication_provider", "XSUAA"), + resource.TestMatchResourceAttr("btp_subaccount_subscription.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount_subscription.uut", "last_modified", regexpValidRFC3999Format), + ), + }, + { + ResourceName: "btp_subaccount_subscription.uut", + ImportStateId: "59cd458e-e66e-4b60-b6d8-8f219379f9a5,auditlog-viewer,free", + ImportState: true, + ImportStateVerify: true, + }, + }, + }) + }) + t.Run("error path - subacount_id mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountSubscriptionNoSubaccountId("uut", "auditlog-viewer", "free"), + ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`), + }, + }, + }) + }) + + t.Run("error path - service name mandatory", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountSubscriptionNoAppName("uut", "auditlog-viewer", "free"), + ExpectError: regexp.MustCompile(`The argument "app_name" is required, but no definition was found`), + }, + }, + }) + }) + + t.Run("error path - service plan ID", func(t *testing.T) { + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(nil), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountSubscriptionNoPlan("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "auditlog-viewer"), + ExpectError: regexp.MustCompile(`The argument "plan_name" is required, but no definition was found`), + }, + }, + }) + }) + + t.Run("error path - import failure", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_subaccount_subscription_import_error") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountSubscription("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "auditlog-viewer", "free"), + }, + { + ResourceName: "btp_subaccount_subscription.uut", + ImportStateId: "59cd458e-e66e-4b60-b6d8-8f219379f9a5", + ImportState: true, + ImportStateVerify: true, + ExpectError: regexp.MustCompile(`Unexpected Import Identifier`), + }, + }, + }) + }) + +} + +func hclResourceSubaccountSubscription(resourceName string, subaccountId string, appName string, planName string) string { + + return fmt.Sprintf(` + resource "btp_subaccount_subscription" "%s"{ + subaccount_id = "%s" + app_name = "%s" + plan_name = "%s" + }`, resourceName, subaccountId, appName, planName) +} + +func hclResourceSubaccountSubscriptionNoSubaccountId(resourceName string, appName string, planName string) string { + + return fmt.Sprintf(` + resource "btp_subaccount_subscription" "%s"{ + app_name = "%s" + plan_name = "%s" + }`, resourceName, appName, planName) +} + +func hclResourceSubaccountSubscriptionNoAppName(resourceName string, subaccountId string, planName string) string { + + return fmt.Sprintf(` + resource "btp_subaccount_subscription" "%s"{ + subaccount_id = "%s" + plan_name = "%s" + }`, resourceName, subaccountId, planName) +} + +func hclResourceSubaccountSubscriptionNoPlan(resourceName string, subaccountId string, appName string) string { + + return fmt.Sprintf(` + resource "btp_subaccount_subscription" "%s"{ + subaccount_id = "%s" + app_name = "%s" + }`, resourceName, subaccountId, appName) +}