-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make Certificate Selectable in TestApp #21
Conversation
Closes: eclipse-kuksa#15 Signed-Off-By: Andre Weber <andre.weber3@etas.com>
app/src/main/kotlin/org/eclipse/kuksa/testapp/databroker/view/DataBrokerView.kt
Show resolved
Hide resolved
app/src/test/kotlin/org/eclipse/kuksa/testapp/model/ConnectionInfoTest.kt
Show resolved
Hide resolved
app/src/test/kotlin/org/eclipse/kuksa/testapp/model/ConnectionInfoTest.kt
Show resolved
Hide resolved
app/src/test/kotlin/org/eclipse/kuksa/testapp/model/ConnectionInfoTest.kt
Show resolved
Hide resolved
app/src/test/kotlin/org/eclipse/kuksa/testapp/model/ConnectionInfoTest.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/org/eclipse/kuksa/testapp/databroker/view/FileSelectorSettingView.kt
Outdated
Show resolved
Hide resolved
@Preview | ||
@Composable | ||
fun FileSelectorSettingPreview() { | ||
FileSelectorSettingView(label = "Certificate", value = "CA.pem") { |
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
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.
Uhm,... I don't see the typo, please elaborate here
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.
Magic :O
LGTM
|
So it works but if I use a file that does not work it will just timeout. As user I would want to know that it times out because of my wrong file or because I didn't specify one. Otherwise it looks good. |
Unfortunately we don't get that info. We only get the "ConnectionState" (IDLE, CONNECTED, CLOSED,...) to verify if the channel to the DataBroker is connected. We can roll that part up again and see if we can improve the "how to connect"-logic but this would be part of a separate ticket. |
Understood okay :) |
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.
LGTM. What I did:
- tested uploading certificates and using them (false and right ones)
Closes: #15