Commit graph

51 commits

Author SHA1 Message Date
Gianluca Zuccarelli
9c3581f21c store: split apis into sub directories
Since we will need to add other api endpoints, e.g. `contentSourcesApi` for
the on-prem frontend, this PR restructures the store directory to make future
changes more manageable.
2025-02-03 13:40:30 +01:00
Michal Gold
224b927921 this commit adds the latest changes in api schema 2025-01-09 10:31:55 +01:00
Anna Vítová
b7b9d2ac24 src: add notification for custom repo imports
Show notification about imported custom repositories
2025-01-07 12:11:25 +01:00
Ondrej Ezr
a99c26143e api: update imagebuilder schema 2024-11-28 09:01:08 +01:00
Anna Vítová
5cfab75813 api: update image-builder api 2024-11-26 13:03:55 +01:00
regexowl
ad784b9ab9 api: Update contentSources schema
This updates the contentSources schema and regenerates the API.
2024-11-19 18:44:49 -06:00
Sanne Raymaekers
83125863e6 api: update image-builder api 2024-11-19 11:21:57 +01:00
regexowl
c2926ff147 devDeps: Manually bump @rtk-query/codegen-openapi
This bumps @rtk-query/codegen-openapi from 1.2.0 to 2.0.0
2024-11-06 13:45:34 +01:00
Michal Gold
c4170102cd update main branch with changes in the api
run `npm run api` to update the main branch
2024-10-29 18:16:23 +02:00
Sanne Raymaekers
25f9fac059 store: regenerate image builder api
Includes rhel-9-beta distro.
2024-10-17 10:22:30 +02:00
Anna Vítová
3034f48c39 update compliance and content sources api 2024-10-08 17:57:40 +02:00
Gianluca Zuccarelli
506e18af77 api: update image-builder api
Adds the new CCN profiles for RHEL9 & Centos 9
2024-09-30 08:50:08 +02:00
Gianluca Zuccarelli
4ff13d7c13 api: update compliance api 2024-09-30 08:50:08 +02:00
Sanne Raymaekers
29b57cf9da api: update image-builder api
Includes new compliance openscap customisation.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
f5443ec819 api: add compliance api 2024-09-25 15:26:09 +02:00
Ondrej Ezr
e1057208f3 Blueprint: show basic version diff 2024-08-05 18:48:08 +02:00
regexowl
434c90a6b8 api: Update image-builder API
This updates image-builder API by running `npm run api`.
2024-08-02 11:31:20 +02:00
Amir
54d09d636e feat(HMS-4200): remove blueprint endpoints /experimental 2024-06-18 17:29:50 +02:00
Michal Gold
0e71489a9f add changes at schema to the main branch <HMS-4066> 2024-05-28 14:34:43 +03:00
Sanne Raymaekers
2a7321247a src: add rhel-8.10 2024-05-27 16:21:54 +02:00
regexowl
034843a708 src: Add rhel-94
This adds rhel94.
2024-05-02 16:44:33 +02:00
Andrew Dewar
ee81385626 Add comment to css change 2024-05-02 15:17:08 +03:00
Andrew Dewar
f9aae48dd1 Wizard V2: Packages refactor, recommendations fix. 2024-05-02 15:17:08 +03:00
Andrew Dewar
3231b324f0 HMS-3796: Add snapshot date selection to wizard 2024-04-25 14:45:50 +02:00
regexowl
6de7645be5 API: Update imageBuilder API schema
This updates the imageBuilder API schema.
2024-04-25 11:22:08 +02:00
Gianluca Zuccarelli
4212337d7e api: update image builder api
Update the api spec to include `masked` services
2024-03-19 10:59:31 +01:00
Ondrej Ezr
a04835c5a2 api: update content sources OpenAPI spec 2024-02-28 12:41:20 +01:00
Anna Vítová
04e02b9426 api: update image builder api via npm run api 2024-02-01 10:48:11 +01:00
lucasgarfield
46ac78b1de api: update image builder api via npm run api
There have been some recent updates to the /experimental/ routes related
to blueprints, this commit pulls them in.
2024-01-22 15:31:33 +01:00
Sanne Raymaekers
54a560670e api: update image builder api
Include the experimental blueprint endpoints.
2024-01-11 15:15:37 +01:00
lucasgarfield
c7dd831645 API: Update image-builder API
This commit updates the image-builder API due to these two recent
changes:

A new type added for the ClientId, used when differentiating between API
and UI users.
fce3d1c355

OpenSCAP profile names and descriptions.
1d292917d1
2023-12-04 10:48:29 +01:00
regexowl
39531bf2bb api: Update imageBuilder api schema
This includes an update to the imageBuilder api schema and changes generated by `npm run api`.
2023-11-28 13:01:00 +01:00
Sanne Raymaekers
f1141ec698 src: add RHEL 8.9 2023-11-16 14:44:21 +01:00
Sanne Raymaekers
6e737c59a9 src: add rhel-93 2023-11-13 17:32:32 +01:00
regexowl
de30c6c637 store: Update api schema
This updates the api schema to the newest version and also adds `isOciUploadStatus` to the type guards.
2023-11-07 11:13:28 +01:00
Thomas Lavocat
273aa52711 api: update to latest image builder
This will let the code access the new endpoints to get the OSCAP
profiles and OSCAP customizations for the images.

HMS-2077
2023-10-06 16:26:09 +02:00
lucasgarfield
67570b8e54 Revert "API: Add Compliance API slice"
This reverts commit 36f9e70565.

The Compliance v1 API is not stable and not intended for consumption by
other teams. We will implement the OpenSCAP MVP without the Compliance
API for now with a hard coded list of polices in image-builder, and when
their v2 API is ready in the near future begin using it to retrieve
policies.
2023-10-06 13:35:27 +02:00
lucasgarfield
36f9e70565 API: Add Compliance API slice
This commit adds the Compliance service's API, which we can query for a
list of SCAP security policies.

In a follow-up PR, we will allow the user to optionally select a policy
when creating an image in the wizard.
2023-09-28 14:50:33 +02:00
mgold1234
1bb7519cc4 api: add new edge endpoints
This commit adds 2 more RTQ Query in preparation of porting edge source code to image-builder-frontend
2023-09-19 10:27:23 +02:00
Justin Sherrill
5d6b6dfbfe Filter content-sources repos by origin and content_type 2023-09-19 09:22:37 +02:00
Ondrej Ezr
1e37a6ece9 Migrate to Provisioning API nested root 2023-09-11 15:19:31 +02:00
Thomas Lavocat
f147d5f4fe api: update from latest imageBuilder@main
Adds the composeId to the CloneResponseItem element.
Updates the mocks accordingly
2023-09-11 13:20:15 +02:00
mgold1234
e266073718 Api: generate RTK Query for Edge
This commit adds the Edge API to RTK Query in preparation of porting edge source code to image-builder-frontend
2023-09-04 15:14:48 +02:00
Thomas Lavocat
108f0bc017 openapi: update image builder yaml to latest@main
Update the yaml openapi representation from the latest version on image
builder's repo commit 0ebf2401589b8f8d88d37aebbef17c009160bc7f
2023-08-30 15:14:19 +02:00
Thomas Lavocat
45b717bc27 openapi: import from yaml instead of JSON
Use the yaml representation of the openapi used in Image Builder to load
generate the RTKQ code.
2023-08-30 15:14:19 +02:00
Sanne Raymaekers
93c1f43544 CreateImageWizard: add WSL image type in preview 2023-08-29 13:37:56 +02:00
lucasgarfield
217796d016 API: Rename image-builder to imageBuilder for consistency 2023-07-28 15:05:08 +02:00
lucasgarfield
702b667dc5 API: Add programatically generated Provisioning API slice definitions
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00
lucasgarfield
74528356fa API: Add programatically generated Content Sources API slice definitions
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00
lucasgarfield
22df78bffa API: Add programatically generated RHSM API slice definitions
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00