ENT-3007 : round 2 API endpoints for samlproviderconfig and samlproviderdata (#24456)
* ENT-3007 auth/saml/v0/saml/providerdata and auth/saml/v0/saml/providerconfig endpoints Move code to subfolder for samlproviderconfig extra comma undo accidental remove of import GET works for a single config now Use ModelViewSet to get all CRUD method. Test still fails Add auth/saml/v0/providerdata endpoints fixup reverse and test issue, remove leading caret just triggering run, why is it failing in CI? pycodelint fixes Skip auth tests unless feature is on Tests for post/put for samlproviderdata move urls to their own folders api tests for post samlprovierconfig create 1 providerconfig test case lint fixes lint lint cleanup code local urls /samlproviderconfig works note needed right now Fix import errors lint unused import wip: first attempt at rbac auth and jwt cookie in test round 2 with enterprise uuid as url param for samlproviderconfig improve tests, still dont pass fix test by using system role, wip other test fix create test add get/post tests for providerdata isort fixes string lint fix Cleanup based on feedback round1 move utils to tests package Move util fn to openedx.feature area lint ENT-3007 : Round 2 of work on auth/saml/v0/providerconfig and auth/saml/v0/providerdata endpoints * Fix test issue use string uuid for permission obj * snake case changes provider_config * snake case * provider_data, tests and lint * patch and delete tests for providerdata * snake_case * snake_case * snake_case * make patch test stronger * 404 if invalid uuid for get param * common util for validate uuid4 * unused import * lint fixes for pycodestyle * 400 when uuid is missing * 400 instead of 404 for missing uuid * spell fix * update docstring for api usage * docstring clarify
Showing
- common/djangoapps/third_party_auth/samlproviderconfig/__init__.py 0 additions, 0 deletions...jangoapps/third_party_auth/samlproviderconfig/__init__.py
- common/djangoapps/third_party_auth/samlproviderconfig/serializers.py 13 additions, 0 deletions...goapps/third_party_auth/samlproviderconfig/serializers.py
- common/djangoapps/third_party_auth/samlproviderconfig/tests/test_samlproviderconfig.py 136 additions, 0 deletions..._auth/samlproviderconfig/tests/test_samlproviderconfig.py
- common/djangoapps/third_party_auth/samlproviderconfig/urls.py 11 additions, 0 deletions...on/djangoapps/third_party_auth/samlproviderconfig/urls.py
- common/djangoapps/third_party_auth/samlproviderconfig/views.py 84 additions, 0 deletions...n/djangoapps/third_party_auth/samlproviderconfig/views.py
- common/djangoapps/third_party_auth/samlproviderdata/__init__.py 0 additions, 0 deletions.../djangoapps/third_party_auth/samlproviderdata/__init__.py
- common/djangoapps/third_party_auth/samlproviderdata/serializers.py 13 additions, 0 deletions...angoapps/third_party_auth/samlproviderdata/serializers.py
- common/djangoapps/third_party_auth/samlproviderdata/tests/test_samlproviderdata.py 156 additions, 0 deletions...arty_auth/samlproviderdata/tests/test_samlproviderdata.py
- common/djangoapps/third_party_auth/samlproviderdata/urls.py 11 additions, 0 deletionscommon/djangoapps/third_party_auth/samlproviderdata/urls.py
- common/djangoapps/third_party_auth/samlproviderdata/views.py 78 additions, 0 deletionscommon/djangoapps/third_party_auth/samlproviderdata/views.py
- common/djangoapps/third_party_auth/tests/samlutils.py 30 additions, 0 deletionscommon/djangoapps/third_party_auth/tests/samlutils.py
- common/djangoapps/third_party_auth/urls.py 2 additions, 1 deletioncommon/djangoapps/third_party_auth/urls.py
- common/djangoapps/third_party_auth/utils.py 12 additions, 1 deletioncommon/djangoapps/third_party_auth/utils.py
- openedx/features/enterprise_support/utils.py 5 additions, 1 deletionopenedx/features/enterprise_support/utils.py
Please register or sign in to comment