-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
User Impact
- Client metadata will now be a promise that is awaited at connect() time
- This is because capturing docker metadata is an async process
Acceptance Criteria
Implementation Requirements
- Changes to ClientMetadata
- Mark ClientMetadata interface as internal
- Make env?.name property optional
- Add in env?.container?.orchestrator, and env?.container?.runtime properties to interface
- Refactor addContainerMetadata to be inside of makeClientMetadata
- Delete extendedClientMetadata property from codebase
- This is because clientMetadata will now hold container data
- await clientMetadata instead of extendedClientMetadata in prepareHandshakeDocument
Testing Requirements
- Make sure existing tests pass
Documentation Requirements
- Update API for client metadata
- has to be done after
-
NODE-5454 Driver Container and Kubernetes Awareness
- Closed