Skip to content

Commit c3efd91

Browse files
dependabot[bot]monty-botacabarbaye
authored
⬆️ Bump github.com/ARM-software/golang-utils/utils from 1.91.0 to 1.92.0 in /client (#88)
Bumps [github.com/ARM-software/golang-utils/utils](https://github.com/ARM-software/golang-utils) from 1.91.0 to 1.92.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ARM-software/golang-utils/releases">github.com/ARM-software/golang-utils/utils's releases</a>.</em></p> <blockquote> <h2>Release 1.92.0</h2> <!-- raw HTML omitted --> <h1>Changelog</h1> <!-- raw HTML omitted --> <p>This document contains a history of significant changes which have been released for <code>golang-utils</code>. Please note that beta releases are not included in this history.</p> <h1>&quot;1.92.0&quot; (2025-04-11)</h1> <h2>Features</h2> <ul> <li>:boom: <code>[mocks]</code> Move from <a href="https://github.com/golang/mock">golang mock</a> to <a href="https://github.com/ARM-software/golang-utils/blob/HEAD/go.uber.org/mock/gomock">uber mock</a>. ⚠️ Potential breaking changes&quot; (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250409092040">#20250409092040</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Dependency upgrade: v5-5.15.0 (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250411104622">#20250411104622</a>, <a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250411104624">#20250411104624</a>)</li> </ul> <h1>&quot;1.91.0&quot; (2025-04-09)</h1> <h2>Features</h2> <ul> <li>:sparkles: <code>[filesystem]</code> Add filesytem aware <code>Base()</code> and <code>Clean()</code> to filepath Utils (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250409132457">#20250409132457</a>)</li> </ul> <h1>&quot;1.90.0&quot; (2025-04-09)</h1> <h2>Features</h2> <ul> <li>:sparkles: <code>[filesystem]</code> Add <code>FilePathJoin()</code> to join path elements such as <code>filepath.Join</code> but on a particular filesystem (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250408174711">#20250408174711</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ARM-software/golang-utils/blob/master/CHANGELOG.md">github.com/ARM-software/golang-utils/utils's changelog</a>.</em></p> <blockquote> <h1>&quot;1.92.0&quot; (2025-04-11)</h1> <h2>Features</h2> <ul> <li>:boom: <code>[mocks]</code> Move from <a href="https://github.com/golang/mock">golang mock</a> to <a href="https://github.com/ARM-software/golang-utils/blob/master/go.uber.org/mock/gomock">uber mock</a>. ⚠️ Potential breaking changes&quot; (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250409092040">#20250409092040</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Dependency upgrade: v5-5.15.0 (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250411104622">#20250411104622</a>, <a href="https://redirect.github.com/ARM-software/golang-utils/issues/20250411104624">#20250411104624</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ARM-software/golang-utils/commit/b6a79057cbca2c4dc9086ac359f1af3599d29594"><code>b6a7905</code></a> 🚀 releasing version 1.92.0 @ 2025-04-11 15:56</li> <li><a href="https://github.com/ARM-software/golang-utils/commit/cbf01d8427792f2dc3fbcc4be343b2b381dede3f"><code>cbf01d8</code></a> ⬆️ Bump github.com/go-git/go-git/v5 from 5.14.0 to 5.15.0 in /utils (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/602">#602</a>)</li> <li><a href="https://github.com/ARM-software/golang-utils/commit/a21ee596aa570716729d9f62922df96a2f3c6915"><code>a21ee59</code></a> :boom: <code>[mocks]</code> Move from <code>golang mock</code> to <code>uber mock</code>. (<a href="https://redirect.github.com/ARM-software/golang-utils/issues/600">#600</a>)</li> <li>See full diff in <a href="https://github.com/ARM-software/golang-utils/compare/v1.91.0...v1.92.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/ARM-software/golang-utils/utils&package-manager=go_modules&previous-version=1.91.0&new-version=1.92.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monty Bot <[email protected]> Co-authored-by: Adrien CABARBAYE <[email protected]> Co-authored-by: acabarbaye <[email protected]> Co-authored-by: acabarbaye <[email protected]>
1 parent 594fbdb commit c3efd91

20 files changed

+991
-176
lines changed

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"filename": "client/docs/AuthorizationAPI.md",
108108
"hashed_secret": "b6c30ab47db0e58093620b979821ff3a0f14226d",
109109
"is_verified": false,
110-
"line_number": 36
110+
"line_number": 39
111111
}
112112
],
113113
"client/docs/FPGAJobsAPI.md": [
@@ -145,5 +145,5 @@
145145
}
146146
]
147147
},
148-
"generated_at": "2025-03-28T14:53:09Z"
148+
"generated_at": "2025-05-17T07:56:49Z"
149149
}

changes/20250516203716.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: utils-1.92.0

changes/20250517075846.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated client due to schema changes

client/.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ docs/FPGAPayloadItem.md
9090
docs/FPGAPayloadItemLinks.md
9191
docs/FPGAPayloadRepositories.md
9292
docs/FPGAPayloadsAPI.md
93+
docs/FPGATarget.md
94+
docs/FPGAWorkload.md
9395
docs/FPGAsAPI.md
9496
docs/FieldObject.md
9597
docs/GenericWorkJobCollection.md
@@ -221,6 +223,8 @@ model_fpga_payload_collection.go
221223
model_fpga_payload_item.go
222224
model_fpga_payload_item_links.go
223225
model_fpga_payload_repositories.go
226+
model_fpga_target.go
227+
model_fpga_workload.go
224228
model_generic_work_job_collection.go
225229
model_generic_work_job_item.go
226230
model_generic_work_job_item_links.go

client/.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.12.0
1+
7.13.0

client/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
3737

3838
- API version: 1.1.1
3939
- Package version: 1.0.0
40-
- Generator version: 7.12.0
40+
- Generator version: 7.13.0
4141
- Build package: org.openapitools.codegen.languages.GoClientCodegen
4242
For more information, please visit [https://www.keil.com/](https://www.keil.com/)
4343

@@ -296,6 +296,8 @@ Class | Method | HTTP request | Description
296296
- [FPGAPayloadItem](docs/FPGAPayloadItem.md)
297297
- [FPGAPayloadItemLinks](docs/FPGAPayloadItemLinks.md)
298298
- [FPGAPayloadRepositories](docs/FPGAPayloadRepositories.md)
299+
- [FPGATarget](docs/FPGATarget.md)
300+
- [FPGAWorkload](docs/FPGAWorkload.md)
299301
- [FieldObject](docs/FieldObject.md)
300302
- [GenericWorkJobCollection](docs/GenericWorkJobCollection.md)
301303
- [GenericWorkJobItem](docs/GenericWorkJobItem.md)

client/docs/FPGAItem.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ Name | Type | Description | Notes
2121
**Name** | **string** | Unique ID of this FPGA | [readonly]
2222
**Ready** | **bool** | True if this FPGA is ready to accept jobs to run. | [readonly]
2323
**Repositories** | Pointer to [**FPGAPayloadRepositories**](FPGAPayloadRepositories.md) | | [optional]
24+
**SupportedTargets** | [**[]FPGATarget**](FPGATarget.md) | A list of targets supported for this FPGA |
2425
**Title** | **string** | Human readable name of the FPGA. |
2526
**WorkerAuthToken** | Pointer to **string** | Hybrid RSA AES encoded worker authorisation token to use for authorising with the boundary controller | [optional]
2627

2728
## Methods
2829

2930
### NewFPGAItem
3031

31-
`func NewFPGAItem(links NullableFPGAItemLinks, metadata NullableCommonMetadata, busy bool, deprecated bool, description string, name string, ready bool, title string, ) *FPGAItem`
32+
`func NewFPGAItem(links NullableFPGAItemLinks, metadata NullableCommonMetadata, busy bool, deprecated bool, description string, name string, ready bool, supportedTargets []FPGATarget, title string, ) *FPGAItem`
3233

3334
NewFPGAItem instantiates a new FPGAItem object
3435
This constructor will assign default values to properties that have it defined,
@@ -353,6 +354,26 @@ SetRepositories sets Repositories field to given value.
353354

354355
HasRepositories returns a boolean if a field has been set.
355356

357+
### GetSupportedTargets
358+
359+
`func (o *FPGAItem) GetSupportedTargets() []FPGATarget`
360+
361+
GetSupportedTargets returns the SupportedTargets field if non-nil, zero value otherwise.
362+
363+
### GetSupportedTargetsOk
364+
365+
`func (o *FPGAItem) GetSupportedTargetsOk() (*[]FPGATarget, bool)`
366+
367+
GetSupportedTargetsOk returns a tuple with the SupportedTargets field if it's non-nil, zero value otherwise
368+
and a boolean to check if the value has been set.
369+
370+
### SetSupportedTargets
371+
372+
`func (o *FPGAItem) SetSupportedTargets(v []FPGATarget)`
373+
374+
SetSupportedTargets sets SupportedTargets field to given value.
375+
376+
356377
### GetTitle
357378

358379
`func (o *FPGAItem) GetTitle() string`

client/docs/FPGAJobItem.md

Lines changed: 34 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ Name | Type | Description | Notes
1616
**Error** | **bool** | True if there was an error in the service while attempting the job. | [readonly]
1717
**Failure** | **bool** | True if the job failed (this should be used in conjunction with the &#x60;done&#x60; property). | [readonly]
1818
**Name** | **string** | Unique ID of the FPGA job. | [readonly]
19-
**Project** | Pointer to **string** | Identifier of the payload to run on the FPGA. | [optional]
20-
**Queued** | Pointer to **bool** | True if job is currently queued and waiting to be processed. Otherwise, the job is either currently being processed or ended. | [optional] [readonly]
19+
**Queued** | **bool** | True if job is currently queued and waiting to be processed. Otherwise, the job is either currently being processed or ended. | [readonly]
2120
**ReadyForConnection** | **bool** | True when the application running on the FPGA is ready to handle connections. If the job does not support connection, this flag will never be true. | [readonly]
2221
**Status** | **string** | A summary status of the job. Note: this value should not be relied upon to determine whether a job has completed, succeeded or failed as this list may change as state machine evolves. Use resource appropriate flags instead. | [readonly]
2322
**StepsCompleted** | **NullableInt32** | The number of steps that have been completed so far. Please note: - This value also includes additional service orchestration steps, that are outside the core process, so may differ from the job progress indicated within job messages. - This value will only be available after the job has been started. | [readonly]
2423
**StepsTotal** | **NullableInt32** | The total number of steps that will need to be performed to complete the job. Please note: - This value also includes additional service orchestration steps, that are outside the core process, so may differ from the job progress indicated within job messages. - This value will only be available after the job has been started. | [readonly]
2524
**Success** | **bool** | True if the job was successful (this should be used in conjunction with the &#x60;done&#x60; property). | [readonly]
2625
**SupportConnection** | **bool** | True when the job allows direct connection to the job instance (application running on the FPGA). | [readonly]
26+
**Target** | [**FPGATarget**](FPGATarget.md) | |
2727
**Timeout** | Pointer to **int64** | The maximum time (in seconds) that the job will be allowed to run. After the timeout has expired the job will be aborted and reported as a failure. The timeout does not include any time the request spent being queued, waiting for the job to be started. | [optional] [default to 300]
28-
**Title** | Pointer to **NullableString** | Optional human readable name of the FPGA job. | [optional]
29-
**Workspace** | Pointer to **NullableString** | Identifier of the workspace where the project is present. | [optional]
28+
**Title** | Pointer to **NullableString** | Optional human-readable name of the FPGA job. | [optional]
29+
**Workload** | [**FPGAWorkload**](FPGAWorkload.md) | |
3030

3131
## Methods
3232

3333
### NewFPGAJobItem
3434

35-
`func NewFPGAJobItem(links NullableFPGAJobItemLinks, metadata NullableCommonMetadata, connected bool, done bool, error_ bool, failure bool, name string, readyForConnection bool, status string, stepsCompleted NullableInt32, stepsTotal NullableInt32, success bool, supportConnection bool, ) *FPGAJobItem`
35+
`func NewFPGAJobItem(links NullableFPGAJobItemLinks, metadata NullableCommonMetadata, connected bool, done bool, error_ bool, failure bool, name string, queued bool, readyForConnection bool, status string, stepsCompleted NullableInt32, stepsTotal NullableInt32, success bool, supportConnection bool, target FPGATarget, workload FPGAWorkload, ) *FPGAJobItem`
3636

3737
NewFPGAJobItem instantiates a new FPGAJobItem object
3838
This constructor will assign default values to properties that have it defined,
@@ -242,31 +242,6 @@ and a boolean to check if the value has been set.
242242
SetName sets Name field to given value.
243243

244244

245-
### GetProject
246-
247-
`func (o *FPGAJobItem) GetProject() string`
248-
249-
GetProject returns the Project field if non-nil, zero value otherwise.
250-
251-
### GetProjectOk
252-
253-
`func (o *FPGAJobItem) GetProjectOk() (*string, bool)`
254-
255-
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise
256-
and a boolean to check if the value has been set.
257-
258-
### SetProject
259-
260-
`func (o *FPGAJobItem) SetProject(v string)`
261-
262-
SetProject sets Project field to given value.
263-
264-
### HasProject
265-
266-
`func (o *FPGAJobItem) HasProject() bool`
267-
268-
HasProject returns a boolean if a field has been set.
269-
270245
### GetQueued
271246

272247
`func (o *FPGAJobItem) GetQueued() bool`
@@ -286,11 +261,6 @@ and a boolean to check if the value has been set.
286261

287262
SetQueued sets Queued field to given value.
288263

289-
### HasQueued
290-
291-
`func (o *FPGAJobItem) HasQueued() bool`
292-
293-
HasQueued returns a boolean if a field has been set.
294264

295265
### GetReadyForConnection
296266

@@ -432,6 +402,26 @@ and a boolean to check if the value has been set.
432402
SetSupportConnection sets SupportConnection field to given value.
433403

434404

405+
### GetTarget
406+
407+
`func (o *FPGAJobItem) GetTarget() FPGATarget`
408+
409+
GetTarget returns the Target field if non-nil, zero value otherwise.
410+
411+
### GetTargetOk
412+
413+
`func (o *FPGAJobItem) GetTargetOk() (*FPGATarget, bool)`
414+
415+
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise
416+
and a boolean to check if the value has been set.
417+
418+
### SetTarget
419+
420+
`func (o *FPGAJobItem) SetTarget(v FPGATarget)`
421+
422+
SetTarget sets Target field to given value.
423+
424+
435425
### GetTimeout
436426

437427
`func (o *FPGAJobItem) GetTimeout() int64`
@@ -492,41 +482,26 @@ HasTitle returns a boolean if a field has been set.
492482
`func (o *FPGAJobItem) UnsetTitle()`
493483

494484
UnsetTitle ensures that no value is present for Title, not even an explicit nil
495-
### GetWorkspace
485+
### GetWorkload
496486

497-
`func (o *FPGAJobItem) GetWorkspace() string`
487+
`func (o *FPGAJobItem) GetWorkload() FPGAWorkload`
498488

499-
GetWorkspace returns the Workspace field if non-nil, zero value otherwise.
489+
GetWorkload returns the Workload field if non-nil, zero value otherwise.
500490

501-
### GetWorkspaceOk
491+
### GetWorkloadOk
502492

503-
`func (o *FPGAJobItem) GetWorkspaceOk() (*string, bool)`
493+
`func (o *FPGAJobItem) GetWorkloadOk() (*FPGAWorkload, bool)`
504494

505-
GetWorkspaceOk returns a tuple with the Workspace field if it's non-nil, zero value otherwise
495+
GetWorkloadOk returns a tuple with the Workload field if it's non-nil, zero value otherwise
506496
and a boolean to check if the value has been set.
507497

508-
### SetWorkspace
509-
510-
`func (o *FPGAJobItem) SetWorkspace(v string)`
511-
512-
SetWorkspace sets Workspace field to given value.
513-
514-
### HasWorkspace
515-
516-
`func (o *FPGAJobItem) HasWorkspace() bool`
517-
518-
HasWorkspace returns a boolean if a field has been set.
519-
520-
### SetWorkspaceNil
498+
### SetWorkload
521499

522-
`func (o *FPGAJobItem) SetWorkspaceNil(b bool)`
500+
`func (o *FPGAJobItem) SetWorkload(v FPGAWorkload)`
523501

524-
SetWorkspaceNil sets the value for Workspace to be an explicit nil
502+
SetWorkload sets Workload field to given value.
525503

526-
### UnsetWorkspace
527-
`func (o *FPGAJobItem) UnsetWorkspace()`
528504

529-
UnsetWorkspace ensures that no value is present for Workspace, not even an explicit nil
530505

531506
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
532507

client/docs/FPGAJobItemLinks.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**Collection** | Pointer to [**HalLinkData**](HalLinkData.md) | | [optional]
1414
**Connect** | Pointer to [**HalLinkData**](HalLinkData.md) | | [optional]
1515
**Delete** | Pointer to [**HalLinkData**](HalLinkData.md) | | [optional]
16+
**Describedby** | [**HalLinkData**](HalLinkData.md) | |
1617
**Details** | Pointer to [**HalLinkData**](HalLinkData.md) | | [optional]
1718
**Related** | [**HalLinkData**](HalLinkData.md) | |
1819
**Retain** | Pointer to [**HalLinkData**](HalLinkData.md) | | [optional]
@@ -22,7 +23,7 @@ Name | Type | Description | Notes
2223

2324
### NewFPGAJobItemLinks
2425

25-
`func NewFPGAJobItemLinks(related HalLinkData, self HalLinkData, ) *FPGAJobItemLinks`
26+
`func NewFPGAJobItemLinks(describedby HalLinkData, related HalLinkData, self HalLinkData, ) *FPGAJobItemLinks`
2627

2728
NewFPGAJobItemLinks instantiates a new FPGAJobItemLinks object
2829
This constructor will assign default values to properties that have it defined,
@@ -162,6 +163,26 @@ SetDelete sets Delete field to given value.
162163

163164
HasDelete returns a boolean if a field has been set.
164165

166+
### GetDescribedby
167+
168+
`func (o *FPGAJobItemLinks) GetDescribedby() HalLinkData`
169+
170+
GetDescribedby returns the Describedby field if non-nil, zero value otherwise.
171+
172+
### GetDescribedbyOk
173+
174+
`func (o *FPGAJobItemLinks) GetDescribedbyOk() (*HalLinkData, bool)`
175+
176+
GetDescribedbyOk returns a tuple with the Describedby field if it's non-nil, zero value otherwise
177+
and a boolean to check if the value has been set.
178+
179+
### SetDescribedby
180+
181+
`func (o *FPGAJobItemLinks) SetDescribedby(v HalLinkData)`
182+
183+
SetDescribedby sets Describedby field to given value.
184+
185+
165186
### GetDetails
166187

167188
`func (o *FPGAJobItemLinks) GetDetails() HalLinkData`

client/docs/FPGAJobsAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ import (
12621262

12631263
func main() {
12641264
fpgaName := "fpgaName_example" // string | Unique ID of an FPGA.
1265-
fPGAJobItem := *openapiclient.NewFPGAJobItem("TODO", "TODO", true, true, false, true, "332129b3-f14d-49d2-b9be-acd2abd80c6b", true, "INITIALISING", NullableInt32(50), NullableInt32(70), false, true) // FPGAJobItem | A FPGA job to start.
1265+
fPGAJobItem := *openapiclient.NewFPGAJobItem("TODO", "TODO", true, true, false, true, "332129b3-f14d-49d2-b9be-acd2abd80c6b", false, true, "INITIALISING", NullableInt32(50), NullableInt32(70), false, true, *openapiclient.NewFPGATarget("HardwareImage_example", "SoftwareImage_example"), *openapiclient.NewFPGAWorkload("payload0001", "./helloworld/sayhello")) // FPGAJobItem | A FPGA job to start.
12661266
acceptVersion := "1.0.0" // string | Versioning: Optional header to request a specific version of the API. While it is possible to specify a particular major, minor or patch version it is not recommended for production use cases. Only the major version number should be specified as minor and patch versions can be updated without warning. (optional)
12671267

12681268
configuration := openapiclient.NewConfiguration()

0 commit comments

Comments
 (0)