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

Feature Branch for ib go client migration #317

Merged
merged 44 commits into from
Oct 18, 2023

Conversation

hemanthKa677
Copy link
Collaborator

This PR includes changes from feature branch, where new features and modifications are done.
Listing Items:

  • DNS View and Zone Auth Resources and Datasources are added.
  • Modified the parameters in most of objects corresponding to go-client generated objects.
  • Added New Feature EA Search for fetching the NIOS objects with EA's.
  • Includes EA Inheritance deleting the inherited EA's issue fix.
  • Filters are introduced in datasources, removed previous usage of specific combinations to fetch results, now one or more than one of matching objects will be fetched.
  • Many other bug fixes and minor updates

achernevskii and others added 30 commits June 29, 2023 16:42
* Updated some of the field usages, since many of the
  fields in new client are now references instead of
  original objects.

* Updated some terraform-plugin-sdk dependencies to run
  acceptance tests.
* Updated terraform-plugin-sdk dependency from v2.4.3 to
  v2.27.0.
* Implemented a new way to search for a network resource
  using filters. EA search is supported by appending
  asterisk to the search key.
* Rewrote read schema and logic for network container data
  source. Search by extensible attributes is now available
  for this data source.

* Fixed small bugs for network data source
* Rewrote read schema and logic for network view data
  source. Search by extensible attributes is now available
  for this data source.
* Version v2.27.0 is not compatible with go 1.17, which is
   used to compile this terraform provider.
* Some checks were failing because of updated field types
  in CNAME record struct.
* Changed 'ext_attrs' field type from String to Map.

* Added extAttrsDiffSuppressFunc to suppress diff for EA
  entry, if state value is provided, but config value is
  not provided (e.g. in case of EA inheritance).

* Created acceptance test to validate that terraform
  provider won't try to remove EAs, that added by outside
  tool (e.g. NIOS in case of EA inheritance).
* In case, if inherited EA is specified in configuration,
  it should be overridden by terraform.
* Previous solution containing a diff suppress function
  had a problem with EA delete operations, since diff
  suppress function doesn't have the access to actual API
  object state.

* Now, inherited EAs are omitted on the read stage and
  added back on the update stage.

* Added two helper functions for serialization and
  deserialization EAs into/from JSON formatted string,
  which is usually used as a value of 'ext_attrs' fields.
* This resource could be used for creating EA definition
  (e.g. in acceptance tests).
* Now inherited EAs won't be removed by terraform on a
  second apply step.
@hemanthKa677 hemanthKa677 merged commit 757dcea into master Oct 18, 2023
3 checks passed
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.

4 participants