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

Add IAM IBM Cloud utils #26

Merged
merged 1 commit into from
Sep 3, 2020
Merged

Add IAM IBM Cloud utils #26

merged 1 commit into from
Sep 3, 2020

Conversation

alfinkel
Copy link
Contributor

@alfinkel alfinkel commented Sep 3, 2020

What

Add IAM IBM Cloud utils module with the get_tokens common function.

Why

Getting the IAM tokens will be something that can be reused by other fetchers

How

  • Add iam_ibm_utils module with get_tokens function
  • Update constants.py accordingly
  • Add unit tests

Test

  • new unit tests pass

Context

In support of #9

@@ -17,6 +17,12 @@
# PyPI RSS feed base URL
PYPI_RSS_BASE_URL = 'https://pypi.org/rss/project'

# IBM Cloud token retrieval URL
Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefix with IBM or place in ibm_constants

@alfinkel alfinkel merged commit 161505b into main Sep 3, 2020
@alfinkel alfinkel deleted the 9-ibm-iam-utils branch September 3, 2020 18:22
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.

2 participants