Skip to content
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

Included ProjectID in the OS service schema #130

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions v1/api/swagger/components/schemas/OSServiceImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ allOf:
- FWBaselineID
- UserDefinedSteps
- Classifiers
- ProjectID
properties:
ProjectID:
type: string
format: uuid
description: >-
Unique ID of the project that owns this OS service image.
example: 046b6c7f-0b8a-43b9-b35d-6489e6daee92
Description:
type: string
example: Description of the image
Expand Down
10 changes: 5 additions & 5 deletions v1/html/index.html

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7430,6 +7430,11 @@ components:
- Proxy
OSServiceImage_allOf:
properties:
ProjectID:
description: Unique ID of the project that owns this OS service image.
example: 046b6c7f-0b8a-43b9-b35d-6489e6daee92
format: uuid
type: string
Description:
example: Description of the image
type: string
Expand Down Expand Up @@ -7516,6 +7521,7 @@ components:
- NoSwitchLAG
- Origin
- PermittedProjects
- ProjectID
- Timeout
- UserDefinedSteps
- Version
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/OsServiceImage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Name** | **string** | Common name for the resource instance. Must be 128 or fewer printable characters |
**Created** | [**time.Time**](time.Time.md) | Time when the resource was created in the database |
**Modified** | [**time.Time**](time.Time.md) | Time when the resource was last modified in the database |
**ProjectID** | **string** | Unique ID of the project that owns this OS service image. |
**Description** | **string** | |
**Category** | **string** | A high level classification of the service. |
**Flavor** | **string** | An high level description of the OS image type. |
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/OsServiceImageAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ProjectID** | **string** | Unique ID of the project that owns this OS service image. |
**Description** | **string** | |
**Category** | **string** | A high level classification of the service. |
**Flavor** | **string** | An high level description of the OS image type. |
Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_os_service_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ type OsServiceImage struct {
Created time.Time `json:"Created"`
// Time when the resource was last modified in the database
Modified time.Time `json:"Modified"`
// Unique ID of the project that owns this OS service image.
ProjectID string `json:"ProjectID"`
Description string `json:"Description"`
// A high level classification of the service.
Category string `json:"Category"`
Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_os_service_image_all_of.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
package client
// OsServiceImageAllOf struct for OsServiceImageAllOf
type OsServiceImageAllOf struct {
// Unique ID of the project that owns this OS service image.
ProjectID string `json:"ProjectID"`
Description string `json:"Description"`
// A high level classification of the service.
Category string `json:"Category"`
Expand Down