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

Integrate and configure VUM and CUA #180

Merged

Conversation

vasilvas99
Copy link
Contributor

VUM and CUA are now available as open source components.

This PR integrates and configures both VUM and CUA (as part of kanto).

The VUM domain is set as "vehicle", therefore the desiredstate topic would be vehicleupdate/desiredstate

Triggering a SUA update

Save as sua_example.json:

{
    "activityId": "random-uuid-as-string",
    "timestamp": 123456789,
    "payload": {
        "domains": [
            {
                "id": "self-update",
                "components": [
                    {
                        "id": "os-image",
                        "version": "v1beta3",
                        "config": [
                            {
                                "key": "image",
                                "value": "http://127.0.0.1:5555/bundle"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}

Run:

mosquitto_pub -t "vehicleupdate/desiredstate" -f sua_example.json

Triggering a CUA update

Save as cua_example.json:

{
	"activityId": "testActivityId",
	"payload": {
		"domains": [
			{
				"id": "containers",
				"config": [],
				"components": [
					{
						"id": "hello-world",
						"version": "latest",
						"config": [
							{
								"key": "image",
								"value": "docker.io/library/hello-world:latest"
							}
						]
					}
				]
			}
		]
	}
}

Run:

mosquitto_pub -t "vehicleupdate/desiredstate" -f cua_example.json

@vasilvas99 vasilvas99 changed the title Integrate VUM and CUA Integrate and configure VUM and CUA Aug 21, 2023
@stlachev stlachev merged commit 0cc2b19 into eclipse-leda:main Aug 21, 2023
3 of 5 checks passed
@stlachev stlachev deleted the um-vum-cua-integration branch August 21, 2023 11:49
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.

2 participants