Skip to content

[GitHub Bot] Generated java SDK - #181

Closed
mpragosa-te wants to merge 1 commit into
mainfrom
20260730-114711
Closed

[GitHub Bot] Generated java SDK#181
mpragosa-te wants to merge 1 commit into
mainfrom
20260730-114711

Conversation

@mpragosa-te

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: feec85e07f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +151 to +152
public Events getEvents(String aid, String window, OffsetDateTime startDate, OffsetDateTime endDate, Integer max, String cursor, Boolean ongoing) throws ApiException {
ApiResponse<Events> response = getEventsWithHttpInfo(aid, window, startDate, endDate, max, cursor, ongoing);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the existing event-listing overloads

When an existing client upgrades this SDK, every call to the previous six-argument getEvents method now fails to compile, while replacing the JAR without recompiling produces NoSuchMethodError; the same break affects getEventsPaginated and getEventsWithHttpInfo. Since ongoing is optional, retain the prior public overloads and delegate them to these new signatures with null.

Useful? React with 👍 / 👎.

Comment on lines +35 to +36
public static final String JSON_PROPERTY_ASN = "asn";
private Integer asn;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Represent branch ASNs with Long

When an agent-branch event is associated with a valid 32-bit ASN above Integer.MAX_VALUE—notably a private-use ASN in the 4200000000–4294967294 range—Jackson cannot bind the response's numeric asn into this Integer, causing the entire event response to fail deserialization. Use Long, as the SDK's other network-provider ASN models do.

Useful? React with 👍 / 👎.

Comment on lines +115 to 116
public EventAffectedAgentType getType() {
return type;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the affected-agent enum API

When clients compiled against the previous SDK call EventApiAffectedAgent#getType, this changed return type alters the JVM method descriptor and causes NoSuchMethodError; recompiling also fails because CloudEnterpriseAgentType was deleted and the builder and setter now require a different enum. Preserve the existing enum type and add the new constants to it, or provide a compatible migration layer instead of replacing the public type.

Useful? React with 👍 / 👎.

@rodrirod-te rodrirod-te closed this Aug 7, 2026
@rodrirod-te
rodrirod-te deleted the 20260730-114711 branch August 7, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants