Skip to content

feat(iam-identity): adding trusted profiles#119

Merged
Andras-Csanyi merged 12 commits intoIBM:mainfrom
pooraniss-ibm:iam-identity-trustedProfiles
Sep 2, 2021
Merged

feat(iam-identity): adding trusted profiles#119
Andras-Csanyi merged 12 commits intoIBM:mainfrom
pooraniss-ibm:iam-identity-trustedProfiles

Conversation

@pooraniss-ibm
Copy link
Copy Markdown
Contributor

@pooraniss-ibm pooraniss-ibm commented Aug 18, 2021

PR summary

This pr contains all the supported endpoints of Iam-Identity's trusted profiles.
we recently went public and here is the documentation: https://test.cloud.ibm.com/apidocs/iam-identity-token-api

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Screenshot 2021-08-25 at 01 09 11

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Aug 18, 2021

CLA assistant check
All committers have signed the CLA.

@Andras-Csanyi
Copy link
Copy Markdown
Contributor

Overall looks good!

One thing I'd like to ask is regarding testing. Please add additional integration tests for the newly added operations. These tests shoud cover 4xx and 5xx (if there is any) status codes. If you run the openapi-sdkgen tool (with -o swtich you can redirect the output to a different directory and it doesn't mess up your code) with the openapi description and with --genITs switch, then we generate comments about the status codes should be added. I would suggest cover only those 4xx and 5xx status codes which can be tested programmatically. For example, a 500 is out of scope, but a 404 or 400 is in the scope. You can find examples here: https://github.com/IBM/platform-services-java-sdk/blob/main/modules/catalog-management/src/test/java/com/ibm/cloud/platform_services/catalog_management/v1/CatalogManagementIT.java

Could please you attach a screenshot about the successful integration tests?

Copy link
Copy Markdown
Contributor

@Andras-Csanyi Andras-Csanyi left a comment

Choose a reason for hiding this comment

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

See my comments

@pooraniss-ibm
Copy link
Copy Markdown
Contributor Author

adding additional tests to covers 400's, and the lint fixes are done. screenshot of integration test result is attached.

Copy link
Copy Markdown
Contributor

@Andras-Csanyi Andras-Csanyi left a comment

Choose a reason for hiding this comment

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

As I compared the 4 SDKs exampels I found a few inconsistencies.

@pooraniss-ibm
Copy link
Copy Markdown
Contributor Author

this PR is now updated, all the typos and suggested changes are added :)

@pooraniss-ibm pooraniss-ibm force-pushed the iam-identity-trustedProfiles branch from 98f6fc6 to 98597e2 Compare September 2, 2021 13:16
Copy link
Copy Markdown
Contributor

@Andras-Csanyi Andras-Csanyi left a comment

Choose a reason for hiding this comment

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

Two small fix is needed in the documentation tags

@Andras-Csanyi Andras-Csanyi self-requested a review September 2, 2021 13:58
Copy link
Copy Markdown
Contributor

@Andras-Csanyi Andras-Csanyi left a comment

Choose a reason for hiding this comment

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

When the PR build finishes and it is green I'll merge it.

@Andras-Csanyi Andras-Csanyi changed the title Iam-Identity: trusted profiles feat(iam-identity): adding trusted profiles Sep 2, 2021
@Andras-Csanyi Andras-Csanyi merged commit b26d60a into IBM:main Sep 2, 2021
ibm-devx-sdk pushed a commit that referenced this pull request Sep 2, 2021
# [0.20.0](0.19.2...0.20.0) (2021-09-02)

### Features

* **iam-identity:** adding trusted profiles ([#119](#119)) ([b26d60a](b26d60a))
@ibm-devx-sdk
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.20.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

JonahFarc pushed a commit to JonahFarc/platform-services-java-sdk that referenced this pull request Sep 15, 2021
JonahFarc pushed a commit to JonahFarc/platform-services-java-sdk that referenced this pull request Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants