Skip to content
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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fun generateTask(taskName: String, incubating: Boolean) {
"--mount", "type=bind,source=${modelPath},target=/home/weaver/source,readonly",
"--mount", "type=bind,source=$projectDir/buildscripts/templates,target=/home/weaver/templates,readonly",
"--mount", "type=bind,source=$projectDir/$outputDir,target=/home/weaver/target",
"otel/weaver:v0.16.1@sha256:5ca4901b460217604ddb83feaca05238e2b016a226ecfb9b87a95555918a03af",
"otel/weaver:v0.17.1@sha256:32523b5e44fb44418786347e9f7dde187d8797adb6d57a2ee99c245346c3cdfe",
"registry", "generate",
"--registry=/home/weaver/source",
"--templates=/home/weaver/templates",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ public final class {{ my_class_name }} {
{% endif %}
public static final class {{ attribute.name | pascal_case }}IncubatingValues {
{%- for member in attribute.type.members %}
{% if member is experimental or enum_deprecated_in_favor_of_stable.value %}{{ [member.brief or (member.id ~ '.')] | comment }}
{%- if member is experimental and member is deprecated -%}
{{ [member.brief or (member.id ~ '.'), "@deprecated " ~ member.deprecated.note] | comment }}
@Deprecated public static final {{ attribute.type | instantiated_type | map_text("java_enum_type") }} {{ member.id | screaming_snake_case }} = {{ member.value | print_member_value }};
{% elif member is experimental or enum_deprecated_in_favor_of_stable.value %}
{{ [member.brief or (member.id ~ '.')] | comment }}
{%- if member is deprecated -%}
@Deprecated
{%- endif -%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,12 @@ public static final class DbSystemIncubatingValues {
/** Adabas (Adaptable Database System) */
public static final String ADABAS = "adabas";

/** Deprecated, use {@code intersystems_cache} instead. */
public static final String CACHE = "cache";
/**
* Deprecated, use {@code intersystems_cache} instead.
*
* @deprecated Replaced by {@code intersystems_cache}.
*/
@Deprecated public static final String CACHE = "cache";

/** InterSystems Caché */
public static final String INTERSYSTEMS_CACHE = "intersystems_cache";
Expand All @@ -733,14 +737,22 @@ public static final class DbSystemIncubatingValues {
/** ClickHouse */
public static final String CLICKHOUSE = "clickhouse";

/** Deprecated, use {@code other_sql} instead. */
public static final String CLOUDSCAPE = "cloudscape";
/**
* Deprecated, use {@code other_sql} instead.
*
* @deprecated Replaced by {@code other_sql}.
*/
@Deprecated public static final String CLOUDSCAPE = "cloudscape";

/** CockroachDB */
public static final String COCKROACHDB = "cockroachdb";

/** Deprecated, no replacement at this time. */
public static final String COLDFUSION = "coldfusion";
/**
* Deprecated, no replacement at this time.
*
* @deprecated Removed.
*/
@Deprecated public static final String COLDFUSION = "coldfusion";

/** Microsoft Azure Cosmos DB */
public static final String COSMOSDB = "cosmosdb";
Expand Down Expand Up @@ -772,8 +784,12 @@ public static final class DbSystemIncubatingValues {
/** Firebird */
public static final String FIREBIRD = "firebird";

/** Deprecated, use {@code other_sql} instead. */
public static final String FIRSTSQL = "firstsql";
/**
* Deprecated, use {@code other_sql} instead.
*
* @deprecated Replaced by {@code other_sql}.
*/
@Deprecated public static final String FIRSTSQL = "firstsql";

/** Apache Geode */
public static final String GEODE = "geode";
Expand Down Expand Up @@ -823,8 +839,12 @@ public static final class DbSystemIncubatingValues {
/** Microsoft SQL Server */
public static final String MSSQL = "mssql";

/** Deprecated, Microsoft SQL Server Compact is discontinued. */
public static final String MSSQLCOMPACT = "mssqlcompact";
/**
* Deprecated, Microsoft SQL Server Compact is discontinued.
*
* @deprecated Removed, use {@code other_sql} instead.
*/
@Deprecated public static final String MSSQLCOMPACT = "mssqlcompact";

/** MySQL */
public static final String MYSQL = "mysql";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,19 @@ public static final class GenAiSystemIncubatingValues {
/** Gemini */
public static final String GCP_GEMINI = "gcp.gemini";

/** Vertex AI */
public static final String VERTEX_AI = "vertex_ai";
/**
* Vertex AI
*
* @deprecated Use 'gcp.vertex_ai' instead.
*/
@Deprecated public static final String VERTEX_AI = "vertex_ai";

/** Gemini */
public static final String GEMINI = "gemini";
/**
* Gemini
*
* @deprecated Use 'gcp.gemini' instead.
*/
@Deprecated public static final String GEMINI = "gemini";

/** Anthropic */
public static final String ANTHROPIC = "anthropic";
Expand All @@ -377,11 +385,19 @@ public static final class GenAiSystemIncubatingValues {
/** Azure OpenAI */
public static final String AZURE_AI_OPENAI = "azure.ai.openai";

/** Azure AI Inference */
public static final String AZ_AI_INFERENCE = "az.ai.inference";
/**
* Azure AI Inference
*
* @deprecated Replaced by azure.ai.inference
*/
@Deprecated public static final String AZ_AI_INFERENCE = "az.ai.inference";

/** Azure OpenAI */
public static final String AZ_AI_OPENAI = "azure.ai.openai";
/**
* Azure OpenAI
*
* @deprecated Replaced by azure.ai.openai
*/
@Deprecated public static final String AZ_AI_OPENAI = "azure.ai.openai";

/** IBM Watsonx AI */
public static final String IBM_WATSONX_AI = "ibm.watsonx.ai";
Expand Down Expand Up @@ -412,8 +428,12 @@ public static final class GenAiTokenTypeIncubatingValues {
/** Input tokens (prompt, input, etc.) */
public static final String INPUT = "input";

/** Output tokens (completion, response, etc.) */
public static final String COMPLETION = "output";
/**
* Output tokens (completion, response, etc.)
*
* @deprecated Replaced by {@code output}.
*/
@Deprecated public static final String COMPLETION = "output";

/** Output tokens (completion, response, etc.) */
public static final String OUTPUT = "output";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,19 @@ public static final class MessagingOperationTypeIncubatingValues {
/** One or more messages are settled. */
public static final String SETTLE = "settle";

/** Deprecated. Use {@code process} instead. */
public static final String DELIVER = "deliver";
/**
* Deprecated. Use {@code process} instead.
*
* @deprecated Replaced by {@code process}.
*/
@Deprecated public static final String DELIVER = "deliver";

/** Deprecated. Use {@code send} instead. */
public static final String PUBLISH = "publish";
/**
* Deprecated. Use {@code send} instead.
*
* @deprecated Replaced by {@code send}.
*/
@Deprecated public static final String PUBLISH = "publish";

private MessagingOperationTypeIncubatingValues() {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ public static final class OsTypeIncubatingValues {
/** SunOS, Oracle Solaris */
public static final String SOLARIS = "solaris";

/** Deprecated. Use {@code zos} instead. */
public static final String Z_OS = "z_os";
/**
* Deprecated. Use {@code zos} instead.
*
* @deprecated Replaced by {@code zos}.
*/
@Deprecated public static final String Z_OS = "z_os";

/** IBM z/OS */
public static final String ZOS = "zos";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,13 @@ public static final class SystemMemoryStateIncubatingValues {
/** free. */
public static final String FREE = "free";

/** shared. */
public static final String SHARED = "shared";
/**
* shared.
*
* @deprecated Removed, report shared memory usage with {@code metric.system.memory.shared}
* metric
*/
@Deprecated public static final String SHARED = "shared";

/** buffers. */
public static final String BUFFERS = "buffers";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,12 @@ public static final class VcsProviderNameIncubatingValues {
/** <a href="https://gitlab.com">GitLab</a> */
public static final String GITLAB = "gitlab";

/** Deprecated, use {@code gitea} instead. */
public static final String GITTEA = "gittea";
/**
* Deprecated, use {@code gitea} instead.
*
* @deprecated Replaced by {@code gitea}.
*/
@Deprecated public static final String GITTEA = "gittea";

/** <a href="https://gitea.io">Gitea</a> */
public static final String GITEA = "gitea";
Expand Down
Loading