Skip to content

Commit

Permalink
Removed unnecessary fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmaradiaga committed Nov 29, 2023
1 parent bfea0a0 commit 5e61d52
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions btp/connection_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,15 @@ import (
)

type BTPConfig struct {
// UAA
UAAAPIUrl *string `cty:"uaa_apiurl"`
UAAClientId *string `cty:"uaa_clientid"`
UAAClientSecret *string `cty:"uaa_clientsecret"`

// Endpoints
CISAccountServiceUrl *string `cty:"cis_accounts_service_url"`
CISEntitlementsServiceUrl *string `cty:"cis_entitlements_service_url"`

// Username
Username *string `cty:"username"`
Password *string `cty:"password"`
AccessToken *string `cty:"cis_access_token"`
}

var ConfigSchema = map[string]*schema.Attribute{
"uaa_apiurl": {
Type: schema.TypeString,
Required: false,
},

"uaa_clientid": {
Type: schema.TypeString,
Required: false,
},

"uaa_clientsecret": {
Type: schema.TypeString,
Required: false,
},

"cis_accounts_service_url": {
Type: schema.TypeString,
},
Expand All @@ -45,16 +23,6 @@ var ConfigSchema = map[string]*schema.Attribute{
Type: schema.TypeString,
},

"username": {
Type: schema.TypeString,
Required: false,
},

"password": {
Type: schema.TypeString,
Required: false,
},

"cis_access_token": {
Type: schema.TypeString,
Required: false,
Expand Down

0 comments on commit 5e61d52

Please sign in to comment.