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!: upgrade certificate_exception_view to DRF ( 28 ) #35594

Merged
merged 6 commits into from
Nov 28, 2024

Conversation

awais786
Copy link
Contributor

@awais786 awais786 commented Oct 4, 2024

Issues

Test via postman

  1. Try this URL in postman as post.
  2. raw data as json
    {"user_name": "admin", "notes": "testing"} or {"user_email": ""admin@example.com",", "notes": "testing"}

expected result

{
    "id": 14,
    "user_email": "admin@example.com",
    "user_name": "admin",
    "user_id": 4,
    "certificate_generated": null,
    "created": "October 05, 2024"
}

Delete method testing
You can repeat above test with delete action as well and it will remove the data and return 204 status code.


Test via dashboard

  1. Go to this URL
  2. Go to Individual Exceptions section
Screenshot 2024-10-05 at 5 52 37 PM

expected result
admin has been successfully added to the exception list. Click Generate Exception Certificate below to send the certificate.

Also this api finally adding data inside this table
http://local.edly.io:8000/admin/certificates/certificateallowlist/

@awais786 awais786 changed the title Certificate exception view to drf feat!: upgrade certificate_exception_view to DRF ( 28 ) Oct 4, 2024
@awais786 awais786 marked this pull request as ready for review October 5, 2024 13:32
@awais786 awais786 requested a review from feanil October 5, 2024 13:48
@awais786 awais786 force-pushed the certificate_exception_view-to-drf branch from a7acf25 to 26f028f Compare November 27, 2024 07:57
@awais786 awais786 force-pushed the certificate_exception_view-to-drf branch from d0bbc56 to 7505ec7 Compare November 27, 2024 14:59
@awais786 awais786 merged commit a4d3bf9 into master Nov 28, 2024
51 checks passed
@awais786 awais786 deleted the certificate_exception_view-to-drf branch November 28, 2024 09:58
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

salman2013 pushed a commit to salman2013/edx-platform that referenced this pull request Dec 2, 2024
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