Commit graph

80 commits

Author SHA1 Message Date
Gianluca Zuccarelli
f86f81d6d5 api: remove pull command
The api config supports pulling in the openapi schema's via a url, so there isn't a
need to pull this in manually and just run the code generation.

We also need to remove the `openshift-virt` target since this was removed from
image-builder-crc.
2025-07-23 10:23:12 +00:00
regexowl
855f1430ad api: Update pull.sh, regenerate schemas and fix errors
This adds missing schema links to the `pull.sh` script, pulls new schema definitions, re-generates schemas and updates the code where needed.
2025-07-03 10:01:15 +00:00
Michal Gold
852d24e568 PackageRecommendations: Add distribution to package recommendations
- Add required distribution field to RecommendPackageRequest
- Add modelVersion field to RecommendationsResponse
- Update frontend to send RHEL major version to API
- Add analytics tracking for distribution and modelVersion

Enables version-specific package recommendations and model usage tracking.
2025-06-30 12:51:40 +00:00
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
Lucas Garfield
8a41974d34 API: update api 2025-05-15 21:19:32 -05:00
Sanne Raymaekers
8b7d6ef2a7 api: update image-builder api 2025-05-14 12:36:43 -05:00
regexowl
ba68556388 API: Update content-services API schema
This updates content-services API schema so it includes end_date for modules.
2025-05-01 14:02:05 +02: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
regexowl
01d0eba70e store: Update imageBuilder API 2025-04-23 13:42:39 +02:00
regexowl
b0709ca9ce api: Update content-sources API schema
This updates content-sources API schema and regenerates it.
2025-04-17 12:45:00 -05:00
Sanne Raymaekers
2dde0f2177 api: support linting and fixing of blueprints 2025-04-17 13:40:10 +02:00
Anna Vítová
a4034e8787 Wizard: add satellite registration, add jwt-decode
The jwt decode dependency helps us to keep track of the token that is
present in the Satellite command. jwt-decode is the most popular
dependency for the job, and very easy to use.
2025-04-03 09:46:41 +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
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
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
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
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
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
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
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
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
Gianluca Zuccarelli
4212337d7e api: update image builder api
Update the api spec to include `masked` services
2024-03-19 10:59:31 +01: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
Ondrej Ezr
a04835c5a2 api: update content sources OpenAPI spec 2024-02-28 12:41:20 +01:00