29 Commits

Author SHA1 Message Date
James Gu
c442eb5bcb Upgrade openapi generator to v5.1.0
Upgraded openapi generator version to 5.1.0 for the support of nullable
values for optional fields; Added missing "Disabled" enum value to the
BootSourceOverrideEnabled model in the openapi schema.

Signed-off-by: James Gu <james.gu@att.com>
Change-Id: Ia3e0b018be13079d2085ef61ed2e797bcfd25fd7
2021-05-05 10:18:32 -04:00
Manoj Alva
c8df18b526 Added GetTaskList API
Change-Id: Ic871d06b24c7a0cb26971f365fb4fe0d1056bf95
2020-06-25 12:34:56 -05:00
Zuul
48732850b8 Merge "YAML refracting exercise." 2020-06-19 14:12:42 +00:00
Manoj Alva
9e1ac26470 YAML refracting exercise.
Change-Id: I0437cc9c7eedd2f30e1b10425ce0c3a269bedde2
2020-06-03 08:44:54 -05:00
Narendra Kumar Choudhary
363889a733 Fix typo in .gitignore
Change-Id: Ice472c4247170bb11211dc270d3b71182fb8e1c7
2020-05-20 21:20:55 +00:00
Manoj
924b41cc22 Support for Additional Redfish APIs
Added support for the following APIs

FirmwareInventoryDownloadImage
FirmwareInventory
GetTask
UpdateService
UpdateServiceSimpleUpdate

RAID Creation Support

Also updated Makefile to add an additional  docker based target
to assist in code generation.

Change-Id: I716153fe254c7fefc6893ac76e4fa190a24029a8
2020-04-24 18:08:47 +00:00
Manoj Alva
9ad54f512f Makefile update to support Docker based target
Added new "code-gen-docker" target.

Change-Id: I0184b309000ee0ccac5885f758688a3053f6fb91
2020-03-31 13:24:30 +00:00
Dmitry Ukov
db034d1d75 Wrap On/Off values with quotes
OpenApi Generator conceders On/Off values in spec as boolean. Therefore
we need to specify On/Off values as strings explicitly to avoid
conversion to bool

Change-Id: I011c3f11aa6dc2fefe5d4a1333b0f7b7aceff6d6
2020-03-18 14:37:38 +04:00
Dmitry Ukov
279a313a81 Regenerated code using openapi-generator 4.2.2
Change-Id: I73c4f1f19f6ef71d9cad74d5df0d611d5ca687a9
2020-01-10 18:53:05 +00:00
Alexander Hughes
3ab47e28ba Update module to point to opendev
This patch updates documentation and the go-redfish module to change
references of 'github.com/Nordix/' to 'opendev.org/airship/'

Change-Id: I9ceddcb8a6ed6c888a3f6e143ada730718999100
2020-01-10 18:52:54 +00:00
Dmitry Ukov
3963d2eafe Add noop gating
Change-Id: Ifefe9a23a9c3a517624dacf8a5c8e0fe62961931
2020-01-10 22:51:28 +04:00
Kanwar Saad Bin Liaqat
fd2ad07270
fix antihax version 2019-10-16 15:40:00 +03:00
Kanwar Saad Bin Liaqat
b7790941aa
go mod tidy 2019-10-16 15:34:52 +03:00
Kanwar Saad Bin Liaqat
0f4a250241
fix generator target 2019-10-16 15:29:51 +03:00
Kanwar Saad Bin Liaqat
d7a62b2f30
remove gomock mocks 2019-10-16 14:11:25 +03:00
Kanwar Saad Bin Liaqat
680ffcc94a
Generate mocks using mockery 2019-10-16 11:09:56 +03:00
Kanwar Saad Bin Liaqat
3580e0a63c
Add interface and mock generation 2019-10-08 15:06:06 +03:00
Kanwar Saad Bin Liaqat
d4823e24ee
Add class prefix to enums 2019-09-19 04:13:01 +03:00
Kanwar Saad Bin Liaqat
7977676acb
parse datetime as string
due to bug in sushi emulator, we will parse
manager's time as string instead of datetime.
2019-09-19 03:40:48 +03:00
Kanwar Saad Bin Liaqat
1be688562a
rename github org 2019-09-19 00:06:55 +03:00
Kanwar Saad Bin Liaqat
2650b0564f
Fix object name in README 2019-09-10 10:57:35 +03:00
Kanwar Saad Bin Liaqat
e0a15a1cc4
Added README 2019-09-10 10:54:39 +03:00
Kanwar Saad Bin Liaqat
0cebb54909
Fix eject media request object 2019-09-09 16:08:02 +03:00
Kanwar Saad Bin Liaqat
332d1a830a
Added Managers and VirtualMedia Support 2019-09-09 14:54:37 +03:00
Kanwar Saad Bin Liaqat
9d9dce36f1
Delete unused file 2019-09-09 08:46:02 +03:00
Kanwar Saad Bin Liaqat
d385e284b9
package name fix 2019-09-09 00:46:38 +03:00
Kanwar Saad Bin Liaqat
31541d3f17
Update package name 2019-09-09 00:20:08 +03:00
Kanwar Saad Bin Liaqat
c138ca1069
computerSystem api support
Support for redfish root, system list,
system get and system reset action.
2019-09-08 23:55:37 +03:00
Kanwar Saad
0161f2b460
Initial commit 2019-09-06 17:52:39 +03:00