Граф коммитов

63 Коммитов

Автор SHA1 Сообщение Дата
vapisar 60b309aa1c
Merge pull request #6 from microsoft/users/vapisar/swashbuckle_update
Swagger package update
2022-07-27 16:43:47 -07:00
Vasily Pisar e9b889abad Updating Swagger package to a more modern (the latest) version to make sure that we don't miss any improvements related to accessibility 2022-07-27 16:29:51 -07:00
vapisar 60a95d5fde
Merge pull request #5 from microsoft/users/vapisar/library_updates
Updating old libraries to new versions
2022-07-08 16:43:04 -07:00
Vasily Pisar a347d4e2f1 Updating libraries to next versions 2022-07-08 16:23:38 -07:00
vapisar 45d40bf9c2
Merge pull request #4 from microsoft/users/vapisar/clarifying_unknown_akamai_status
Clarifying Unknown status from CDNs
2022-06-27 16:10:12 -07:00
Vasily Pisar 391659563a Currently, if the entity is not setup in Akamai, we show an Unknown status. DRIs don't know what to do in this case, adding a little bit more clarifying info to the message. 2022-06-11 00:01:32 -07:00
vapisar 2acbf0b012
Merge pull request #3 from microsoft/users/vapisar/dri_readiness 2022-06-07 19:26:20 -07:00
vapisar 20b0773400
Merge pull request #2 from microsoft/users/vapisar/aad_auth_for_api
Auth changes for AAD
2022-06-07 19:26:00 -07:00
Vasily Pisar 492cdf1916 Trivial, checking the hostname for null and empty values too 2021-09-30 02:59:32 -07:00
Vasily Pisar a464574fda Trivial, updated documentation 2021-09-30 02:57:30 -07:00
Vasily Pisar dee35046d7 Trivial, fixing tests 2021-09-21 11:25:28 -07:00
Vasily Pisar 0a39444bf3 Minor fixes:
- Addressing after-review comments from the PR;
- Removing an unused hostname field;
- Improving documentation a little bit.
2021-09-20 05:57:04 -07:00
Vasily Pisar 42fff661e5 Trivial, removing commented out code 2021-09-17 14:11:23 -07:00
Vasily Pisar 42f66fed2f Trivial, removing useless settings 2021-09-17 13:39:26 -07:00
Vasily Pisar 5d6f2677f7 Minor: fixing tests and using the same format everywhere 2021-09-10 13:46:37 -07:00
Vasily Pisar 6ce0a92201 Minor: improving local debugging + improving status messages 2021-09-10 13:13:24 -07:00
Vasily Pisar 7f3e847050 Prettifying partner results a little bit 2021-09-10 12:22:56 -07:00
Vasily Pisar fb8b88d929 Fixing the case when older formats are not showing up in the API 2021-09-10 11:54:48 -07:00
Vasily Pisar 245f3077d7 Adding more tests & fixing existing tests (handling and testing different testing and prod environments in auth, handling and testing old and new formats for partners, fixing tests locally and remotely) 2021-09-08 14:49:19 -07:00
Vasily Pisar 3b2f01f364 Validators for automatic tests 2021-09-03 17:27:13 -07:00
Vasily Pisar e3c7016699 Small improvements for the API:
- removing unused fields (like emails);
- enabling/disabling different CDN plugins;
- fixing exceptions when querying non-existing entities (like statuses for a request that wasn't submitted);
- removing unused settings for CDN credentials;
- removing functions related to user auth from Swagger UI;
- marking requests as completed correctly;
- preparing functions for deployment and testing, etc.
2021-09-03 06:56:05 -07:00
Vasily Pisar 797b0d4841 Hiding Swagger functions behind auth checks 2021-08-06 11:48:09 -07:00
Vasily Pisar d008ee5383 Auth checker function added 2021-07-30 12:51:57 -07:00
Vasily Pisar 9ae4dca994 Making sure that tests pass in pipelines 2021-07-30 11:26:59 -07:00
Vasily Pisar d04a50d313 Removing Function auth to simplify things for DRIs 2021-07-30 03:54:44 -07:00
Vasily Pisar cbebcd7ee8 Altering permissions for CachePurge methods 2021-07-22 15:52:45 -07:00
Vasily Pisar 2005dfacd3 Adding authorization checks to important functions in Cache Purge 2021-06-11 13:07:49 -07:00
Vasily Pisar 946d74025a Serializing claims and their properties 2021-06-08 19:23:09 -07:00
Vasily Pisar 304dc25847 Trivial, typo fixed 2021-05-28 04:13:23 -07:00
Vasily Pisar 428de1a4f6 Checking claims and app roles 2021-05-28 03:56:57 -07:00
Vasily Pisar d2a4c68e1a Checking roles too 2021-05-21 04:42:00 -07:00
Vasily Pisar 4f590c64c0 Adding functions to check user groups and claims in Azure AD 2021-05-21 01:47:44 -07:00
Vasily Pisar b8354c5134 Swashbuckle shows ClaimsPrincipals as a textarea that gets submitted even for GET requests (and obviously doesn't work). We'll get users from HttpRequests then 2021-03-09 17:17:37 -08:00
Vasily Pisar 501e477206 Adding metrics that we were tracking before 2021-03-07 01:29:07 -08:00
Vasily Pisar 4cd0767983 Minor: do not fail because of logging in case (for some unknown reason) ClaimsPrincipal doesn't have all the data in it 2021-03-02 16:25:03 -08:00
Vasily Pisar e46c17e8ec Patching tests to not fail with null loggers 2021-03-01 16:17:25 -08:00
Vasily Pisar 0430cb6f42 Patching tests for principal calls 2021-03-01 15:57:23 -08:00
Vasily Pisar 9db83bc39b Adding user names to logs 2021-03-01 15:50:20 -08:00
Vasily Pisar 55bcd84ab8 Updating tests 2021-02-25 14:41:39 -08:00
Vasily Pisar 51bd669fab Trivial, function documentation 2021-02-25 14:31:47 -08:00
Vasily Pisar 1c898cd3e7 Trivial, moving Guid to a parameter of the Function 2021-02-25 14:22:38 -08:00
Vasily Pisar 3ae9371a5e - Adding a package for Azure Functions back to the project with Azure Functions;
- plus trivial documentation
2021-02-11 14:59:23 -08:00
Vasily Pisar 6fe011f2b1 - Adding an example for POST body;
- Using hostnames to resolve relative URLs
2021-02-08 14:21:34 -08:00
Vasily Pisar 8a630dbc45 Remove auth from all Azure Functions 2021-02-01 13:55:02 -08:00
Vasily Pisar 99c596cd43 Switching to anonymous access for Swagger 2021-01-31 00:59:27 -08:00
vapisar 5a2c3201ae
Merge pull request #1 from microsoft/users/vapisar/swagger_ui
Swagger UI
2021-01-22 11:09:21 -08:00
Vasily Pisar fd960cd00e Swagger UI: a working version
Main changes:
- Added Azure Functions with Swagger UI and OpenAPI spec;
- Nuget packages conflicting with Swagger and the build process were removed;
- Some small changes in tests to make the build work after duplicate packages were removed and library classes got loaded with other versions and changed API methods.

Minor changes:
- duplicate/useless Nuget packages were also cleaned up in the process;
- NUnit was removed to avoid using two testing frameworks.
2021-01-16 02:18:58 -08:00
Shirleen Sharma 442102a72c Merge branch 'main' of https://github.com/microsoft/cachepurge into main 2021-01-05 11:15:34 -08:00
Shirleen Sharma 0d435479f1 remove todo 2021-01-05 11:15:17 -08:00
Shirleen Sharma f7238ba6fe remove todo 2021-01-05 10:26:47 -08:00