com.ibm.cp4waiops.connectors.sdk.Constant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connectors-sdk Show documentation
Show all versions of connectors-sdk Show documentation
A developer SDK for creating connectors for CP4WAIOps.
package com.ibm.cp4waiops.connectors.sdk;
public class Constant {
// Status properties
public static final String STATUS_REASON_PROPERTY = "reason";
// Metric tag identifiers
public static final String CONNECTOR_ID_TAG = "connector_id";
public static final String COMPONENT_NAME_TAG = "component_name";
public static final String CHANNEL_NAME_TAG = "channel_name";
public static final String LIVENESS_CHECK_TYPE = "liveness";
public static final String READINESS_CHECK_TYPE = "readiness";
// Properties
public static final String SERVICE_BINDING_DIR_ENV_VAR = "SERVICE_BINDING_ROOT";
public static final String DEFAULT_BINDING_DIRECTORY = "/bindings";
public static final String GRPC_BRIDGE_BINDING_NAME = "grpc-bridge";
public static final String VAULT_BINDING_NAME = "vault";
public static final String ELASTIC_BINDING_NAME = "elastic";
public static final String HOST_PROPERTY = "host";
public static final String PORT_PROPERTY = "port";
public static final String PATH_PREFIX_PROPERTY = "path-prefix";
public static final String SERVER_CERTIFICATE_FILE_PROPERTY = "server-certificate-file";
public static final String CLIENT_CERTIFICATE_FILE_PROPERTY = "client-certificate-file";
public static final String CLIENT_PRIVATE_KEY_FILE_PROPERTY = "client-private-key-file";
public static final String ID_PROPERTY = "id";
public static final String CLIENT_ID_PROPERTY = "client-id";
public static final String CLIENT_SECRET_PROPERTY = "client-secret";
public static final String TOKEN_PROPERTY = "token";
public static final String METRIC_API_KEY = "metric-api-key";
public static final String TOKEN_REFRESH_PERIOD = "refresh-period";
public static final String CONFIG_QUEUE_LENGTH_PROPERTY = "config-queue-length";
public static final String ACTION_QUEUE_LENGTH_PROPERTY = "action-queue-length";
public static final String EMIT_QUEUE_LENGTH_PROPERTY = "emit-queue-length";
public static final String PRODUCE_MAX_MESSAGE_SIZE_PROPERTY = "produce-max-message-size";
public static final String GRPC_CLIENT_KEEP_ALIVE_TIME_SECONDS_PROPERTY = "grpc-client-keep-alive-time-seconds";
// Misc
public static final String TLS_CA_FILENAME = "ca.crt";
public static final String TLS_CERT_FILENAME = "tls.crt";
public static final String TLS_CERT_KEY_FILENAME = "tls.key";
public static final String CONTENT_TYPE_HEADER = "Content-Type";
public static final String VAULT_TOKEN_HEADER = "X-Vault-Token";
public static final String AUTHORIZATION_HEADER = "Authorization";
public static final String JSON_CONTENT_TYPE = "application/json";
public static final String PLAIN_CONTENT_TYPE = "text/plain";
public static final String STANDARD_TENANT_ID = "cfd95b7e-3bc7-4006-a4a8-a73a79c71255";
public static final String CE_EXT_STRUCTURED_CONTENT_MODE = "structuredcontentmode";
// Env var
public static final String DIRECT_TO_ELASTIC_HOSTNAME = "DIRECT_TO_ELASTIC_HOSTNAME";
public static final String DIRECT_TO_ELASTIC_PORT = "DIRECT_TO_ELASTIC_PORT";
public static final String DIRECT_TO_ELASTIC_USERNAME = "DIRECT_TO_ELASTIC_USERNAME";
public static final String DIRECT_TO_ELASTIC_PASSWORD = "DIRECT_TO_ELASTIC_PASSWORD";
// Elastic
public static final String ELASTIC_INCIDENT = "snowincident";
public static final String ELASTIC_CHANGE_REQUEST = "snowchangerequest";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy