Project-OMOTES / omotes-sdk-protocol

1 stars 0 forks source link

OMOTES orchestrator

This repository is part of the 'Nieuwe Warmte Nu Design Toolkit' project.

Orchestrator component of OMOTES project which monitors workflows and starts the various steps of each workflow.

Developers Guide

Please install protoc on your machine and make sure it is available in your PATH.
Version 25.2 is used: https://github.com/protocolbuffers/protobuf/releases.

The protobuf definition is under src/ and any language specific generated code resides under the language folder. For instance, the Python implementation resides under python/. The same holds for any packaging and build tools, they reside under the language folder as well. The tools for generating the language-specific code us under root /.

To generate new language-specific implementations of the protocol:

Python-specific implementation Developers Guide

A number of tools are available to create the Python package:

TypeScript-specific implementation Developers Guide

To build the TypeScript artifacts, navigate to ./typescript and run npm run build. Versioning is done automatically through the corresponding GitHub action (see node_release.yml).

Release

Releases are generated by creating and publishing a release on Github. This ensures that release notes are generated as well and that a tag exists with the accompanying release.

Steps to release: