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

Develop #36

Merged
merged 2 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.1] - 2024-05-03
### Added
- Adding missing struct in `node_group` and `node_services`.

## [1.3.0] - 2024-04-24
### Added
- `ciscoise-go-sdk` now supports ISE 3.3 patch 1 API.
Expand Down Expand Up @@ -228,4 +232,5 @@ Following parameters were added to `RequestNetworkAccessAuthenticationRulesCreat
[1.1.22]: https://github.com/CiscoISE/ciscoise-go-sdk/compare/v1.1.21...v1.1.22
[1.2.0]: https://github.com/CiscoISE/ciscoise-go-sdk/compare/v1.1.22...v1.2.0
[1.3.0]: https://github.com/CiscoISE/ciscoise-go-sdk/compare/v1.2.0...v1.3.0
[Unreleased]: https://github.com/cisco-en-programmability/ciscoise-go-sdk/compare/v1.3.0...main
[1.3.1]: https://github.com/CiscoISE/ciscoise-go-sdk/compare/v1.3.1...v1.3.1
[Unreleased]: https://github.com/cisco-en-programmability/ciscoise-go-sdk/compare/v1.3.1...main
56 changes: 28 additions & 28 deletions sdk/node_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ type ResponseNodeGroupGetNodeGroups struct {
}

type ResponseNodeGroupGetNodeGroupsResponse struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
MarCache *ResponseNodeGroupGetNodeGroupsResponseMarCache `json:"marCache,omitempty"` //
Name string `json:"name,omitempty"` //
}

type ResponseNodeGroupGetNodeGroupsResponseMarCache struct {
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
QueryAttempts *int `json:"query-attempts,omitempty"` // The number of times Cisco ISE attempts to perform the cache entry query. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
}

type ResponseNodeGroupCreateNodeGroup struct {
Expand All @@ -47,16 +47,16 @@ type ResponseNodeGroupGetNodeGroup struct {
}

type ResponseNodeGroupGetNodeGroupResponse struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
MarCache *ResponseNodeGroupGetNodeGroupResponseMarCache `json:"marCache,omitempty"` //
Name string `json:"name,omitempty"` //
}

type ResponseNodeGroupGetNodeGroupResponseMarCache struct {
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
QueryAttempts *int `json:"query-attempts,omitempty"` // The number of times Cisco ISE attempts to perform the cache entry query. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
}

type ResponseNodeGroupUpdateNodeGroup struct {
Expand All @@ -78,20 +78,11 @@ type ResponseNodeGroupDeleteNodeGroupSuccess struct {
}

type ResponseNodeGroupAddNode struct {
Success *ResponseNodeGroupAddNodesuccess `json:"success,omitempty"` //
Success *ResponseNodeGroupAddNodeSuccess `json:"success,omitempty"` //
Version string `json:"version,omitempty"` //
}

type ResponseNodeGroupAddNodesuccess struct {
Message string `json:"message,omitempty"` //
}

type ResponseNodeGroupRemoveNode struct {
Success *ResponseNodeGroupRemoveNodesuccess `json:"success,omitempty"` //
Version string `json:"version,omitempty"` //
}

type ResponseNodeGroupRemoveNodesuccess struct {
type ResponseNodeGroupAddNodeSuccess struct {
Message string `json:"message,omitempty"` //
}

Expand All @@ -104,30 +95,39 @@ type ResponseNodeGroupGetNodesResponse struct {
Hostname string `json:"hostname,omitempty"` //
}

type ResponseNodeGroupRemoveNode struct {
Success *ResponseNodeGroupRemoveNodeSuccess `json:"success,omitempty"` //
Version string `json:"version,omitempty"` //
}

type ResponseNodeGroupRemoveNodeSuccess struct {
Message string `json:"message,omitempty"` //
}

type RequestNodeGroupCreateNodeGroup struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
MarCache *RequestNodeGroupCreateNodeGroupMarCache `json:"marCache,omitempty"` //
Name string `json:"name,omitempty"` //
}

type RequestNodeGroupCreateNodeGroupMarCache struct {
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
QueryAttempts *int `json:"query-attempts,omitempty"` // The number of times Cisco ISE attempts to perform the cache entry query. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
}

type RequestNodeGroupUpdateNodeGroup struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
MarCache *RequestNodeGroupUpdateNodeGroupMarCache `json:"marCache,omitempty"` //
Name string `json:"name,omitempty"` //
}

type RequestNodeGroupUpdateNodeGroupMarCache struct {
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
QueryAttempts *int `json:"query-attempts,omitempty"` // The number of times Cisco ISE attempts to perform the cache entry query. (0 - 5).
QueryTimeout *int `json:"query-timeout,omitempty"` // The time, in seconds, after which the cache entry query times out. (1 - 10).
ReplicationAttempts *int `json:"replication-attempts,omitempty"` // The number of times Cisco ISE attempts to perform MAR cache entry replication. (0 - 5).
ReplicationTimeout *int `json:"replication-timeout,omitempty"` // The time, in seconds, after which the cache entry replication times out. (1 - 10).
}

type RequestNodeGroupAddNode struct {
Expand Down Expand Up @@ -274,7 +274,7 @@ description

Description of the node group (
valid-range:
1-256 characters)
0-256 characters)

{"name": "site2", "description": "sample"}

Expand Down
Loading
Loading