Skip to content

Commit

Permalink
Merge pull request #8 from mulesoft-anypoint/dev
Browse files Browse the repository at this point in the history
v1.5.3
  • Loading branch information
soufi authored Aug 21, 2023
2 parents 1a90b43 + 8fa667b commit c56737f
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 99 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ terraform
release.sh

#binary file
terraform-provider-anypoint
terraform-provider-anypoint

**/.secret
7 changes: 7 additions & 0 deletions MIT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2023 Anypoint Automators

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@ Made with love.

## Disclaimer

**This is an [UNLICENSED software, please review the considerations](UNLICENSE.md).**
**This is an [Open Source Software, please review the considerations](MIT.md).**
This is an open source project, it does not form part of the official MuleSoft product stack, and is therefore not included in MuleSoft support SLAs. Issues should be directed to the community, who will try to assist on a best endeavours basis. This application is distributed **as is**.
23 changes: 0 additions & 23 deletions UNLICENSE.md

This file was deleted.

2 changes: 1 addition & 1 deletion anypoint/resource_team_roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func sortMapListRoles(roles []interface{}) {
sortAttrD := "envId"
i_context := i_elem[sortAttrB].(map[string]interface{})
j_context := j_elem[sortAttrB].(map[string]interface{})
if i_context[sortAttrC].(string) != j_context[sortAttrC].(string) {
if i_context[sortAttrC] != nil && j_context[sortAttrC] != nil && i_context[sortAttrC].(string) != j_context[sortAttrC].(string) {
return i_context[sortAttrC].(string) < j_context[sortAttrC].(string)
}
if i_context[sortAttrD] != nil && j_context[sortAttrD] != nil && i_context[sortAttrD].(string) != j_context[sortAttrD].(string) {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ provider "anypoint" {
# use either username/pwd or client id/secret to connect to the platform
username = var.username # optionally use ANYPOINT_USERNAME env var
password = var.password # optionally use ANYPOINT_USERNAME env var
password = var.password # optionally use ANYPOINT_PASSWORD env var
client_id = var.client_id # optionally use ANYPOINT_CLIENT_ID env var
client_secret = var.client_secret # optionally use ANYPOINT_CLIENT_SECRET env var
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ provider "anypoint" {
# use either username/pwd or client id/secret to connect to the platform

username = var.username # optionally use ANYPOINT_USERNAME env var
password = var.password # optionally use ANYPOINT_USERNAME env var
password = var.password # optionally use ANYPOINT_PASSWORD env var

client_id = var.client_id # optionally use ANYPOINT_CLIENT_ID env var
client_secret = var.client_secret # optionally use ANYPOINT_CLIENT_SECRET env var
Expand Down
Loading

0 comments on commit c56737f

Please sign in to comment.