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: include created time in policy api response #542

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

katrinan029
Copy link
Contributor

Description

include created time in policy api response api/v1/subsidy-access-policies/?enterprise_customer_uuid=<uuid>

Testing instructions

  1. Follow the set up steps here https://github.com/openedx/enterprise-access to get the server running
  2. checkout this branch with git fetch -a and git checkout knguyen2/ent-9374
  3. visit http://localhost:18270/admin/ and click on any learner credit to get the customer uuid i.e. http://localhost:18270/admin/subsidy_access_policy/assignedlearnercreditaccesspolicy/22424a81-ddda-4af0-a122-aa32b5d624c9/change/
  4. copy the customer uuid and paste in the following link: http://localhost:18270/api/v1/subsidy-access-policies/?enterprise_customer_uuid=<CUSTOMER_UUID>
  5. verify that you see the created date
    Screenshot 2024-08-19 at 11 08 17 AM

Jira:
ENT-9374

Merge checklist:

  • ./manage.py makemigrations has been run
    • Note: This must be run if you modified any models.
      • It may or may not make a migration depending on exactly what you modified, but it should still be run.

Post merge:

  • Ensure that your changes went out to the stage instance
  • Deploy to prod instance

Copy link
Contributor

@pmakwana93 pmakwana93 left a comment

Choose a reason for hiding this comment

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

lgtm

@katrinan029 katrinan029 merged commit c1e2386 into main Aug 19, 2024
3 checks passed
@katrinan029 katrinan029 deleted the knguyen2/ent-9374 branch August 19, 2024 18:50
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