Skip to content

[#noissue] Make V4 gRPC apiKey optional and thread serviceUid through… - #13873

Open
emeroad wants to merge 1 commit into
pinpoint-apm:masterfrom
emeroad:#noissue_clean1
Open

[#noissue] Make V4 gRPC apiKey optional and thread serviceUid through…#13873
emeroad wants to merge 1 commit into
pinpoint-apm:masterfrom
emeroad:#noissue_clean1

Conversation

@emeroad

@emeroad emeroad commented Jun 19, 2026

Copy link
Copy Markdown
Member

… the application map

  • V4 apiKey is now optional: ClientHeaderFactoryV4 omits the API_KEY header when null, HeaderV4/ObjectNameV4 drop requireNonNull and mark apiKey @nullable, ServerHeaderReaderV4 reads it leniently, ObjectNameResolverV4 no longer fails when -Dpinpoint.apikey is absent
  • ServiceUid: Vertex gains an of(serviceUid, applicationName, serviceType) overload and includes serviceUid in toString; HbaseApplicationMapService builds the self-vertex with ServiceUid.DEFAULT; rename ServiceUid.TEST -> TEST_SERVICE (+ TEST_SERVICE_UID_NAME); DefaultServerRequestFactory resolves the serviceUid from the header service name

… the application map

- V4 apiKey is now optional: ClientHeaderFactoryV4 omits the API_KEY header when null,
  HeaderV4/ObjectNameV4 drop requireNonNull and mark apiKey @nullable, ServerHeaderReaderV4
  reads it leniently, ObjectNameResolverV4 no longer fails when -Dpinpoint.apikey is absent
- ServiceUid: Vertex gains an of(serviceUid, applicationName, serviceType) overload and
  includes serviceUid in toString; HbaseApplicationMapService builds the self-vertex with
  ServiceUid.DEFAULT; rename ServiceUid.TEST -> TEST_SERVICE (+ TEST_SERVICE_UID_NAME);
  DefaultServerRequestFactory resolves the serviceUid from the header service name
@emeroad emeroad added this to the 4.0.0 milestone Jun 19, 2026
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant