Skip to content
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

Add Quickstart guide #40

Merged
merged 8 commits into from
Nov 23, 2023
Merged

Conversation

Chrylo
Copy link
Contributor

@Chrylo Chrylo commented Nov 20, 2023

The main focus was on the QUICKSTART guide but also adds a bit more to the README file. The PR also adds more sample code for the specification usage.

I decided against creating another sample module for the specifications for the sake of simplicity.

README.md Outdated Show resolved Hide resolved

It allows you to access VSS data from KUKSA databroker using an Android System.
The Kuksa Android SDK allows you to interact with [VSS data](https://github.com/COVESA/vehicle_signal_specification)
from the [KUKSA Databroker](https://github.com/eclipse/kuksa.val/tree/master/kuksa_databroker)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably also better to link here to the main page, instead of the sub page:
https://github.com/eclipse/kuksa.val/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am a little bit disagreeing here because everyone would just go instantly to the sub link from the main page. Feels more like the right entry point to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the last sentence and linked to GitHub packet

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
Comment on lines 45 to 60
private var dataBrokerConnection: DataBrokerConnection? = null

fun connectInsecure(host: String, port: Int) {
lifecycleScope.launch {
val managedChannel = ManagedChannelBuilder.forAddress(host, port)
.usePlaintext()
.build()

val connector = DataBrokerConnector(managedChannel)
dataBrokerConnection = connector.connect()
// Connection to the DataBroker successfully established
} catch (e: DataBrokerException) {
// Connection to the DataBroker failed
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs "more explanation" because if we can connect secure or insecure highly depends on how the databroker is started. Should be fine to add a note here, to check the sample code as you did in the quickstart.md.

A backreference to how to start databroker secure / insecure would also be great here.

Whatever you do make sure to keep Quickstart aligned.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a note to the README. The secure way is references in the QUICKSTART guide. Probably enough?

samples/build.gradle.kts Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/QUICKSTART.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/QUICKSTART.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@wba2hi wba2hi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@SebastianSchildt SebastianSchildt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📜 docs, nice. lgtm

@SebastianSchildt SebastianSchildt merged commit dbd4e19 into eclipse-kuksa:main Nov 23, 2023
5 checks passed
@wba2hi wba2hi mentioned this pull request Dec 7, 2023
@erikbosch erikbosch deleted the feature-10 branch October 31, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants