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

share helpers for gc #271

Merged
merged 2 commits into from
May 29, 2018
Merged

Conversation

jonathan-gramain
Copy link
Contributor

Some small refactors to prepare backbeat garbage collector implementation

  • rf: ZENKO-143 move attachReqUids() helper

    Move attachReqUids() helper to lib/client/utils.js. This to done to
    share the simple but useful logic across extensions.

  • rf: ZENKO-143 add helper getAccountCredentials()

    Move account-credentials gathering in a single getAccountCredentials()
    helper in AccountCredentials.js, instead of having to check the type
    of authentication ('account' or 'service') and create the class
    accordingly.

@jonathan-gramain jonathan-gramain force-pushed the rf/ZENKO-143-shareHelpersForGC branch from a3b0edf to d8608f7 Compare April 27, 2018 00:57
@ironman-machine
Copy link
Contributor

PR has been updated. Reviewers, please be cautious.

philipyoo
philipyoo previously approved these changes Apr 27, 2018
Move attachReqUids() helper to lib/client/utils.js. This to done to
share the simple but useful logic across extensions.
@jonathan-gramain jonathan-gramain force-pushed the rf/ZENKO-143-shareHelpersForGC branch from d8608f7 to aa469ed Compare May 29, 2018 17:57
@ironman-machine ironman-machine dismissed philipyoo’s stale review May 29, 2018 17:57

Do it again human slave!:point_right: :runner: (Oh and the pull request has been updated, by the way.)

@ironman-machine
Copy link
Contributor

PR has been updated. Reviewers, please be cautious.

philipyoo
philipyoo previously approved these changes May 29, 2018
tmacro
tmacro previously approved these changes May 29, 2018
Move account-credentials gathering in a single getAccountCredentials()
helper in AccountCredentials.js, instead of having to check the type
of authentication ('account' or 'service') and create the class
accordingly.
@jonathan-gramain jonathan-gramain force-pushed the rf/ZENKO-143-shareHelpersForGC branch from aa469ed to 9a8d14f Compare May 29, 2018 18:27
@ironman-machine ironman-machine dismissed stale reviews from philipyoo and tmacro May 29, 2018 18:27

Do it again human slave!:point_right: :runner: (Oh and the pull request has been updated, by the way.)

@ironman-machine
Copy link
Contributor

PR has been updated. Reviewers, please be cautious.

@jonathan-gramain jonathan-gramain merged commit 76ad8f4 into z/1.0 May 29, 2018
@jonathan-gramain jonathan-gramain deleted the rf/ZENKO-143-shareHelpersForGC branch May 29, 2018 19:23
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.

4 participants