From d3d89bf1d36dcc2e2088c2ddf8dde7ee2947f61d Mon Sep 17 00:00:00 2001 From: Michael McGuinness Date: Tue, 29 Apr 2025 14:58:55 +0000 Subject: [PATCH] Merged in feature/demo (pull request #123) Feature/demo * region * region * queryapivservice * region * region --- api/queryAPI/api.gen.go | 14 +++++++------- serviceAPIs/queryAPI.yaml | 25 +++++++++++-------------- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/api/queryAPI/api.gen.go b/api/queryAPI/api.gen.go index daebee3b..6c843e1e 100644 --- a/api/queryAPI/api.gen.go +++ b/api/queryAPI/api.gen.go @@ -872,13 +872,13 @@ var swaggerSpec = []string{ "mSPcnDX/Bze/d5ont7fNUfWPEDZKRwg6SUumohVwfnX5XilVKkTR61klq5BVp6U1wnY7vcHGwt5tikwZ", "I7Q8sbSEY2xlQ6RyuFrf2/aQ9R91mPX/CX1ygFJ0dKDBnJFcxbYSUFgsa4HkI5saOFCZHGKx2UAbxZmf", "8tDFIhBCGw0N6mKpGSeRqRIelCAviKaqf50pqDQ0Y8pJCvEy6w2dgG82u6eDB7OEGuc3iYn37obVSm5C", - "mL8Ulr2KrG//+pxI4ARXn4K5a2p7Pvlyw1TsNM6KM3jbXu/wzOs+WV9na5rKe/Z1aLbUa5BwzcWBjTm4", - "v9nUYB8nS9krY9swcO8zsv0FTpkMu/qNfPtK5Fu3+hUekUDvFqxb4yfLSbepU+wJbO1V3zobeyvB74H6", - "lSx8ju+Vx9mNSpfJxavNeLYZoF6DZrt3fF5OsjW0WPcbFMlPitm7YsnVvS14t8bS32i3r0C7XRtJ29Je", - "E36BI1SmKu/0TwxoIDYXi2NqDkfrspb8790USDEg5N7dIntvusY3ChelN+HFdPYhrL3bXCWtkVHE4RtV", - "bVdsGKXS5a6l++IP1VXGr5wFsZ/cANRXF+OKi5s+i9oPXe1adoxiT1+cc6gsOtRoqpJozWIQadEvT4so", - "lxNrunFM0GxPRXboup2lnNGkr9Kh97p9pTsm21Oi+XV7MCeamR7yR5nrdpO/x5r2li0WPN89/18AAAD/", - "/1+CAiY6ZwAA", + "mL8Ulr2KrG//+pxI4ARXn4K5a2p7Pvlyw1TsNM6KM3jbXu/wzOs+WV9na5rKm9tWr0HENZcHNubh/mbT", + "g32cLmWvjW3Dwr3PyPYXOGkyDOs3Au4rEXDd6td4RQLBW7Bvja8sJ9+mjrEn0LVXfuvs7K0UvwcKWLLw", + "Od5XGW83KmMml7A249xmAHsNyu3ecXo54dZQZN3vUSQ/L2bvjSXX+Lbg4Bprf6PgvgIFdyNEbUt7bfgF", + "zlCZtrzTPzmgAdlcNI6pOSyty2Dyv39TIMmAkHt3jew96hr/KFyc3oQn09mHsPauc5W0RkYRh2/UtV2x", + "Y5RKV7uX7o8/VFcev3IWxH5yK1BfZ4wrLnP6LGo/dLV72XGKPX1xDqKy6lCjqkqqNbNBpIXAPFWiXGKs", + "6caxQ7M9FRmj63aW8kiTvkoH4ev2le6ibE857a/biznpzPSSP+Jct5v8/da0t2wR4fnu+f8CAAD//wtA", + "8jpSZwAA", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/serviceAPIs/queryAPI.yaml b/serviceAPIs/queryAPI.yaml index 856f6e54..1582c3a7 100644 --- a/serviceAPIs/queryAPI.yaml +++ b/serviceAPIs/queryAPI.yaml @@ -21,7 +21,7 @@ tags: description: Operations related to collectors - name: DocumentsService description: Operations related to documents - - name: QueryAPI + - name: QueryService description: Operations related to queries - name: ExportService description: Operations related to exports @@ -127,7 +127,7 @@ paths: get: operationId: listQueries tags: - - QueryAPI + - QueryService summary: List queries description: Retrieves a list of queries based on filter criteria. security: @@ -153,7 +153,7 @@ paths: post: operationId: createQuery tags: - - QueryAPI + - QueryService summary: Create a new query description: Creates a new query with the provided details. security: @@ -190,7 +190,7 @@ paths: get: operationId: getQuery tags: - - QueryAPI + - QueryService summary: Get a query by ID description: Retrieves a specific query by its ID. security: @@ -216,7 +216,7 @@ paths: patch: operationId: updateQuery tags: - - QueryAPI + - QueryService summary: Update a query description: Updates an existing query with new details. security: @@ -249,7 +249,7 @@ paths: post: operationId: testQuery tags: - - QueryAPI + - QueryService summary: Test a query description: Executes a test run of a query with the provided parameters. security: @@ -496,7 +496,6 @@ paths: "500": $ref: "#/components/responses/InternalError" - /login: get: operationId: login @@ -629,9 +628,9 @@ paths: schema: type: string description: HTML content for the home page menu - maxLength: 1048576 # 1MB limit - pattern: "^.*$" # Any string content - format: html # Indicate format is HTML + maxLength: 1048576 + pattern: "^.*$" + format: html "400": $ref: "#/components/responses/InvalidRequest" "401": @@ -691,8 +690,8 @@ components: scheme: bearer bearerFormat: JWT description: >- - JWT token obtained after Cognito authentication. Implements RFC8725 JWT - best practices for security. + JWT token obtained after Cognito authentication. Implements RFC8725 JWT + best practices for security. cognitoAuth: type: oauth2 description: >- @@ -759,8 +758,6 @@ components: $ref: "#/components/schemas/ErrorMessage" schemas: - - # Query API schemas ClientID: type: string