Skip to content

Commit

Permalink
Merge pull request #100 from cloudblue/LITE-28143-enrich-setup-response
Browse files Browse the repository at this point in the history
LITE-28143 add runtime, hostname and domain to setup response
  • Loading branch information
ffaraone authored Jul 20, 2023
2 parents 9708550 + de50f67 commit e02e83d
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 e02e83d

Please sign in to comment.