Skip to content

Commit

Permalink
12.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SupportSDM committed Jan 17, 2025
1 parent da8a801 commit 6d497ee
Show file tree
Hide file tree
Showing 9 changed files with 45,908 additions and 31,603 deletions.
2 changes: 2 additions & 0 deletions com/strongdm/api/ActivityVerb.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ public final class ActivityVerb {
public static final String ACCESS_REQUESTED_TO_RESOURCE = "access requested to resource";
public static final String ACCESS_REQUEST_TO_RESOURCE_APPROVAL_ADDED =
"access request to resource approval added";
public static final String ACCESS_REQUEST_TO_RESOURCE_STEP_SKIPPED =
"access request to resource step skipped";
public static final String ACCESS_REQUEST_TO_RESOURCE_CANCELED =
"access request to resource canceled";
public static final String ACCESS_REQUEST_TO_RESOURCE_DENIED =
Expand Down
171 changes: 171 additions & 0 deletions com/strongdm/api/ClickHouseHTTP.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
// Copyright 2020 StrongDM Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// Code generated by protogen. DO NOT EDIT.

package com.strongdm.api;

public class ClickHouseHTTP implements Resource {
private String bindInterface;
/**
* The bind interface is the IP address to which the port override of a resource is bound (for
* example, 127.0.0.1). It is automatically generated if not provided.
*/
public String getBindInterface() {
return this.bindInterface;
}
/**
* The bind interface is the IP address to which the port override of a resource is bound (for
* example, 127.0.0.1). It is automatically generated if not provided.
*/
public void setBindInterface(String in) {
this.bindInterface = in;
}

private String database;
/**
* The initial database to connect to. This setting does not by itself prevent switching to
* another database after connecting.
*/
public String getDatabase() {
return this.database;
}
/**
* The initial database to connect to. This setting does not by itself prevent switching to
* another database after connecting.
*/
public void setDatabase(String in) {
this.database = in;
}

private String egressFilter;
/** A filter applied to the routing logic to pin datasource to nodes. */
public String getEgressFilter() {
return this.egressFilter;
}
/** A filter applied to the routing logic to pin datasource to nodes. */
public void setEgressFilter(String in) {
this.egressFilter = in;
}

private boolean healthy;
/** True if the datasource is reachable and the credentials are valid. */
public boolean getHealthy() {
return this.healthy;
}
/** True if the datasource is reachable and the credentials are valid. */
public void setHealthy(boolean in) {
this.healthy = in;
}

private String id;
/** Unique identifier of the Resource. */
public String getId() {
return this.id;
}
/** Unique identifier of the Resource. */
public void setId(String in) {
this.id = in;
}

private String name;
/** Unique human-readable name of the Resource. */
public String getName() {
return this.name;
}
/** Unique human-readable name of the Resource. */
public void setName(String in) {
this.name = in;
}

private String password;
/** The password to authenticate with. */
public String getPassword() {
return this.password;
}
/** The password to authenticate with. */
public void setPassword(String in) {
this.password = in;
}

private int portOverride;
/** The local port used by clients to connect to this resource. */
public int getPortOverride() {
return this.portOverride;
}
/** The local port used by clients to connect to this resource. */
public void setPortOverride(int in) {
this.portOverride = in;
}

private String proxyClusterId;
/** ID of the proxy cluster for this resource, if any. */
public String getProxyClusterId() {
return this.proxyClusterId;
}
/** ID of the proxy cluster for this resource, if any. */
public void setProxyClusterId(String in) {
this.proxyClusterId = in;
}

private String secretStoreId;
/** ID of the secret store containing credentials for this resource, if any. */
public String getSecretStoreId() {
return this.secretStoreId;
}
/** ID of the secret store containing credentials for this resource, if any. */
public void setSecretStoreId(String in) {
this.secretStoreId = in;
}

private java.util.Map<String, String> tags;
/** Tags is a map of key, value pairs. */
public java.util.Map<String, String> getTags() {
java.util.Map<String, String> m = new java.util.HashMap<String, String>();
if (this.tags != null) {
m.putAll(this.tags);
}
return m;
}
/** Tags is a map of key, value pairs. */
public void setTags(java.util.Map<String, String> in) {
if (in == null) {
this.tags = null;
return;
}
this.tags = new java.util.HashMap<String, String>();
this.tags.putAll(in);
}

private String url;
/** The URL to dial to initiate a connection from the egress node to this resource. */
public String getUrl() {
return this.url;
}
/** The URL to dial to initiate a connection from the egress node to this resource. */
public void setUrl(String in) {
this.url = in;
}

private String username;
/** The username to authenticate with. */
public String getUsername() {
return this.username;
}
/** The username to authenticate with. */
public void setUsername(String in) {
this.username = in;
}
}
207 changes: 207 additions & 0 deletions com/strongdm/api/ClickHouseMySQL.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
// Copyright 2020 StrongDM Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// Code generated by protogen. DO NOT EDIT.

package com.strongdm.api;

public class ClickHouseMySQL implements Resource {
private String bindInterface;
/**
* The bind interface is the IP address to which the port override of a resource is bound (for
* example, 127.0.0.1). It is automatically generated if not provided.
*/
public String getBindInterface() {
return this.bindInterface;
}
/**
* The bind interface is the IP address to which the port override of a resource is bound (for
* example, 127.0.0.1). It is automatically generated if not provided.
*/
public void setBindInterface(String in) {
this.bindInterface = in;
}

private String database;
/** The database for healthchecks. Does not affect client requests. */
public String getDatabase() {
return this.database;
}
/** The database for healthchecks. Does not affect client requests. */
public void setDatabase(String in) {
this.database = in;
}

private String egressFilter;
/** A filter applied to the routing logic to pin datasource to nodes. */
public String getEgressFilter() {
return this.egressFilter;
}
/** A filter applied to the routing logic to pin datasource to nodes. */
public void setEgressFilter(String in) {
this.egressFilter = in;
}

private boolean healthy;
/** True if the datasource is reachable and the credentials are valid. */
public boolean getHealthy() {
return this.healthy;
}
/** True if the datasource is reachable and the credentials are valid. */
public void setHealthy(boolean in) {
this.healthy = in;
}

private String hostname;
/** The host to dial to initiate a connection from the egress node to this resource. */
public String getHostname() {
return this.hostname;
}
/** The host to dial to initiate a connection from the egress node to this resource. */
public void setHostname(String in) {
this.hostname = in;
}

private String id;
/** Unique identifier of the Resource. */
public String getId() {
return this.id;
}
/** Unique identifier of the Resource. */
public void setId(String in) {
this.id = in;
}

private String name;
/** Unique human-readable name of the Resource. */
public String getName() {
return this.name;
}
/** Unique human-readable name of the Resource. */
public void setName(String in) {
this.name = in;
}

private String password;
/** The password to authenticate with. */
public String getPassword() {
return this.password;
}
/** The password to authenticate with. */
public void setPassword(String in) {
this.password = in;
}

private int port;
/** The port to dial to initiate a connection from the egress node to this resource. */
public int getPort() {
return this.port;
}
/** The port to dial to initiate a connection from the egress node to this resource. */
public void setPort(int in) {
this.port = in;
}

private int portOverride;
/** The local port used by clients to connect to this resource. */
public int getPortOverride() {
return this.portOverride;
}
/** The local port used by clients to connect to this resource. */
public void setPortOverride(int in) {
this.portOverride = in;
}

private String proxyClusterId;
/** ID of the proxy cluster for this resource, if any. */
public String getProxyClusterId() {
return this.proxyClusterId;
}
/** ID of the proxy cluster for this resource, if any. */
public void setProxyClusterId(String in) {
this.proxyClusterId = in;
}

private boolean requireNativeAuth;
/**
* Whether native auth (mysql_native_password) is used for all connections (for backwards
* compatibility)
*/
public boolean getRequireNativeAuth() {
return this.requireNativeAuth;
}
/**
* Whether native auth (mysql_native_password) is used for all connections (for backwards
* compatibility)
*/
public void setRequireNativeAuth(boolean in) {
this.requireNativeAuth = in;
}

private String secretStoreId;
/** ID of the secret store containing credentials for this resource, if any. */
public String getSecretStoreId() {
return this.secretStoreId;
}
/** ID of the secret store containing credentials for this resource, if any. */
public void setSecretStoreId(String in) {
this.secretStoreId = in;
}

private String subdomain;
/**
* Subdomain is the local DNS address. (e.g. app-prod1 turns into
* app-prod1.your-org-name.sdm.network)
*/
public String getSubdomain() {
return this.subdomain;
}
/**
* Subdomain is the local DNS address. (e.g. app-prod1 turns into
* app-prod1.your-org-name.sdm.network)
*/
public void setSubdomain(String in) {
this.subdomain = in;
}

private java.util.Map<String, String> tags;
/** Tags is a map of key, value pairs. */
public java.util.Map<String, String> getTags() {
java.util.Map<String, String> m = new java.util.HashMap<String, String>();
if (this.tags != null) {
m.putAll(this.tags);
}
return m;
}
/** Tags is a map of key, value pairs. */
public void setTags(java.util.Map<String, String> in) {
if (in == null) {
this.tags = null;
return;
}
this.tags = new java.util.HashMap<String, String>();
this.tags.putAll(in);
}

private String username;
/** The username to authenticate with. */
public String getUsername() {
return this.username;
}
/** The username to authenticate with. */
public void setUsername(String in) {
this.username = in;
}
}
Loading

0 comments on commit 6d497ee

Please sign in to comment.