Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.19 KB

File metadata and controls

48 lines (32 loc) · 2.19 KB

Starwit AI Cockpit API Data Model

This repository contains generated code, that implements the data model of project AI Cockpit. Data model is defined here If you want to know more about project AI Cockpit, more details can be found at https://www.kicockpit.eu/.

Supported Languages

Data model is made available in a number of languages.

Java

Java class library is packaged in to a jar file and published at Maven Central Repository. Latest versions can be found here: https://central.sonatype.com/artifact/de.starwit.aic/aicockpit-api/versions

You can then use library in your projects like so:

<dependency>
    <groupId>de.starwit.aic</groupId>
    <artifactId>aicockpit-api</artifactId>
    <version>0.0.9</version>
</dependency>

For other Java build tools, please refer to their respective documentation, to use Maven dependencies.

Python

Add the following to your pyproject.toml dependencies section:
starwit_aic_api = { git = "https://github.com/starwit/starwit-aic-api.git", subdirectory = "python/generated-library", tag = "0.0.9" }

TODO publishing to PyPi.

Dev

This repo is not supposed to see actual development activity. Ir shall only contain generated code for various languages and is being used to publish libraries for each supported programming languages.

Publish

Workflow publish is supposed to release Java lib to Maven Central and Python package to PyPi. You have to provide release version number, to publish artifact.

In Maven central an uploaded library still has to be manually approved for publication. You have to use proper login at https://central.sonatype.com/.

Run/Debug Github Actions locally

act -W .github/workflows/create-release.yaml --input-file local.inputs --secret-file local.secrets -P self-hosted=-self-hosted

Contact & Contribution

The “KI-Cockpit” (AI Cockpit) project was funded by the Federal Ministry of Labor and Social Affairs.

BMAS Logo

License

Software in this repository is licensed under the AGPL-3.0 license. See license agreement for more details.