Skip to content

Commit

Permalink
LITE-28143 add runtime, hostname and domain to setup response
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Faraone committed Jul 19, 2023
1 parent 9708550 commit de50f67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connect/eaas/core/proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ class SetupResponse(BaseModel):
environment_type: Optional[str]
logging: Optional[Logging]
event_definitions: Optional[List[EventDefinition]]
environment_runtime: Optional[str]
environment_hostname: Optional[str]
environment_domain: Optional[str]
model_type: Literal['setup_response'] = 'setup_response'

def get_sensitive_fields(self):
Expand Down
3 changes: 3 additions & 0 deletions tests/connect/eaas/core/test_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@
},
},
'event_definitions': None,
'environment_runtime': None,
'environment_hostname': None,
'environment_domain': None,
'model_type': 'setup_response',
}
SETUP_RESPONSE_DATA_V1 = {
Expand Down

0 comments on commit de50f67

Please sign in to comment.