Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONYX-12932 - Rename claim mapping variable #2382

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

semyon-estrin
Copy link
Contributor

@semyon-estrin semyon-estrin commented Oct 12, 2021

What does this PR do?

This change is a result of field CS request. Based on #2330.

  • Renamed user facing policy-related variable.
    Previous variable name: mapping-claims
    New variable name: claim-aliases

Please note that only user facing interface & automatic tests were changed:

  • Policy variable name
  • Log messages
  • Error messages
  • Test file were ammended to support new variable name

Internal implementation variable names aren't changed yet.

What ticket does this PR close?

Resolves ONYX-12932

Checklists

Change log

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code changes, or
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
  • This PR does not require updating any documentation

API Changes

  • The OpenAPI spec has been updated to meet new API changes (or an issue has been opened), or
  • The changes in this PR do not affect the Conjur API

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
design/authenticators/authn_jwt/token_schema.md Outdated Show resolved Hide resolved
design/authenticators/authn_jwt/token_schema.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[cyberark/conjur#2376](https://github.com/cyberark/conjur/pull/2376)
[cyberark/conjur#2377](https://github.com/cyberark/conjur/pull/2377)

### Changed
- Changed claims mapping variable name ('mapping-claims' => 'claim-aliases').
Copy link
Contributor

Choose a reason for hiding this comment

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

@hilagross @shulifink please review this message
@semyon-estrin - This is non merge blocking comment

@codeclimate
Copy link

codeclimate bot commented Oct 12, 2021

Code Climate has analyzed commit 71ac186 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Style 1

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.8% (0.0% change).

View more on Code Climate.

@semyon-estrin semyon-estrin marked this pull request as ready for review October 12, 2021 16:38
@semyon-estrin semyon-estrin requested a review from a team as a code owner October 12, 2021 16:38
Copy link
Contributor

@tzheleznyak tzheleznyak left a comment

Choose a reason for hiding this comment

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

LGTM

@semyon-estrin semyon-estrin merged commit 6d75f10 into master Oct 13, 2021
semyon-estrin added a commit that referenced this pull request Oct 14, 2021
…iases

ONYX-12932: Rename claim mapping variable (#2382)

Rename fetch_mapping_claims class name

Fix error reporting
@semyon-estrin semyon-estrin deleted the mapping-claims-rename branch January 9, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants