Closed andrewazores closed 4 months ago
/build_test
Workflow started at 5/28/2024, 11:04:14 AM. View Actions Run.
OpenAPI schema change detected:
diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 87a077f..9156e21 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -358,20 +358,53 @@ info:
name: Cryostat Community
url: https://cryostat.io
description: Cloud-Native JDK Flight Recorder
license:
name: Apache 2.0
url: https://github.com/cryostatio/cryostat3/blob/main/LICENSE
title: Cryostat API
version: 3.0.0-snapshot
openapi: 3.0.3
paths:
+ /api/beta/credentials/{connectUrl}:
+ post:
+ parameters:
+ - in: path
+ name: connectUrl
+ required: true
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ properties:
+ password:
+ type: string
+ username:
+ type: string
+ type: object
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/V2Response'
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Credentials Test
/api/beta/fs/recordings:
get:
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ArchivedRecordingDirectory'
type: array
No GraphQL schema changes detected.
CI build and push: At least one test failed ❌ (JDK17) https://github.com/cryostatio/cryostat3/actions/runs/9271784778
/build_test
Workflow started at 5/28/2024, 11:16:29 AM. View Actions Run.
OpenAPI schema change detected:
diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 9156e21..96e94aa 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -390,21 +390,21 @@ paths:
schema:
$ref: '#/components/schemas/V2Response'
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- - Credentials Test
+ - Credential Check
/api/beta/fs/recordings:
get:
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ArchivedRecordingDirectory'
type: array
No GraphQL schema changes detected.
CI build and push: All tests pass ✅ (JDK17) https://github.com/cryostatio/cryostat3/actions/runs/9271991192
/build_test
Workflow started at 5/28/2024, 12:07:53 PM. View Actions Run.
No GraphQL schema changes detected.
No OpenAPI schema changes detected.
CI build and push: All tests pass ✅ (JDK17) https://github.com/cryostatio/cryostat3/actions/runs/9272735330
Welcome to Cryostat3! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
To recreate commits with GPG signature
git fetch upstream && git rebase --force --gpg-sign upstream/main
Fixes: #478 Related to #2
Description of the change:
Reimplements the
/api/beta/credentials/{connectUrl}
endpoint. This is used on the Security > Store Credentials > List view for testing credentials against targets before actually storing the credential.How to manually test:
./smoktest.bash -Ot
true
and credentialsadmin:adminpass123
Before this PR, all of the results would come back with Invalid responses for everything since the endpoint would always return a 404.