Commit graph

36 commits

Author SHA1 Message Date
Michal Gold
df5388dae8 Repositories: fix architecture/version display to use readable names from API
- Add listRepositoryParameters endpoint to contentSources API
- Display human-readable names instead of technical labels
- Fix inconsistency between Image Builder and Repositories service display
- Resolve "any" vs "Any" capitalization issue -
https://github.com/osbuild/image-builder-frontend/issues/3008
2025-06-19 10:27:56 +00:00
Sanne Raymaekers
a69a09fa4f api: update image-builder-crc api
Includes fetching tailored customizations for compliance policies.
2025-04-30 11:38:12 +02:00
Bryttanie House
0238c04dfe Wizard: add support for content templates 2025-04-25 10:31:43 +02:00
Sanne Raymaekers
2dde0f2177 api: support linting and fixing of blueprints 2025-04-17 13:40:10 +02:00
Sanne Raymaekers
a65d17ba4e api: Add osbuild-composer's cloudapi 2025-02-05 15:54:57 +01:00
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
Anna Vítová
e805c65f81 src: add custom repositories import feature
This allows sharing blueprints cross organizations even with custom
repositories.
2025-01-07 12:11:25 +01:00
Gianluca Zuccarelli
bad77421ae api: union undefined
Set the option to generate union undefined types for objects that have
optional items. This will allow us to enable `exactOptionalPropertyTypes`
in our tsconfig [1].

[1] This is a recommended setting, see:
https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
2024-12-06 12:02:34 -06:00
Sanne Raymaekers
e16348eda4 api/compliance: add endpoints
Policies to query the list of policies, and policy to get the details of
a single policy.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
f5443ec819 api: add compliance api 2024-09-25 15:26:09 +02:00
Anna Vítová
c385417e93 HMS-4459: Use export endpoint 2024-09-04 17:45:11 +02:00
Sanne Raymaekers
177e4b227c CreateImageWizardV2: search package groups in distro repositories
By prepending an `@`, users can search for package groups. A single `@`
just lists all groups.
2024-06-21 10:12:39 +02: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
regexowl
d890094e09 api: Add createRepository end point to contentSources schema
This adds `createRepository` end point to contentSources API schema.
2024-04-12 12:45:36 +02:00
Anna Vítová
669e3c07e3 feat(HMS-3687): Add blueprints exporting 2024-04-12 11:19:26 +02:00
Amir
45d50b2440 Blueprints: Add blueprint editing 2024-03-04 14:48:32 +01:00
regexowl
e955293538 store: Update content-sources API schema
This adds `searchRpm` as a filtered endpoint.
2024-02-28 17:17:00 +01:00
Anna Vítová
04e02b9426 api: update image builder api via npm run api 2024-02-01 10:48:11 +01:00
Sanne Raymaekers
54a560670e api: update image builder api
Include the experimental blueprint endpoints.
2024-01-11 15:15:37 +01:00
Amir Fefer
16cf421c68 feat(HMS-2789): simplfy activation key creation 2023-11-23 16:19:07 +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
mgold1234
e998dd802b API: generate more RTK query for edge
This commit adds more RTQ query in preparation of porting edge source code to image-builder-frontend
2023-09-11 11:09:51 +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
lucasgarfield
85ab893c2b API: Add mutations for creating composes and clones
This commit adds mutations for the /compose and
/composes/:composeId/clone POST end points to the Image Builder API
slice.
2023-09-04 10:50:00 +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
regexowl
05bc175a71 api/config: Lint API configs
This fixes linting errors in configuration files for API code generation.
2023-08-10 10:20:47 +02:00
regexowl
e2ffc1705c test/fixtures: Migrate the packages fixture to TypeScript
This migrates the `packages` fixture to TypeScript and adds needed types to `index.ts`
2023-08-07 10:01:40 +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
lucasgarfield
1894a9dcb2 API: Add programatically generated Image Builder 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