Skip to content

Commit

Permalink
Update changelog and cleanup templates
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 26, 2024
1 parent e12724a commit 2440a38
Show file tree
Hide file tree
Showing 51 changed files with 227 additions and 51 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## 0.1.12 (unreleased)

- Ignore error messages when attempting to delete default policy sets or rules
- Add `ise_active_directory_add_groups` resource
- Add `ise_active_directory_join_domain_with_all_nodes` resource

## 0.1.11

Expand Down
2 changes: 2 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ description: |-
## 0.1.12 (unreleased)

- Ignore error messages when attempting to delete default policy sets or rules
- Add `ise_active_directory_add_groups` resource
- Add `ise_active_directory_join_domain_with_all_nodes` resource

## 0.1.11

Expand Down
1 change: 0 additions & 1 deletion gen/definitions/trustsec_egress_matrix_cell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: TrustSec Egress Matrix Cell
rest_endpoint: /ers/config/egressmatrixcell
doc_category: TrustSec
id_path: response.id
put_id_include_path: EgressMatrixCell
attributes:
- model_name: description
Expand Down
1 change: 0 additions & 1 deletion gen/definitions/trustsec_ip_to_sgt_mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: TrustSec IP to SGT Mapping
rest_endpoint: /ers/config/sgmapping
doc_category: TrustSec
data_source_name_query: true
id_path: response.id
attributes:
- model_name: name
data_path: [SGMapping]
Expand Down
1 change: 0 additions & 1 deletion gen/definitions/trustsec_ip_to_sgt_mapping_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: TrustSec IP to SGT Mapping Group
rest_endpoint: /ers/config/sgmappinggroup
doc_category: TrustSec
data_source_name_query: true
id_path: response.id
attributes:
- model_name: name
data_path: [SGMappingGroup]
Expand Down
2 changes: 1 addition & 1 deletion gen/doc_category.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (
type YamlConfig struct {
Name string `yaml:"name"`
DocCategory string `yaml:"doc_category"`
NoResource bool `yaml:"no_resource"`
NoResource bool `yaml:"no_resource"`
NoDataSource bool `yaml:"no_data_source"`
}

Expand Down
1 change: 0 additions & 1 deletion gen/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ type YamlConfig struct {
PutRead bool `yaml:"put_read"`
NoRead bool `yaml:"no_read"`
NoUpdate bool `yaml:"no_update"`
IdFromAttribute bool `yaml:"id_from_attribute"`
RootList bool `yaml:"root_list"`
NoReadPrefix bool `yaml:"no_read_prefix"`
IdPath string `yaml:"id_path"`
Expand Down
1 change: 0 additions & 1 deletion gen/schema/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ put_create: bool(required=False) # Set to true if the PUT request is used to cre
put_delete: bool(required=False) # Set to true if the PUT request is used to delete
put_read: bool(required=False) # Set to true if the PUT request is used to read
no_read: bool(required=False) # Set to true if the GET request is not supported
id_from_attribute: bool(required=False) # Set to true if the ID is derived from an attribute
root_list: bool(required=False) # Set to true if the root element of the data structure is a list
no_read_prefix: bool(required=False) # Set to true if it is an Open API endpoint put the response is not embeeded into a "response" element
id_path: str(required=False) # Path to the ID in the response (use "." to access nested elements)
Expand Down
6 changes: 3 additions & 3 deletions gen/templates/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 15 additions & 38 deletions gen/templates/resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_active_directory_add_groups.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_active_directory_join_point.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_allowed_protocols.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_allowed_protocols_tacacs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_authorization_profile.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_device_admin_condition.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_device_admin_policy_set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_downloadable_acl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_endpoint_identity_group.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_identity_source_sequence.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_internal_user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/model_ise_license_tier_state.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2440a38

Please sign in to comment.