Skip to content

Commit

Permalink
Merge pull request #14 from konpyutaika/feature/nifi_1.23.2
Browse files Browse the repository at this point in the history
Update to NiFi 1.23.2
  • Loading branch information
juldrixx authored Aug 23, 2023
2 parents 5302fd5 + 9c6cdcc commit dbefb40
Show file tree
Hide file tree
Showing 537 changed files with 41,316 additions and 7,609 deletions.
20 changes: 10 additions & 10 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To generate the clients please run following command:

Manual changes:

- In function `UploadTemplate()` of `api_process_groups.go` replace:
- In function `UploadTemplate()` of [`api_process_groups.go`](./pkg/nifi/api_process_groups.go) replace:

```golang
localVarPostBody = &localVarOptionals.Body.Value()
Expand All @@ -31,7 +31,7 @@ Manual changes:
localVarPostBody = localVarOptionals.Body.Value()
```

- In `model_revision_dto`, replace:
- In [`model_revision_dto.go`](./pkg/nifi/model_revision_dto.go), replace:

```golang
Version int64 `json:"version,omitempty"`
Expand All @@ -43,7 +43,7 @@ Manual changes:
Version *int64 `json:"version,omitempty"`
```

- In `model_label_dto`, replace:
- In [`model_label_dto.go`](./pkg/nifi/model_label_dto.go), replace:

```golang
// The text that appears in the label.
Expand All @@ -57,7 +57,7 @@ Manual changes:
Label string `json:"label"`
```

- In `LabelDto`, replace:
- In [`LabelDto.md`](./pkg/nifi/docs/LabelDto.md), replace:

```markdown
**Label** | **string** | The text that appears in the label. | [optional] [default to null]
Expand All @@ -69,7 +69,7 @@ Manual changes:
**Label** | **string** | The text that appears in the label. | [required] [default to null]
```

- In `model_parameter_dto`, replace:
- In [`model_parameter_dto.go`](./pkg/nifi/model_parameter_dto.go), replace:

```golang
// The description of the Parameter
Expand All @@ -87,7 +87,7 @@ Manual changes:
Value *string `json:"value"`
```

- In `ParameterDto`, replace:
- In [`ParameterDto.md`](./pkg/nifi/docs/ParameterDto.md), replace:

```markdown
**Value** | **string** | The value of the Parameter | [optional] [default to null]
Expand All @@ -99,7 +99,7 @@ Manual changes:
**Value** | **string** | The value of the Parameter | [required] [default to null]
```

- In `model_parameter_context_dto`, replace:
- In [`model_parameter_context_dto`](./pkg/nifi/model_parameter_context_dto.go), replace:

```golang
// The Parameters for the Parameter Context
Expand All @@ -121,7 +121,7 @@ Manual changes:
InheritedParameterContexts []ParameterContextReferenceEntity `json:"inheritedParameterContexts"`
```

- In `ParameterContextDto`, replace:
- In [`ParameterContextDto`](./pkg/nifi/docs/ParameterContextDto.md), replace:

```markdown
**Parameters** | [**[]ParameterEntity**](ParameterEntity.md) | The Parameters for the Parameter Context | [optional] [default to null]
Expand All @@ -137,7 +137,7 @@ Manual changes:
**InheritedParameterContexts** | [**[]ParameterContextReferenceEntity**](ParameterContextReferenceEntity.md) | A list of references of Parameter Contexts from which this one inherits parameters | [required] [default to null]
```

- In `model_position_dto`, replace:
- In [`model_position_dto`](./pkg/nifi/model_position_dto.go), replace:

```golang
// The x coordinate.
Expand All @@ -155,7 +155,7 @@ Manual changes:
Y float64 `json:"y"`
```

- In `PositionDto`, replace:
- In [`PositionDto`](./pkg/nifi/docs/PositionDto.md), replace:

```markdown
**X** | **float64** | The x coordinate. | [optional] [default to null]
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module github.com/konpyutaika/nigoapi

go 1.18
go 1.21

require (
github.com/antihax/optional v1.0.0
golang.org/x/oauth2 v0.0.0-20220808172628-8227340efae7
golang.org/x/oauth2 v0.11.0
)

require (
github.com/golang/protobuf v1.5.2 // indirect
golang.org/x/net v0.0.0-20220812174116-3211cb980234 // indirect
github.com/golang/protobuf v1.5.3 // indirect
golang.org/x/net v0.14.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
)
19 changes: 10 additions & 9 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwc
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/net v0.0.0-20220812174116-3211cb980234 h1:RDqmgfe7SvlMWoqC3xwQ2blLO3fcWcxMa3eBLRdRW7E=
golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/oauth2 v0.0.0-20220808172628-8227340efae7 h1:dtndE8FcEta75/4kHF3AbpuWzV6f1LjnLrM4pe2SZrw=
golang.org/x/oauth2 v0.0.0-20220808172628-8227340efae7/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU=
golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
Expand All @@ -21,5 +22,5 @@ google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
5 changes: 4 additions & 1 deletion pkg/nifi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Rest API provides programmatic access to command and control a NiFi instance
## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.

- API version: 1.21.0
- API version: 1.23.2
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
For more information, please visit [https://nifi.apache.org](https://nifi.apache.org)
Expand Down Expand Up @@ -268,6 +268,7 @@ Class | Method | HTTP request | Description
*SnippetsApi* | [**CreateSnippet**](docs/SnippetsApi.md#createsnippet) | **Post** /snippets | Creates a snippet. The snippet will be automatically discarded if not used in a subsequent request after 1 minute.
*SnippetsApi* | [**DeleteSnippet**](docs/SnippetsApi.md#deletesnippet) | **Delete** /snippets/{id} | Deletes the components in a snippet and discards the snippet
*SnippetsApi* | [**UpdateSnippet**](docs/SnippetsApi.md#updatesnippet) | **Put** /snippets/{id} | Move's the components in this Snippet into a new Process Group and discards the snippet
*SystemDiagnosticsApi* | [**GetJmxMetrics**](docs/SystemDiagnosticsApi.md#getjmxmetrics) | **Get** /system-diagnostics/jmx-metrics | Retrieve available JMX metrics
*SystemDiagnosticsApi* | [**GetSystemDiagnostics**](docs/SystemDiagnosticsApi.md#getsystemdiagnostics) | **Get** /system-diagnostics | Gets the diagnostics for the system NiFi is running on
*TemplatesApi* | [**ExportTemplate**](docs/TemplatesApi.md#exporttemplate) | **Get** /templates/{id}/download | Exports a template
*TemplatesApi* | [**RemoveTemplate**](docs/TemplatesApi.md#removetemplate) | **Delete** /templates/{id} | Deletes a template
Expand Down Expand Up @@ -444,6 +445,8 @@ Class | Method | HTTP request | Description
- [InputPortsEntity](docs/InputPortsEntity.md)
- [InputStream](docs/InputStream.md)
- [InstantiateTemplateRequestEntity](docs/InstantiateTemplateRequestEntity.md)
- [JmxMetricsResultDto](docs/JmxMetricsResultDto.md)
- [JmxMetricsResultsEntity](docs/JmxMetricsResultsEntity.md)
- [JvmControllerDiagnosticsSnapshotDto](docs/JvmControllerDiagnosticsSnapshotDto.md)
- [JvmDiagnosticsDto](docs/JvmDiagnosticsDto.md)
- [JvmDiagnosticsSnapshotDto](docs/JvmDiagnosticsSnapshotDto.md)
Expand Down
Loading

0 comments on commit dbefb40

Please sign in to comment.