Java-Core to Gax Mapping Tracking Ticket

オープン
#13,297 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
java

調査の方向性

まず、列挙されている Java-Core と Gax の領域を比較します。ServiceOptions と ClientSettings、Resolve Host と EndpointContext、DirectExector と ScheduledExectuor です。この issue ではファイルやテストが指定されていません。完了するには、既存の手書きのクライアントライブラリを壊さずに、完全なマッピングを定義して実装する必要があります。

索引モデルが issue の本文から書いたものです。

説明

priority: p2 type: feature request

Problem

The Java SDK has a split in some runtime functionality between Java-Core and Gax for some client libraries. Historically Java-Core was maintained by older handwritten teams and contains mostly the same functionality that exists inside Gax. Gax is modern and actively maintained by the Cloud Java team and to ensure that features have complete coverage in the Java SDK, the features must be added to both Java-Core and Gax. We cannot get rid of Java-Core without potential breaking changes and migrating all use cases to Gax may not also be possible.

Solution(s)?

  1. Java-Core's functionality serves as a wrapper around Gax that is used for older, existing handwritten libraries. Java-Core should delegate the actual logic to Gax so that there is a single source of truth. Changes required from new features should only be made to Gax and can be applied to all the client libraries in the SDK.

Areas to consider creating a mapping

  1. Settings/ Options (ServiceOptions -> ClientSettings)
  2. URL Resolution (Resolve Host -> EndpointContext)
  3. Executor logic (Deprecation of DirectExector and replace with ScheduledExectuor)?
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
2日 14時間
マージ済み PR(30日)
192

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-java のほかの issue

googleapis/google-cloud-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。