-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/cert extn sdk #271
base: next
Are you sure you want to change the base?
Conversation
Core SDK - MFOS standalone sanity report: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo with onFireboltInterections (onFireboltInteractions)
} | ||
], | ||
"result": { | ||
"name": "success", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for success fields in results
} | ||
], | ||
"result": { | ||
"name": "success", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for success fields in result
"name": "Screen capture and sends back the image stream with base64 encoded", | ||
"params": [], | ||
"result": { | ||
"name": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/wcAAgMBApDPF90AAAAASUVORK5CYII=", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think we need to consider returning the image asynchronously as chunks
"result": { | ||
"name": "event", | ||
"value": { | ||
"interactionRequest": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably could just have this be a json string instead individual fields being in the schema here.
"params": [ | ||
{ | ||
"name": "uploadPath", | ||
"value": "http://example.com/upload" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would the upload actually work? Wouldn't this functionality require additional details, such as HTTP auth headers, etc?
}, | ||
{ | ||
"name": "healthCheck", | ||
"summary": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one needs a summary
}, | ||
{ | ||
"name": "appPerformance", | ||
"summary": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above; needs a summary
"name": "appPerformanceResult", | ||
"summary": "Result of the interaction", | ||
"schema": { | ||
"$ref": "#/components/schemas/AppPerformanceSnapshotResult" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we should align healthCheck
and appPerformance
methods, as they seem to be related and return similar values.
Maybe systemHealthCheck
and appHealthCheck
?
"type": "number", | ||
"description": "The cpu usage of the system" | ||
}, | ||
"deviceMemory": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about using other adjectives on these values? It's reasonable that we might want to expand this object to return more fields later on, so it might be helpful to be clear in our responses now e.g.
cpuLoad1minAverage
cpuLoad5minAverage
deviceMemoryUsed
memoryUsed
memoryLimit
We also might want to note the units in the field descriptions, particularly on the memory
values. I assume they're in Mb?
…to feature/cert-extn-sdk
Core SDK - MFOS standalone sanity report: |
Core SDK - MFOS standalone sanity report: |
No description provided.