Skip to content

Commit

Permalink
Fix changelog typo and update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Aug 29, 2024
1 parent fe12bcf commit 7d07f20
Show file tree
Hide file tree
Showing 10 changed files with 2,840 additions and 1,648 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- BREAKING CHANGE: Rename `psk_selection` attribute of `sdwan_system_remote_access_profile_parcel` resource to `psk_authentication_type`
- BREAKING CHANGE: Rename `aaa_derive_name_identity` attribute of `sdwan_system_remote_access_profile_parcel` resource to `aaa_derive_name_from_peer_identity`
- BREAKING CHANGE: Rename `aaa_derive_name_domain` attribute of `sdwan_system_remote_access_profile_parcel` resource to `aaa_derive_name_from_peer_domain`
- BREAKING CHANGE: Removes `any_connect_eap_profile_download_status` and `any_connect_eap_profile_file_name` attributes of `sdwan_system_remote_access_profile_parcel
- BREAKING CHANGE: Removes `any_connect_eap_profile_download_status` and `any_connect_eap_profile_file_name` attributes of `sdwan_system_remote_access_profile_parcel`
- Add `sdwan_policy_object_feature_profile` resource and data source
- Add `sdwan_policy_object_class_map_profile_parcel` resource and data source
- Add `sdwan_policy_object_color_list_profile_parcel` resource and data source
Expand Down
22 changes: 11 additions & 11 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
subcategory: "Guides"
page_title: "Changelog"
description: |-
Changelog
---

# Changelog

---
subcategory: "Guides"
page_title: "Changelog"
description: |-
Changelog
---

# Changelog

## 0.3.14 (unreleased)

- Fix issue when reading deleted `sdwan_cli_config_profile_parcel` resource, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/issues/291)
Expand All @@ -20,7 +20,7 @@ description: |-
- BREAKING CHANGE: Rename `psk_selection` attribute of `sdwan_system_remote_access_profile_parcel` resource to `psk_authentication_type`
- BREAKING CHANGE: Rename `aaa_derive_name_identity` attribute of `sdwan_system_remote_access_profile_parcel` resource to `aaa_derive_name_from_peer_identity`
- BREAKING CHANGE: Rename `aaa_derive_name_domain` attribute of `sdwan_system_remote_access_profile_parcel` resource to `aaa_derive_name_from_peer_domain`
- BREAKING CHANGE: Removes `any_connect_eap_profile_download_status` and `any_connect_eap_profile_file_name` attributes of `sdwan_system_remote_access_profile_parcel
- BREAKING CHANGE: Removes `any_connect_eap_profile_download_status` and `any_connect_eap_profile_file_name` attributes of `sdwan_system_remote_access_profile_parcel`
- Add `sdwan_policy_object_feature_profile` resource and data source
- Add `sdwan_policy_object_class_map_profile_parcel` resource and data source
- Add `sdwan_policy_object_color_list_profile_parcel` resource and data source
Expand Down Expand Up @@ -327,4 +327,4 @@ description: |-
## 0.1.0 (July 23, 2021)

- Initial Release


782 changes: 493 additions & 289 deletions internal/provider/model_sdwan_service_routing_ospf_profile_parcel.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

102 changes: 69 additions & 33 deletions internal/provider/model_sdwan_transport_gps_profile_parcel.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,69 +75,105 @@ func (data TransportGPS) toBody(ctx context.Context) string {
path := "data."

if !data.GpsEnableVariable.IsNull() {
body, _ = sjson.Set(body, path+"enable.optionType", "variable")
body, _ = sjson.Set(body, path+"enable.value", data.GpsEnableVariable.ValueString())
if true {
body, _ = sjson.Set(body, path+"enable.optionType", "variable")
body, _ = sjson.Set(body, path+"enable.value", data.GpsEnableVariable.ValueString())
}
} else if data.GpsEnable.IsNull() {
body, _ = sjson.Set(body, path+"enable.optionType", "default")
body, _ = sjson.Set(body, path+"enable.value", false)
if true {
body, _ = sjson.Set(body, path+"enable.optionType", "default")
body, _ = sjson.Set(body, path+"enable.value", false)
}
} else {
body, _ = sjson.Set(body, path+"enable.optionType", "global")
body, _ = sjson.Set(body, path+"enable.value", data.GpsEnable.ValueBool())
if true {
body, _ = sjson.Set(body, path+"enable.optionType", "global")
body, _ = sjson.Set(body, path+"enable.value", data.GpsEnable.ValueBool())
}
}

if !data.GpsModeVariable.IsNull() {
body, _ = sjson.Set(body, path+"mode.optionType", "variable")
body, _ = sjson.Set(body, path+"mode.value", data.GpsModeVariable.ValueString())
if true {
body, _ = sjson.Set(body, path+"mode.optionType", "variable")
body, _ = sjson.Set(body, path+"mode.value", data.GpsModeVariable.ValueString())
}
} else if data.GpsMode.IsNull() {
body, _ = sjson.Set(body, path+"mode.optionType", "default")
body, _ = sjson.Set(body, path+"mode.value", "ms-based")
if true {
body, _ = sjson.Set(body, path+"mode.optionType", "default")
body, _ = sjson.Set(body, path+"mode.value", "ms-based")
}
} else {
body, _ = sjson.Set(body, path+"mode.optionType", "global")
body, _ = sjson.Set(body, path+"mode.value", data.GpsMode.ValueString())
if true {
body, _ = sjson.Set(body, path+"mode.optionType", "global")
body, _ = sjson.Set(body, path+"mode.value", data.GpsMode.ValueString())
}
}

if !data.NmeaEnableVariable.IsNull() {
body, _ = sjson.Set(body, path+"nmea.optionType", "variable")
body, _ = sjson.Set(body, path+"nmea.value", data.NmeaEnableVariable.ValueString())
if true {
body, _ = sjson.Set(body, path+"nmea.optionType", "variable")
body, _ = sjson.Set(body, path+"nmea.value", data.NmeaEnableVariable.ValueString())
}
} else if data.NmeaEnable.IsNull() {
body, _ = sjson.Set(body, path+"nmea.optionType", "default")
body, _ = sjson.Set(body, path+"nmea.value", false)
if true {
body, _ = sjson.Set(body, path+"nmea.optionType", "default")
body, _ = sjson.Set(body, path+"nmea.value", false)
}
} else {
body, _ = sjson.Set(body, path+"nmea.optionType", "global")
body, _ = sjson.Set(body, path+"nmea.value", data.NmeaEnable.ValueBool())
if true {
body, _ = sjson.Set(body, path+"nmea.optionType", "global")
body, _ = sjson.Set(body, path+"nmea.value", data.NmeaEnable.ValueBool())
}
}

if !data.NmeaSourceAddressVariable.IsNull() {
body, _ = sjson.Set(body, path+"sourceAddress.optionType", "variable")
body, _ = sjson.Set(body, path+"sourceAddress.value", data.NmeaSourceAddressVariable.ValueString())
if true {
body, _ = sjson.Set(body, path+"sourceAddress.optionType", "variable")
body, _ = sjson.Set(body, path+"sourceAddress.value", data.NmeaSourceAddressVariable.ValueString())
}
} else if data.NmeaSourceAddress.IsNull() {
body, _ = sjson.Set(body, path+"sourceAddress.optionType", "default")
if true {
body, _ = sjson.Set(body, path+"sourceAddress.optionType", "default")

}
} else {
body, _ = sjson.Set(body, path+"sourceAddress.optionType", "global")
body, _ = sjson.Set(body, path+"sourceAddress.value", data.NmeaSourceAddress.ValueString())
if true {
body, _ = sjson.Set(body, path+"sourceAddress.optionType", "global")
body, _ = sjson.Set(body, path+"sourceAddress.value", data.NmeaSourceAddress.ValueString())
}
}

if !data.NmeaDestinationAddressVariable.IsNull() {
body, _ = sjson.Set(body, path+"destinationAddress.optionType", "variable")
body, _ = sjson.Set(body, path+"destinationAddress.value", data.NmeaDestinationAddressVariable.ValueString())
if true {
body, _ = sjson.Set(body, path+"destinationAddress.optionType", "variable")
body, _ = sjson.Set(body, path+"destinationAddress.value", data.NmeaDestinationAddressVariable.ValueString())
}
} else if data.NmeaDestinationAddress.IsNull() {
body, _ = sjson.Set(body, path+"destinationAddress.optionType", "default")
if true {
body, _ = sjson.Set(body, path+"destinationAddress.optionType", "default")

}
} else {
body, _ = sjson.Set(body, path+"destinationAddress.optionType", "global")
body, _ = sjson.Set(body, path+"destinationAddress.value", data.NmeaDestinationAddress.ValueString())
if true {
body, _ = sjson.Set(body, path+"destinationAddress.optionType", "global")
body, _ = sjson.Set(body, path+"destinationAddress.value", data.NmeaDestinationAddress.ValueString())
}
}

if !data.NmeaDestinationPortVariable.IsNull() {
body, _ = sjson.Set(body, path+"destinationPort.optionType", "variable")
body, _ = sjson.Set(body, path+"destinationPort.value", data.NmeaDestinationPortVariable.ValueString())
if true {
body, _ = sjson.Set(body, path+"destinationPort.optionType", "variable")
body, _ = sjson.Set(body, path+"destinationPort.value", data.NmeaDestinationPortVariable.ValueString())
}
} else if data.NmeaDestinationPort.IsNull() {
body, _ = sjson.Set(body, path+"destinationPort.optionType", "default")
if true {
body, _ = sjson.Set(body, path+"destinationPort.optionType", "default")

}
} else {
body, _ = sjson.Set(body, path+"destinationPort.optionType", "global")
body, _ = sjson.Set(body, path+"destinationPort.value", data.NmeaDestinationPort.ValueInt64())
if true {
body, _ = sjson.Set(body, path+"destinationPort.optionType", "global")
body, _ = sjson.Set(body, path+"destinationPort.value", data.NmeaDestinationPort.ValueInt64())
}
}
return body
}
Expand Down
Loading

0 comments on commit 7d07f20

Please sign in to comment.