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

Storage Volume resource migration to TPF #119

Merged
merged 13 commits into from
Nov 15, 2023
Merged

Storage Volume resource migration to TPF #119

merged 13 commits into from
Nov 15, 2023

Conversation

prajwalpatil25
Copy link
Contributor

@prajwalpatil25 prajwalpatil25 commented Nov 9, 2023

image

@rounak-adhikary
Copy link
Collaborator

Please enable linting for the corresponding Go files in .golanci.yaml

@prajwalpatil25
Copy link
Contributor Author

=== RUN   TestAccRedfishStorageVolume_InvalidController
--- PASS: TestAccRedfishStorageVolume_InvalidController (2.65s)
=== RUN   TestAccRedfishStorageVolume_InvalidDrive
--- PASS: TestAccRedfishStorageVolume_InvalidDrive (3.50s)
=== RUN   TestAccRedfishStorageVolume_InvalidVolumeType
--- PASS: TestAccRedfishStorageVolume_InvalidVolumeType (4.08s)
=== RUN   TestAccRedfishStorageVolumeCreate_basic
--- PASS: TestAccRedfishStorageVolumeCreate_basic (183.94s)
=== RUN   TestAccRedfishStorageVolume_basic
--- PASS: TestAccRedfishStorageVolume_basic (194.35s)
=== RUN   TestAccRedfishStorageVolumeUpdate_basic
--- PASS: TestAccRedfishStorageVolumeUpdate_basic (297.40s)
=== RUN   TestAccRedfishStorageVolume_OnReset
--- PASS: TestAccRedfishStorageVolume_OnReset (684.04s)
PASS
        terraform-provider-redfish/redfish/provider     coverage: 19.5% of statements
ok      terraform-provider-redfish/redfish/provider     1369.999s       coverage: 19.5% of statements

Copy link
Collaborator

@rounak-adhikary rounak-adhikary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@prajwalpatil25 prajwalpatil25 merged commit 00b74d9 into dev Nov 15, 2023
5 checks passed
Sakshi-dell added a commit that referenced this pull request Nov 24, 2023
* Adding inittial lintersin makefile and gha

* Fixing wrong vendor

* Adding security checks and exclusions

* Chnaging to golangci-lint

* Fix yaml

* Fix 2

* Fix 3

* provider migration + code reorg

* Adding uppercaseconst comment

* Removing vendor

* Adding linting and fixing some stuff

* Adding vendor and golangci

* rename ssl_insecure to validate_cert

* moved resouce /datasource  templates to template-bcks folder/

* fix the attribute name and removed redundant github action jobs

* provider model fixed

* fix gen

* Adding simple update resource initial

* power resource migration

* added power template

* Added debug messages

* migrate idrac_attribute resource

* migration of idrac attribute CRUD

* fmt fix

* migrated idrac attribute datasource

* fix generate

* user resource migrated

* me more changes

* Migrated virtual media resource

* removed comments

* Fixing lint issues

* Updating docs

* Fixing linting issues

* fix lint issue

* Update resource_redfish_dell_idrac_attributes.go

* initial bios ds

* Working bios ds

* Generating docs

* Some cleanup

* lint fix

* Fixing linter issues

* Relaxing checks

* Gnenerate

* Linter fix 1

* Re-enabled linting for bios-ds

* linting issue fixed

* ran go generate

* Removing skip entries for user and virtual media resources

* Removing commented entry

* Updating comments

* minor issue fixed

* minor issue fixed

* ran make generate

* acceptance tests fix

* fixed linting issues

* split create method

* addressed review comment

* Added doc template

* changes in md

* changes in md

* added constants to constants.go

* migrated virtual media datasource

* minor fix in redfish server config - power resource

* make generate fix

* fixed liniting issues

* moved 'virtual_media' definition to attributes

* refactor redfish server schema

* removed '=' from redfish server config

* remove validate check

* Storage Datasource TPF Migration (#115)

* Storage Datasource migration

* Docs

* Fixing tests after merge

* Lint fix

* added back ssl_insecure & removed version from schema for backward compatibility (#117)

* Firmware inventory datasource (#118)

* Firmware Inventory datasource

* Firmware Inventory datasource

* formatting issue fixed

* doc issuue fixed

* comments addressed

* bios resource Migrated (#120)

* bios resource Migrated

* comments addressed

* System boot datasource migration to TPF (#121)

* System boot datasource migration to TPF

* linting fix

* fixed doc

* removed commented code

* Storage Volume resource migration to TPF (#119)

* volume migration to tpf

* Storage volume migration to TPF

* Updated volume model

* Fixed linting

* fixed md

* fixed applytime onreset for create

* linting fix

* code restructuring

* addressed review comments

---------

Co-authored-by: Krishnan-Priyanshu <[email protected]>

* User resource minor fix (#124)

* fixing virtual media and idrac attributes (#125)

* Miscellaneous changes for migration (#126)

* Merging templates and templates-bck

* System Boot datasource backward compatibility fix

* Regenerating docs

* Adding Lock mutex for simple update

* Removing unused comments

---------

Co-authored-by: Krishnan-Priyanshu <[email protected]>
Co-authored-by: Priyanshu Krishnan <[email protected]>
Co-authored-by: Sakshi_makkar <[email protected]>
Co-authored-by: prajwalpatil25 <[email protected]>
Co-authored-by: Sakshi-dell <[email protected]>
Co-authored-by: prajwalpatil25 <[email protected]>
@forrestxia forrestxia deleted the volume branch November 11, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants