Skip to content

Conversation

@nilooy5
Copy link
Contributor

@nilooy5 nilooy5 commented Nov 25, 2024

Description

This PR contains the changes required for the new Personal Access Tokens feature implemented in the EAS. With this change users can login with the eas python client using personal access token generated in evolve app.

Associated tasks

n/a

Test Steps

open the project with this branch checkedout. In a python scratch file put this code

from zepben.eas import EasClient

token = "your_generated_token"
client = EasClient("localhost", 7654, protocol="http",  verify_certificate=False, access_token=token)

list = client.get_hosting_capacity_work_packages_progress()
print(list)

Checklist

If any of these are not applicable, strikethrough the line ~like this~. Do not delete it!. Let the reviewer decide if you should have done it.

Code

  • I have performed a self review of my own code (including checking issues raised when creating the PR).
  • I have added/updated unit tests for these changes, and if not I have explained why they are not necessary.
  • I have commented my code in any hard-to-understand or hacky areas.
  • I have handled all new warnings generated by the compiler or IDE.
  • I have rebased onto the target branch (usually main).

Documentation

  • I have updated the changelog.
  • I have updated any documentation required for these changes.

Breaking Changes

  • [~ ] I have considered if this is a breaking change and will communicate it with other team members if so.~

Please leave a summary of the breaking changes here. This is useful for the reviewer, but also is useful for communication to the team when merged (e.g. you could copy and paste the summary into slack).

Screenshots

Remove this section if the change cannot be shown through screenshots. Frontend changes should mostly include this section.
Screenshots can be copy-pasted into Github textboxes and a link will automatically be generated.
Remove this text if you choose to use this section.

Before After
image image

@ryanjcoleman
Copy link
Member

@nilooy5 nilooy5 self-assigned this Nov 25, 2024
@nilooy5 nilooy5 force-pushed the DEV-1926-update-for-PAT-service branch 2 times, most recently from a52935b to cbf24c4 Compare November 25, 2024 07:42
…ss Token, updated `changelog.md`

Signed-off-by: Fazal Mahmud Niloy <[email protected]>
@nilooy5 nilooy5 force-pushed the DEV-1926-update-for-PAT-service branch from cbf24c4 to d308467 Compare November 25, 2024 07:48
@nilooy5 nilooy5 marked this pull request as ready for review November 25, 2024 07:49
@roberto-marquez roberto-marquez merged commit 24355b3 into main Nov 26, 2024
3 checks passed
@roberto-marquez roberto-marquez deleted the DEV-1926-update-for-PAT-service branch November 26, 2024 00:13
@roberto-marquez roberto-marquez restored the DEV-1926-update-for-PAT-service branch November 26, 2024 00:24
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