Skip to content

add support for setting a system scope#181

Merged
mandre merged 1 commit intogophercloud:masterfrom
askarsabyrov:master
Mar 1, 2023
Merged

add support for setting a system scope#181
mandre merged 1 commit intogophercloud:masterfrom
askarsabyrov:master

Conversation

@askarsabyrov
Copy link
Copy Markdown
Contributor

Fixes: #166
Reopened PR #167

@askarsabyrov
Copy link
Copy Markdown
Contributor Author

@pierreprinetti could you please approve workflow? really need this fix, it would help to use system scoped authorization for terraform-openstack-provider.

@askarsabyrov
Copy link
Copy Markdown
Contributor Author

@mandre hi, can you have a look please? really need this to be merged, thanks!

@mandre
Copy link
Copy Markdown
Contributor

mandre commented Feb 27, 2023

@mandre hi, can you have a look please? really need this to be merged, thanks!

Sure, I'll check it soon. Sorry for the delay.

Copy link
Copy Markdown
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you need to update the patch anyway, may I suggest you also credit @ignatenkobrain in the commit message as he was the one who wrote the original patch?
You can do it by adding a Co-authored-by: Igor Raits <igor.raits@gooddata.com> line at the end of the commit message (see the related github docs).

ApplicationCredentialSecret string `yaml:"application_credential_secret,omitempty" json:"application_credential_secret,omitempty"`

// SystemScope is a system information to scope to.
SystemScope string `yaml:"system_scope,omitempty" json:"system_scope,omitempty"`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have an additional whitespace in there that causes the unit tests to fail.

Suggested change
SystemScope string `yaml:"system_scope,omitempty" json:"system_scope,omitempty"`
SystemScope string `yaml:"system_scope,omitempty" json:"system_scope,omitempty"`

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed space and added credits to @ignatenkobrain in the commit.

Co-authored-by: Igor Raits <igor.raits@gooddata.com>
Copy link
Copy Markdown
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clientconfig: No endpoint found in service catalog for system_scope requests

2 participants