-
Notifications
You must be signed in to change notification settings - Fork 10
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(graphQL): add missing subqueries/mutations #319
Conversation
41b80d9
to
e3a364b
Compare
35f2e5f
to
b357d04
Compare
b357d04
to
bf588c2
Compare
a192439
to
a337fef
Compare
/build_test |
Workflow started at 3/13/2024, 1:21:37 PM. View Actions Run. |
CI build and push: At least one test failed ❌ (JDK17) |
CI build and push: At least one test failed ❌ (JDK21) |
/build_test |
Workflow started at 3/13/2024, 1:47:04 PM. View Actions Run. |
CI build and push: All tests pass ✅ (JDK21) |
CI build and push: At least one test failed ❌ (JDK17) |
/build_test |
Workflow started at 3/13/2024, 4:20:25 PM. View Actions Run. |
CI build and push: All tests pass ✅ (JDK21) |
CI build and push: All tests pass ✅ (JDK17) |
Looking good. Could you also prepare a corresponding The end result of this PR and the frontend PR should be that you can edit recording labels (on both active and archived recordings): |
It might be easier to rebase on top of #315 since that's what also makes the |
CI build and push: At least one test failed ❌ (JDK17) |
CI build and push: All tests pass ✅ (JDK21) |
OpenAPI schema change detected: diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 95010a6..ef6a8d4 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -24,20 +24,22 @@ components:
type: string
type: object
type: object
ArchivedRecording:
properties:
archivedTime:
format: int64
type: integer
downloadUrl:
type: string
+ jvmId:
+ type: string
metadata:
$ref: '#/components/schemas/Metadata'
name:
type: string
reportUrl:
type: string
size:
format: int64
type: integer
type: object
@@ -375,20 +377,45 @@ paths:
type: array
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- Recordings
+ /api/beta/fs/recordings/{jvmId}:
+ get:
+ parameters:
+ - in: path
+ name: jvmId
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/ArchivedRecordingDirectory'
+ type: array
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Recordings
/api/beta/fs/recordings/{jvmId}/{filename}:
delete:
parameters:
- in: path
name: filename
required: true
schema:
type: string
- in: path
name: jvmId
@@ -1240,20 +1267,45 @@ paths:
application/json:
schema:
additionalProperties:
additionalProperties:
type: string
type: object
type: object
description: OK
tags:
- Discovery
+ /api/v2.2/graphql:
+ get:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
+ post:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
/api/v2/rules:
get:
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/V2Response'
description: OK
"401":
|
/build_test |
Workflow started at 3/22/2024, 4:07:44 PM. View Actions Run. |
CI build and push: All tests pass ✅ (JDK21) |
OpenAPI schema change detected: diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 95010a6..ef6a8d4 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -24,20 +24,22 @@ components:
type: string
type: object
type: object
ArchivedRecording:
properties:
archivedTime:
format: int64
type: integer
downloadUrl:
type: string
+ jvmId:
+ type: string
metadata:
$ref: '#/components/schemas/Metadata'
name:
type: string
reportUrl:
type: string
size:
format: int64
type: integer
type: object
@@ -375,20 +377,45 @@ paths:
type: array
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- Recordings
+ /api/beta/fs/recordings/{jvmId}:
+ get:
+ parameters:
+ - in: path
+ name: jvmId
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/ArchivedRecordingDirectory'
+ type: array
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Recordings
/api/beta/fs/recordings/{jvmId}/{filename}:
delete:
parameters:
- in: path
name: filename
required: true
schema:
type: string
- in: path
name: jvmId
@@ -1240,20 +1267,45 @@ paths:
application/json:
schema:
additionalProperties:
additionalProperties:
type: string
type: object
type: object
description: OK
tags:
- Discovery
+ /api/v2.2/graphql:
+ get:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
+ post:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
/api/v2/rules:
get:
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/V2Response'
description: OK
"401":
|
CI build and push: All tests pass ✅ (JDK17) |
/build_test |
Workflow started at 4/1/2024, 3:19:51 PM. View Actions Run. |
CI build and push: All tests pass ✅ (JDK21) |
OpenAPI schema change detected: diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 95010a6..ef6a8d4 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -24,20 +24,22 @@ components:
type: string
type: object
type: object
ArchivedRecording:
properties:
archivedTime:
format: int64
type: integer
downloadUrl:
type: string
+ jvmId:
+ type: string
metadata:
$ref: '#/components/schemas/Metadata'
name:
type: string
reportUrl:
type: string
size:
format: int64
type: integer
type: object
@@ -375,20 +377,45 @@ paths:
type: array
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- Recordings
+ /api/beta/fs/recordings/{jvmId}:
+ get:
+ parameters:
+ - in: path
+ name: jvmId
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/ArchivedRecordingDirectory'
+ type: array
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Recordings
/api/beta/fs/recordings/{jvmId}/{filename}:
delete:
parameters:
- in: path
name: filename
required: true
schema:
type: string
- in: path
name: jvmId
@@ -1240,20 +1267,45 @@ paths:
application/json:
schema:
additionalProperties:
additionalProperties:
type: string
type: object
type: object
description: OK
tags:
- Discovery
+ /api/v2.2/graphql:
+ get:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
+ post:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
/api/v2/rules:
get:
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/V2Response'
description: OK
"401":
|
CI build and push: All tests pass ✅ (JDK17) |
Server side looks great, just a couple of minor notes above but otherwise this is just about ready to merge. |
/build_test |
Workflow started at 4/12/2024, 8:58:45 PM. View Actions Run. |
OpenAPI schema change detected: diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 95010a6..ef6a8d4 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -24,20 +24,22 @@ components:
type: string
type: object
type: object
ArchivedRecording:
properties:
archivedTime:
format: int64
type: integer
downloadUrl:
type: string
+ jvmId:
+ type: string
metadata:
$ref: '#/components/schemas/Metadata'
name:
type: string
reportUrl:
type: string
size:
format: int64
type: integer
type: object
@@ -375,20 +377,45 @@ paths:
type: array
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- Recordings
+ /api/beta/fs/recordings/{jvmId}:
+ get:
+ parameters:
+ - in: path
+ name: jvmId
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/ArchivedRecordingDirectory'
+ type: array
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Recordings
/api/beta/fs/recordings/{jvmId}/{filename}:
delete:
parameters:
- in: path
name: filename
required: true
schema:
type: string
- in: path
name: jvmId
@@ -1240,20 +1267,45 @@ paths:
application/json:
schema:
additionalProperties:
additionalProperties:
type: string
type: object
type: object
description: OK
tags:
- Discovery
+ /api/v2.2/graphql:
+ get:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
+ post:
+ responses:
+ "200":
+ description: OK
+ "401":
+ description: Not Authorized
+ "403":
+ description: Not Allowed
+ security:
+ - SecurityScheme: []
+ tags:
+ - Graph QL
/api/v2/rules:
get:
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/V2Response'
description: OK
"401":
|
CI build and push: All tests pass ✅ (JDK17) |
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
Based on: #315
Fixes #322
Description of the change:
This change allows an environment variable to be configured so that...
Motivation for the change:
This change is helpful because users may want to...
How to manually test:
cd src/main/webui
gh pr checkout 1227
orgit checkout + PR
cd -
./mvnw clean package ; podman image prune -f ; ./smoketest.bash -O