reademe update

This commit is contained in:
Alexander Nozik 2024-12-08 12:15:22 +03:00
parent f708bb93e2
commit e9a37f40fd
29 changed files with 130 additions and 62 deletions

View File

@ -147,6 +147,15 @@ Automatically checks consistency.
> >
> **Maturity**: EXPERIMENTAL > **Maturity**: EXPERIMENTAL
### [simulation-kt](simulation-kt)
> A framework for combination of asynchronous simulations.
>
> **Maturity**: PROTOTYPE
>
> **Features:**
> - [timeline](simulation-kt/#) : Timeline is an ordered discrete history containing TimeLineEvent
### [controls-storage/controls-xodus](controls-storage/controls-xodus) ### [controls-storage/controls-xodus](controls-storage/controls-xodus)
> An implementation of controls-storage on top of JetBrains Xodus. > An implementation of controls-storage on top of JetBrains Xodus.
> >

View File

@ -6,7 +6,7 @@ A low-code constructor for composite devices simulation
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-constructor:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-constructor:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-constructor:0.4.0-dev-4") implementation("space.kscience:controls-constructor:0.4.0-dev-7")
} }
``` ```

View File

@ -16,7 +16,7 @@ Core interfaces for building a device server
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-core:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-core:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -26,6 +26,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-core:0.4.0-dev-4") implementation("space.kscience:controls-core:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-jupyter:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-jupyter:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-jupyter:0.4.0-dev-4") implementation("space.kscience:controls-jupyter:0.4.0-dev-7")
} }
``` ```

View File

@ -12,7 +12,7 @@ Magix service for binding controls devices (both as RPC client and server)
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-magix:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-magix:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -22,6 +22,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-magix:0.4.0-dev-4") implementation("space.kscience:controls-magix:0.4.0-dev-7")
} }
``` ```

View File

@ -14,7 +14,7 @@ Automatically checks consistency.
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-modbus:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-modbus:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -24,6 +24,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-modbus:0.4.0-dev-4") implementation("space.kscience:controls-modbus:0.4.0-dev-7")
} }
``` ```

View File

@ -12,7 +12,7 @@ A client and server connectors for OPC-UA via Eclipse Milo
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-opcua:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-opcua:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -22,6 +22,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-opcua:0.4.0-dev-4") implementation("space.kscience:controls-opcua:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Utils to work with controls-kt on Raspberry pi
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-pi:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-pi:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-pi:0.4.0-dev-4") implementation("space.kscience:controls-pi:0.4.0-dev-7")
} }
``` ```

21
controls-plc4x/README.md Normal file
View File

@ -0,0 +1,21 @@
# Module controls-plc4x
A plugin for Controls-kt device server on top of plc4x library
## Usage
## Artifact:
The Maven coordinates of this project are `space.kscience:controls-plc4x:0.4.0-dev-7`.
**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
mavenCentral()
}
dependencies {
implementation("space.kscience:controls-plc4x:0.4.0-dev-7")
}
```

View File

@ -6,7 +6,7 @@ Implementation of byte ports on top os ktor-io asynchronous API
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-ports-ktor:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-ports-ktor:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-ports-ktor:0.4.0-dev-4") implementation("space.kscience:controls-ports-ktor:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Implementation of direct serial port communication with JSerialComm
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-serial:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-serial:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-serial:0.4.0-dev-4") implementation("space.kscience:controls-serial:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ A combined Magix event loop server with web server for visualization.
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-server:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-server:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-server:0.4.0-dev-4") implementation("space.kscience:controls-server:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ An API for stand-alone Controls-kt device or a hub.
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-storage:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-storage:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-storage:0.4.0-dev-4") implementation("space.kscience:controls-storage:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ An implementation of controls-storage on top of JetBrains Xodus.
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-xodus:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-xodus:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-xodus:0.4.0-dev-4") implementation("space.kscience:controls-xodus:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Dashboard and visualization extensions for devices
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-vision:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-vision:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-vision:0.4.0-dev-4") implementation("space.kscience:controls-vision:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Visualisation extension using compose-multiplatform
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:controls-visualisation-compose:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:controls-visualisation-compose:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:controls-visualisation-compose:0.4.0-dev-4") implementation("space.kscience:controls-visualisation-compose:0.4.0-dev-7")
} }
``` ```

View File

@ -1,14 +1,4 @@
# Module device-collective # Module device-collective
# Running demo from gradle
1. Install JDK 17-21 in the system (for example, from https://sdkman.io/jdks or https://github.com/ScoopInstaller/Java).
2. Clone the repository with Git.
3. Run `./gradlew :demo:device-collective:run` from the project root directory.
# Install distribution
1. Install JDK 17-21 in the system (for example, from https://sdkman.io/jdks or https://github.com/ScoopInstaller/Java).
2. Clone the repository with Git.
3. Run `./gradlew :demo:device-collective:packageUberJarForCurrentOS` from the project root directory.
4. Go to `build/compose/jars/device-collective-<your OS>-<version>.jar`. You can copy it and run with `java -jar <full-name>.jar`

View File

@ -6,7 +6,7 @@ A kotlin API for magix standard and some zero-dependency magix services
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-api:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-api:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-api:0.4.0-dev-4") implementation("space.kscience:magix-api:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Java API to work with magix endpoints without Kotlin
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-java-endpoint:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-java-endpoint:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-java-endpoint:0.4.0-dev-4") implementation("space.kscience:magix-java-endpoint:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ MQTT client magix endpoint
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-mqtt:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-mqtt:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-mqtt:0.4.0-dev-4") implementation("space.kscience:magix-mqtt:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ RabbitMQ client magix endpoint
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-rabbit:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-rabbit:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-rabbit:0.4.0-dev-4") implementation("space.kscience:magix-rabbit:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Magix endpoint (client) based on RSocket
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-rsocket:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-rsocket:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-rsocket:0.4.0-dev-4") implementation("space.kscience:magix-rsocket:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ A magix event loop implementation in Kotlin. Includes HTTP/SSE and RSocket route
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-server:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-server:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-server:0.4.0-dev-4") implementation("space.kscience:magix-server:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@ Magix history database API
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-storage:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-storage:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-storage:0.4.0-dev-4") implementation("space.kscience:magix-storage:0.4.0-dev-7")
} }
``` ```

View File

@ -6,7 +6,7 @@
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-storage-xodus:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-storage-xodus:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-storage-xodus:0.4.0-dev-4") implementation("space.kscience:magix-storage-xodus:0.4.0-dev-7")
} }
``` ```

View File

@ -0,0 +1,21 @@
# Module magix-utils
Common utilities and services for Magix endpoints.
## Usage
## Artifact:
The Maven coordinates of this project are `space.kscience:magix-utils:0.4.0-dev-7`.
**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
mavenCentral()
}
dependencies {
implementation("space.kscience:magix-utils:0.4.0-dev-7")
}
```

View File

@ -6,7 +6,7 @@ ZMQ client endpoint for Magix
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:magix-zmq:0.4.0-dev-4`. The Maven coordinates of this project are `space.kscience:magix-zmq:0.4.0-dev-7`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:magix-zmq:0.4.0-dev-4") implementation("space.kscience:magix-zmq:0.4.0-dev-7")
} }
``` ```

26
simulation-kt/README.md Normal file
View File

@ -0,0 +1,26 @@
# Module simulation-kt
## Features
- [timeline](#) : Timeline is an ordered discrete history containing TimeLineEvent
## Usage
## Artifact:
The Maven coordinates of this project are `space.kscience:simulation-kt:0.4.0-dev-7`.
**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
mavenCentral()
}
dependencies {
implementation("space.kscience:simulation-kt:0.4.0-dev-7")
}
```

View File

@ -5,10 +5,6 @@ plugins {
`maven-publish` `maven-publish`
} }
description = """
Core interfaces for building a device server
""".trimIndent()
kscience { kscience {
jvm() jvm()
js() js()
@ -21,12 +17,17 @@ kscience {
api(spclibs.kotlinx.datetime) api(spclibs.kotlinx.datetime)
} }
jvmTest{ jvmTest {
implementation(spclibs.logback.classic) implementation(spclibs.logback.classic)
} }
} }
readme{ readme {
maturity = Maturity.PROTOTYPE maturity = Maturity.PROTOTYPE
description = """
A framework for combination of asynchronous simulations.
""".trimIndent()
feature("timeline") { "Timeline is an ordered discrete history containing TimeLineEvent" }
} }