Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/workflows/springwolf-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
binding: [ "amqp", "googlepubsub", "jms", "kafka", "sns", "sqs", "stomp" ]

env:
binding: springwolf-bindings/springwolf-${{ matrix.binding }}-binding

steps:
- uses: actions/checkout@v7

Expand All @@ -42,18 +34,18 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6.4.0

- name: Check formatting (before running tests) on binding
run: ./gradlew -p ${{ env.binding }} spotlessCheck
- name: Check formatting (before running tests) on bindings
run: ./gradlew -p springwolf-bindings spotlessCheck

- name: Run unit tests
run: ./gradlew -p ${{ env.binding }} test
run: ./gradlew -p springwolf-bindings test

- name: Run build, check, analyzeDependencies on binding
run: ./gradlew -p ${{ env.binding }} build
- name: Run build, check, analyzeDependencies on bindings
run: ./gradlew -p springwolf-bindings build

- name: Publish package
if: github.ref == 'refs/heads/main'
run: ./gradlew -p ${{ env.binding }} publish
run: ./gradlew -p springwolf-bindings publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ springwolf-plugins/springwolf-amqp-plugin/build/
springwolf-plugins/springwolf-cloud-stream-plugin/build/
springwolf-plugins/springwolf-kafka-plugin/build/
springwolf-plugins/springwolf-sqs-plugin/build/
springwolf-bindings/springwolf-sqs-binding/build/


.gradle/
.kotlin/
Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,13 @@ More details in the documentation.
<details>
<summary>Click to expand all artifacts, bindings and add-ons</summary>

| Artifact | Current version | SNAPSHOT version |
|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Artifact | Current version | SNAPSHOT version |
|--------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AsyncAPI implementation](https://github.com/springwolf/springwolf-core/tree/main/springwolf-asyncapi) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-asyncapi?color=green&label=springwolf-asyncapi&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-asyncapi%2Fmaven-metadata.xml&label=springwolf-asyncapi&style=plastic) |
| [Bindings](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-bindings?color=green&label=springwolf-bindings&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-bindings%2Fmaven-metadata.xml&label=springwolf-bindings&style=plastic) |
| [Core](https://github.com/springwolf/springwolf-core/tree/main/springwolf-core) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-core?color=green&label=springwolf-core&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-core%2Fmaven-metadata.xml&label=springwolf-core&style=plastic) |
| [UI](https://github.com/springwolf/springwolf-core/tree/main/springwolf-ui) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-ui?color=green&label=springwolf-ui&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-ui%2Fmaven-metadata.xml&label=springwolf-ui&style=plastic) |

| Bindings | Current version | SNAPSHOT version |
|----------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AMQP Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-amqp-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-amqp-binding?color=green&label=springwolf-amqp-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-amqp-binding%2Fmaven-metadata.xml&label=springwolf-amqp-binding&style=plastic) |
| [AWS SNS Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-sns-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-sns-binding?color=green&label=springwolf-sns-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-sns-binding%2Fmaven-metadata.xml&label=springwolf-sns-binding&style=plastic) |
| [AWS SQS Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-sqs-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-sqs-binding?color=green&label=springwolf-sqs-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-sqs-binding%2Fmaven-metadata.xml&label=springwolf-sqs-binding&style=plastic) |
| [Google PubSub Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-googlepubsub-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-googlepubsub-binding?color=green&label=springwolf-googlepubsub-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-googlepubsub-binding%2Fmaven-metadata.xml&label=springwolf-googlepubsub-binding&style=plastic) |
| [JMS Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-jms-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-jms-binding?color=green&label=springwolf-jms-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-jms-binding%2Fmaven-metadata.xml&label=springwolf-jms-binding&style=plastic) |
| [Kafka Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-kafka-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-kafka-binding?color=green&label=springwolf-kafka-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-kafka-binding%2Fmaven-metadata.xml&label=springwolf-kafka-binding&style=plastic) |
| [STOMP Binding](https://github.com/springwolf/springwolf-core/tree/main/springwolf-bindings/springwolf-stomp-binding) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-stomp-binding?color=green&label=springwolf-stomp-binding&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-stomp-binding%2Fmaven-metadata.xml&label=springwolf-stomp-binding&style=plastic) |

| Add-on | Current version | SNAPSHOT version |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Common Model Converter](https://github.com/springwolf/springwolf-core/tree/main/springwolf-add-ons/springwolf-common-model-converters) | ![Maven Central](https://img.shields.io/maven-central/v/io.github.springwolf/springwolf-common-model-converters?color=green&label=springwolf-common-model-converters&style=plastic) | ![Sonatype Nexus (Snapshots)](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fspringwolf%2Fspringwolf-common-model-converters%2Fmaven-metadata.xml&label=springwolf-common-model-converters&style=plastic) |
Expand Down
13 changes: 2 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ var addons = [
'springwolf-json-schema',
'springwolf-kotlinx-serialization-model-converter'
]
var bindings = [
'springwolf-amqp-binding',
'springwolf-googlepubsub-binding',
'springwolf-jms-binding',
'springwolf-kafka-binding',
'springwolf-sns-binding',
'springwolf-sqs-binding',
'springwolf-stomp-binding'
]
var plugins = [
'springwolf-amqp',
'springwolf-cloud-stream',
Expand Down Expand Up @@ -184,11 +175,11 @@ allprojects {

var publishingEnabled = (
project.name == 'springwolf-asyncapi' ||
project.name == 'springwolf-bindings' ||
project.name == 'springwolf-core' ||
project.name == 'springwolf-ui' ||
addons.contains(project.name) ||
plugins.contains(project.name) ||
bindings.contains(project.name)
plugins.contains(project.name)
)
tasks.withType(PublishToMavenRepository).configureEach { it.enabled = publishingEnabled }
tasks.withType(PublishToMavenLocal).configureEach { it.enabled = publishingEnabled }
Expand Down
9 changes: 1 addition & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ rootProject.name = 'springwolf'

include(
'springwolf-asyncapi',
'springwolf-bindings',
'springwolf-core',
'springwolf-plugins:springwolf-amqp-plugin',
'springwolf-plugins:springwolf-cloud-stream-plugin',
Expand All @@ -18,13 +19,6 @@ include(
'springwolf-examples:springwolf-sns-example',
'springwolf-examples:springwolf-sqs-example',
'springwolf-examples:springwolf-stomp-example',
'springwolf-bindings:springwolf-amqp-binding',
'springwolf-bindings:springwolf-googlepubsub-binding',
'springwolf-bindings:springwolf-jms-binding',
'springwolf-bindings:springwolf-kafka-binding',
'springwolf-bindings:springwolf-sns-binding',
'springwolf-bindings:springwolf-sqs-binding',
'springwolf-bindings:springwolf-stomp-binding',
'springwolf-ui',
'springwolf-add-ons:springwolf-common-model-converters',
'springwolf-add-ons:springwolf-generic-binding',
Expand All @@ -39,4 +33,3 @@ project(':springwolf-plugins:springwolf-kafka-plugin').name = 'springwolf-kafka'
project(':springwolf-plugins:springwolf-sns-plugin').name = 'springwolf-sns'
project(':springwolf-plugins:springwolf-sqs-plugin').name = 'springwolf-sqs'
project(':springwolf-plugins:springwolf-stomp-plugin').name = 'springwolf-stomp'

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ dependencies {
implementation libs.spring.context
implementation libs.spring.core
implementation libs.spring.boot.autoconfigure

implementation libs.commons.lang3

implementation libs.jakarta.annotation.api

compileOnly libs.lombok
Expand Down Expand Up @@ -47,8 +45,8 @@ publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'springwolf-kafka-binding'
description = 'Automated JSON API documentation for Kafka Bindings'
name = 'springwolf-bindings'
description = 'Automated JSON API documentation bindings'
}
}
}
Expand Down
50 changes: 0 additions & 50 deletions springwolf-bindings/springwolf-amqp-binding/build.gradle

This file was deleted.

This file was deleted.

51 changes: 0 additions & 51 deletions springwolf-bindings/springwolf-googlepubsub-binding/build.gradle

This file was deleted.

This file was deleted.

50 changes: 0 additions & 50 deletions springwolf-bindings/springwolf-jms-binding/build.gradle

This file was deleted.

This file was deleted.

Loading
Loading