From 7153fc8da112d21e205f4cf82743696dd9404a4c Mon Sep 17 00:00:00 2001 From: akeyless Date: Tue, 12 Dec 2023 15:14:10 +0000 Subject: [PATCH] Release v3.5.3 --- .openapi-generator/FILES | 1 - api/openapi.yaml | 13 +++++--- build.gradle | 2 +- build.sbt | 2 +- docs/GeneralConfigPart.md | 1 + pom.xml | 2 +- .../java/io/akeyless/client/ApiClient.java | 2 +- .../client/model/GeneralConfigPart.java | 31 ++++++++++++++++++- 8 files changed, 44 insertions(+), 10 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c85c62d1..83a9730a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1484,4 +1484,3 @@ src/main/java/io/akeyless/client/model/WindowsService.java src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java src/main/java/io/akeyless/client/model/WindowsTargetDetails.java src/main/java/io/akeyless/client/model/ZeroSSLTargetDetails.java -src/test/java/io/akeyless/client/model/UpdateClassicKeyCertificateTest.java diff --git a/api/openapi.yaml b/api/openapi.yaml index 8edf5f8a..3eccdfb7 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -11268,15 +11268,16 @@ components: general: tcp_port: tcp_port api_token_ttl: api_token_ttl - gw_cluster_url: gw_cluster_url enable_tls: true enable_tls_curl: true tls_key: tls_key enable_tls_configure: true - enable_tls_hvp: true tls_cert: tls_cert akeyless_url: akeyless_url display_name: display_name + gw_cluster_url: gw_cluster_url + enable_tls_hvp: true + notify_on_status_change: true enable_sni_proxy: true ldap: ldap_anonymous_search: true @@ -17072,15 +17073,16 @@ components: example: tcp_port: tcp_port api_token_ttl: api_token_ttl - gw_cluster_url: gw_cluster_url enable_tls: true enable_tls_curl: true tls_key: tls_key enable_tls_configure: true - enable_tls_hvp: true tls_cert: tls_cert akeyless_url: akeyless_url display_name: display_name + gw_cluster_url: gw_cluster_url + enable_tls_hvp: true + notify_on_status_change: true enable_sni_proxy: true properties: akeyless_url: @@ -17116,6 +17118,9 @@ components: gw_cluster_url: type: string x-go-name: GwClusterUrl + notify_on_status_change: + type: boolean + x-go-name: NotifyOnStatusChange tcp_port: type: string x-go-name: TcpPort diff --git a/build.gradle b/build.gradle index 014a126d..c87bf960 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'io.akeyless' -version = '3.5.2' +version = '3.5.3' buildscript { repositories { diff --git a/build.sbt b/build.sbt index dbee0b63..75edf5b1 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "io.akeyless", name := "akeyless-java", - version := "3.5.2", + version := "3.5.3", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/GeneralConfigPart.md b/docs/GeneralConfigPart.md index 45d3f6a6..8fef44a3 100644 --- a/docs/GeneralConfigPart.md +++ b/docs/GeneralConfigPart.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **enableTlsCurl** | **Boolean** | | [optional] **enableTlsHvp** | **Boolean** | | [optional] **gwClusterUrl** | **String** | | [optional] +**notifyOnStatusChange** | **Boolean** | | [optional] **tcpPort** | **String** | | [optional] **tlsCert** | **String** | | [optional] **tlsKey** | **String** | | [optional] diff --git a/pom.xml b/pom.xml index 1fa6f76c..7130a165 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ akeyless-java jar akeyless-java - 3.5.2 + 3.5.3 https://github.com/akeylesslabs/akeyless-java Akeyless Java SDK diff --git a/src/main/java/io/akeyless/client/ApiClient.java b/src/main/java/io/akeyless/client/ApiClient.java index b82c0d45..c2417907 100644 --- a/src/main/java/io/akeyless/client/ApiClient.java +++ b/src/main/java/io/akeyless/client/ApiClient.java @@ -129,7 +129,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/3.5.2/java"); + setUserAgent("OpenAPI-Generator/3.5.3/java"); authentications = new HashMap(); } diff --git a/src/main/java/io/akeyless/client/model/GeneralConfigPart.java b/src/main/java/io/akeyless/client/model/GeneralConfigPart.java index 5675f5c9..c4eedd24 100644 --- a/src/main/java/io/akeyless/client/model/GeneralConfigPart.java +++ b/src/main/java/io/akeyless/client/model/GeneralConfigPart.java @@ -65,6 +65,10 @@ public class GeneralConfigPart { @SerializedName(SERIALIZED_NAME_GW_CLUSTER_URL) private String gwClusterUrl; + public static final String SERIALIZED_NAME_NOTIFY_ON_STATUS_CHANGE = "notify_on_status_change"; + @SerializedName(SERIALIZED_NAME_NOTIFY_ON_STATUS_CHANGE) + private Boolean notifyOnStatusChange; + public static final String SERIALIZED_NAME_TCP_PORT = "tcp_port"; @SerializedName(SERIALIZED_NAME_TCP_PORT) private String tcpPort; @@ -287,6 +291,29 @@ public void setGwClusterUrl(String gwClusterUrl) { } + public GeneralConfigPart notifyOnStatusChange(Boolean notifyOnStatusChange) { + + this.notifyOnStatusChange = notifyOnStatusChange; + return this; + } + + /** + * Get notifyOnStatusChange + * @return notifyOnStatusChange + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getNotifyOnStatusChange() { + return notifyOnStatusChange; + } + + + public void setNotifyOnStatusChange(Boolean notifyOnStatusChange) { + this.notifyOnStatusChange = notifyOnStatusChange; + } + + public GeneralConfigPart tcpPort(String tcpPort) { this.tcpPort = tcpPort; @@ -374,6 +401,7 @@ public boolean equals(Object o) { Objects.equals(this.enableTlsCurl, generalConfigPart.enableTlsCurl) && Objects.equals(this.enableTlsHvp, generalConfigPart.enableTlsHvp) && Objects.equals(this.gwClusterUrl, generalConfigPart.gwClusterUrl) && + Objects.equals(this.notifyOnStatusChange, generalConfigPart.notifyOnStatusChange) && Objects.equals(this.tcpPort, generalConfigPart.tcpPort) && Objects.equals(this.tlsCert, generalConfigPart.tlsCert) && Objects.equals(this.tlsKey, generalConfigPart.tlsKey); @@ -381,7 +409,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(akeylessUrl, apiTokenTtl, displayName, enableSniProxy, enableTls, enableTlsConfigure, enableTlsCurl, enableTlsHvp, gwClusterUrl, tcpPort, tlsCert, tlsKey); + return Objects.hash(akeylessUrl, apiTokenTtl, displayName, enableSniProxy, enableTls, enableTlsConfigure, enableTlsCurl, enableTlsHvp, gwClusterUrl, notifyOnStatusChange, tcpPort, tlsCert, tlsKey); } @Override @@ -397,6 +425,7 @@ public String toString() { sb.append(" enableTlsCurl: ").append(toIndentedString(enableTlsCurl)).append("\n"); sb.append(" enableTlsHvp: ").append(toIndentedString(enableTlsHvp)).append("\n"); sb.append(" gwClusterUrl: ").append(toIndentedString(gwClusterUrl)).append("\n"); + sb.append(" notifyOnStatusChange: ").append(toIndentedString(notifyOnStatusChange)).append("\n"); sb.append(" tcpPort: ").append(toIndentedString(tcpPort)).append("\n"); sb.append(" tlsCert: ").append(toIndentedString(tlsCert)).append("\n"); sb.append(" tlsKey: ").append(toIndentedString(tlsKey)).append("\n");