Enable synchronizing SlackConfig changes to already initialized API clients
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Issue này đề cập đến SlackConfig, các phiên bản Slack đã được khởi tạo và những client như MethodsClient; trước tiên hãy theo dõi cách cấu hình được sao chép trong quá trình khởi tạo API-client. Xác định cơ chế đồng bộ hóa và mọi hành vi opt-in, sau đó xác minh rằng các thay đổi về proxy và các thiết lập khởi tạo khác sau đó được phản ánh trong những client đang hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
As mentioned in https://github.com/slackapi/java-slack-sdk/issues/1129
It would be nice if slackConfig.setProxy() would work after the the SlackConfig is initialized. I think it works if the library detects no environment variables and proxyUrl is null. (At least this is what happens in v1.13.0 of the library, but because this version does not try to look at the HTTPS_PROXY and HTTP_PROXY environment variables)
updating the proxy URL in the SlackConfig does not affect the already initialized Slack instances and its API clients such as MethodsClient. This is true not only for the proxy URL setting but also others that can be used for initializing API clients.
To improve this, linking a SlackConfig and all the active API clients that used the SlackConfig for initialization and synchronizing the changes. This should work well for most cases but it can be a minor behavior change. So, if we add this enhancement, perhaps, we should consider a new opt-in option for enabling the behavior change only when it's necessary.
Category (place an x in each of the [ ])
- bolt (Bolt for Java)
- bolt-{sub modules} (Bolt for Java - optional modules)
- slack-api-client (Slack API Clients)
- slack-api-model (Slack API Data Models)
- slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
- slack-app-backend (The primitive layer of Bolt for Java)
Requirements
Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.
- Ngôn ngữ chính
- Java
- Star
- 602
- Fork
- 235
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của slackapi/java-slack-sdk
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
slackapi/java-slack-sdk#1653 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Upgrade JettyCó thể đã có người làm @skrcode đã nhận 39 ngày trước. Đang mởauto-triage-skip dependencies good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
slackapi/java-slack-sdk#1567 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
auto-triage-skip discussion enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
slackapi/java-slack-sdk#1535 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Workflows, Slack Apps and formsĐang mởauto-triage-skip question untriaged
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
slackapi/java-slack-sdk#1528 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update okhttp to 5.xĐang mởauto-triage-skip dependencies project:slack-api-client project:slack-app-backend
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
slackapi/java-slack-sdk#1500 · 11 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của slackapi/java-slack-sdk
Issue tương tự
-
enhancement good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 66/100
apache/fineract-consumer-facing#175 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)Có thể đã có người làm @dadiyang đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mixCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
apache/rocketmq-dashboard#6110 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Feature:Resolution
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
intellij-elixir/intellij-elixir#4396 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python 3.15 supportCó thể đã có người làm @amnesiaof đã nhận hôm nay. Đang mởL: python L: python:uv
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dependabot/dependabot-core#16524 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày