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

feat: revoke personal access token #2422

Merged
merged 63 commits into from
Jun 10, 2022
Merged

Commits on Jun 1, 2022

  1. controller and apiml PAT provider

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    d018e22 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. cachingservice client to support token operations

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    4a66c7d View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. list invalidated tokens

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    d1fa2da View commit details
    Browse the repository at this point in the history
  2. new cache storage operation test

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    79e2621 View commit details
    Browse the repository at this point in the history
  3. remove unused import

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    4a21d2b View commit details
    Browse the repository at this point in the history
  4. validate token against stored list

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    b4bdaa7 View commit details
    Browse the repository at this point in the history
  5. remove unused import

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    9793028 View commit details
    Browse the repository at this point in the history
  6. deserialize response body

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    aecb1b0 View commit details
    Browse the repository at this point in the history
  7. Include utils folder for coverage

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    fce26f5 View commit details
    Browse the repository at this point in the history
  8. Add method to retrieve invalidated tokens

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    89e5e58 View commit details
    Browse the repository at this point in the history
  9. Add unit tests

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    b717a47 View commit details
    Browse the repository at this point in the history
  10. Change endpoint path

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    a651541 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Fix null pointer exc. and add conflict exception

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    6c75ad2 View commit details
    Browse the repository at this point in the history
  2. fix path in the it

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    cfbe2d8 View commit details
    Browse the repository at this point in the history
  3. add unit test

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    65f781a View commit details
    Browse the repository at this point in the history
  4. object mapper config

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    740818c View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    achmelo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    7c421e0 View commit details
    Browse the repository at this point in the history
  6. Address review comments

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    703195f View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Unit test

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    30f518f View commit details
    Browse the repository at this point in the history
  2. argon2 hash, validate tokens

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    4688b20 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    
    # Conflicts:
    #	caching-service/src/main/java/org/zowe/apiml/caching/service/infinispan/storage/InfinispanStorage.java
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    2af1424 View commit details
    Browse the repository at this point in the history
  4. revoke token through GW test

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    ce343dc View commit details
    Browse the repository at this point in the history
  5. add licence info

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    c351944 View commit details
    Browse the repository at this point in the history
  6. remove unused imports

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    64c053e View commit details
    Browse the repository at this point in the history
  7. fix styles

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    e4d830b View commit details
    Browse the repository at this point in the history
  8. exclude infinispan storage tests from base

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    961d43b View commit details
    Browse the repository at this point in the history
  9. cs list path

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    05bc44c View commit details
    Browse the repository at this point in the history
  10. Use synchronized and add it

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    04b66f5 View commit details
    Browse the repository at this point in the history
  11. Add it

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    e81e0d1 View commit details
    Browse the repository at this point in the history
  12. check for array size

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    b792b40 View commit details
    Browse the repository at this point in the history
  13. use different key for CSstorage test

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    6bd08a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. replace transaction with lock

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    1489b94 View commit details
    Browse the repository at this point in the history
  2. exclude infinispan tests from CITests

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    9ed896f View commit details
    Browse the repository at this point in the history
  3. chore

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    ca1e479 View commit details
    Browse the repository at this point in the history
  4. Rename functions + clean up of exception + fix sonarlint

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    3d1f953 View commit details
    Browse the repository at this point in the history
  5. Refactoring it

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    25e55f5 View commit details
    Browse the repository at this point in the history
  6. add test for untrusted cert

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    a493118 View commit details
    Browse the repository at this point in the history
  7. remove unnecessary header

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c88c0ba View commit details
    Browse the repository at this point in the history
  8. fix iT

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    0c0fff1 View commit details
    Browse the repository at this point in the history
  9. remove redundant threads

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    3b0c578 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    f0af2ee View commit details
    Browse the repository at this point in the history
  11. verify that invalid token can't be revoked

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    856370e View commit details
    Browse the repository at this point in the history
  12. do not include userId, unit tests

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    e093193 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Configuration menu
    Copy the full SHA
    2608b3a View commit details
    Browse the repository at this point in the history
  2. replace list with map

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    4b738dc View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    achmelo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    ad981ea View commit details
    Browse the repository at this point in the history
  4. Add uncompatible storage method ex. handling

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    39d2d2a View commit details
    Browse the repository at this point in the history
  5. store salt for hash

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3e47d1a View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    achmelo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    56eadfb View commit details
    Browse the repository at this point in the history
  7. Fix unit tests and integration tests

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    732e94b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4c8eb80 View commit details
    Browse the repository at this point in the history
  9. chore

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8206050 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    achmelo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    43daa49 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Configuration menu
    Copy the full SHA
    beecf84 View commit details
    Browse the repository at this point in the history
  2. replace lambda

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    e732ba4 View commit details
    Browse the repository at this point in the history
  3. Fix unit tests

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    7d251b8 View commit details
    Browse the repository at this point in the history
  4. Add unit test and fix code smells

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    83bdf47 View commit details
    Browse the repository at this point in the history
  5. fix code smells

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    9250c8b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    82c1b35 View commit details
    Browse the repository at this point in the history
  7. fix message action

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    731ff06 View commit details
    Browse the repository at this point in the history
  8. remove unused argument

    Signed-off-by: achmelo <[email protected]>
    achmelo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    914c107 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'origin/rip/GH2306/revoke_access_token' …

    …into rip/GH2306/revoke_access_token
    achmelo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    1a523a6 View commit details
    Browse the repository at this point in the history
  10. increase coverage

    Signed-off-by: at670475 <[email protected]>
    taban03 committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    501549d View commit details
    Browse the repository at this point in the history