Manual Endpoint Configuration Required for ZprClient in OCI Java SDK

未关闭
#635 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
api, cloud

调研方向

Issue 确定 ZprClient 的 endpoint 配置是受影响的区域,并提供了使用 setEndpoint 的手动变通方案。首先检查 v3.50.2 的发布状态;“完成”意味着在受影响的区域中,ZprClient 不需要手动覆盖 endpoint。

由索引模型根据 Issue 内容生成。

描述

SDK

Update: This has been fixed in v3.50.2. If you are not able to upgrade to a non-affected version at this time, please use the workaround mentioned below


If you are using or want to use ZprClient in OCI Java SDK then you have to manually update the endpoint.

Description

Users of the OCI Java SDK who wish to utilize ZprClient must manually update the endpoint due to an incorrect configuration in the service endpoint. This issue affects the Zero Trust Packet Routing Service (ZPR) released in version 3.50.1.

Workaround

To resolve this issue, users need to manually set the endpoint when creating a ZprClient instance. Here's an example of how to do this:

        ZprClient zprClient =
                ZprClient.builder()
                        .build(provider);
        zprClient.setEndpoint("https://zpr.{region}.oci.oraclecloud.com");

Replace {region} with the appropriate region for your OCI deployment
The correct endpoint for your specific region can be found in the Oracle Cloud Infrastructure API documentation here.

主要语言
Java
星标
243
派生
171
平均合并
5 分钟
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oracle/oci-java-sdk 的其他 Issue

查看 oracle/oci-java-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。