Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix K8s service port [CN-894] #24834

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Fix K8s service port [CN-894] #24834

merged 1 commit into from
Jun 19, 2023

Conversation

SeriyBg
Copy link
Contributor

@SeriyBg SeriyBg commented Jun 16, 2023

Change the port name from hazelcast-service-port that is longer than 15 characters to hazelcast.

Fixes #24688
Fixes #24705

Breaking changes (list specific methods/types/messages):

  • API
  • client protocol format
  • serialized form
  • snapshot format

Checklist:

  • [+] Labels (Team:, Type:, Source:, Module:) and Milestone set
  • [+] Label Add to Release Notes or Not Release Notes content set
  • [+] Request reviewers if possible
  • [+] Send backports/forwardports if fix needs to be applied to past/future releases
  • [+] New public APIs have @Nonnull/@Nullable annotations
  • [+] New public APIs have @since tags in Javadoc

@SeriyBg SeriyBg requested review from a team, hasancelik and semihbkgr and removed request for a team June 16, 2023 12:23
JsonValue servicePort = port.asObject().get("port");
if (servicePort != null && servicePort.isNumber()) {
return servicePort.asInt();
}
}
}
if (ports.size() > 0) {
if (ports.size() == 1) {
Copy link
Member

Choose a reason for hiding this comment

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

Why changed in this way equals to 1

Copy link
Member

Choose a reason for hiding this comment

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

Anyway, It is not a big deal. In the best practice, we assume to have a port named as hazelcast.

@hasancelik hasancelik modified the milestones: 5.3.z, 5.4.0 Jun 19, 2023
@SeriyBg SeriyBg merged commit 092ffa7 into master Jun 19, 2023
8 checks passed
@SeriyBg SeriyBg deleted the CN-894-port-name-fix branch June 19, 2023 12:13
SeriyBg added a commit that referenced this pull request Jun 19, 2023
Backport of: #24834

Checklist:
- [X] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set
- [X] Label `Add to Release Notes` or `Not Release Notes content` set
- [X] Request reviewers if possible
- [X] Send backports/forwardports if fix needs to be applied to
past/future releases
- [X] New public APIs have `@Nonnull/@Nullable` annotations
- [X] New public APIs have `@since` tags in Javadoc
SeriyBg added a commit that referenced this pull request Jul 3, 2023
Backport of: #24834

Checklist:
- [X] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set
- [X] Label `Add to Release Notes` or `Not Release Notes content` set
- [X] Request reviewers if possible
- [X] Send backports/forwardports if fix needs to be applied to
past/future releases
- [X] New public APIs have `@Nonnull/@Nullable` annotations
- [X] New public APIs have `@since` tags in Javadoc
SeriyBg added a commit that referenced this pull request Aug 16, 2023
Backport of: #24834

Checklist:
- [X] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set
- [X] Label `Add to Release Notes` or `Not Release Notes content` set
- [X] Request reviewers if possible
- [X] Send backports/forwardports if fix needs to be applied to
past/future releases
- [X] New public APIs have `@Nonnull/@Nullable` annotations
- [X] New public APIs have `@since` tags in Javadoc
SeriyBg added a commit that referenced this pull request Aug 16, 2023
Backport of: #24834

Checklist:
- [X] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set
- [X] Label `Add to Release Notes` or `Not Release Notes content` set
- [X] Request reviewers if possible
- [X] Send backports/forwardports if fix needs to be applied to
past/future releases
- [X] New public APIs have `@Nonnull/@Nullable` annotations
- [X] New public APIs have `@since` tags in Javadoc
devOpsHazelcast pushed a commit that referenced this pull request Feb 26, 2024
Backport of: #24834

Checklist:
- [X] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set
- [X] Label `Add to Release Notes` or `Not Release Notes content` set
- [X] Request reviewers if possible
- [X] Send backports/forwardports if fix needs to be applied to
past/future releases
- [X] New public APIs have `@Nonnull/@Nullable` annotations
- [X] New public APIs have `@since` tags in Javadoc
GitOrigin-RevId: 5bbb6b4476a0a8b5a737d7a3fc47dab803301a6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants