Skip to content

Redis protocol adapter Alpha #696

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions modules/hivemq-edge-module-redis/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions modules/hivemq-edge-module-redis/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions modules/hivemq-edge-module-redis/HEADER
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2023-present HiveMQ GmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
44 changes: 44 additions & 0 deletions modules/hivemq-edge-module-redis/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
plugins {
id("java")
id("com.github.sgtsilvio.gradle.utf8")
id("com.github.johnrengelman.shadow")
id("com.github.hierynomus.license")
id("org.owasp.dependencycheck")
}


group = "com.hivemq"
version = "2024.9 ALPHA"

repositories {
mavenLocal()
mavenCentral()
}


dependencies {
compileOnly("com.hivemq:hivemq-edge-adapter-sdk:${property("hivemq-edge-adapter-sdk.version")}")
compileOnly("commons-io:commons-io:${property("commons-io.version")}")
compileOnly("com.fasterxml.jackson.core:jackson-databind:${property("jackson.version")}")
compileOnly("org.slf4j:slf4j-api:${property("slf4j.version")}")
implementation("redis.clients:jedis:5.0.2")
}

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:${property("junit.jupiter.version")}")
testImplementation("org.junit.jupiter:junit-jupiter-params:${property("junit.jupiter.version")}")
testImplementation("org.junit.platform:junit-platform-launcher:${property("junit.jupiter.platform.version")}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${property("junit.jupiter.version")}")
testImplementation("com.hivemq:hivemq-edge-adapter-sdk:${property("hivemq-edge-adapter-sdk.version")}")
testImplementation("org.mockito:mockito-core:${property("mockito.version")}")
testImplementation("com.fasterxml.jackson.core:jackson-databind:${property("jackson.version")}")
}

tasks.test {
useJUnitPlatform()
}

license {
header = file("HEADER")
mapping("java", "SLASHSTAR_STYLE")
}
24 changes: 24 additions & 0 deletions modules/hivemq-edge-module-redis/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#
# hivemq dependencies
#
hivemq-edge-adapter-sdk.version=2024.9
#
# main dependencies
#
commons-io.version=2.13.0
jackson.version=2.17.0
slf4j.version=1.7.30
slf4jfull.version=2.0.16
#
# plugins
#
plugin.utf8.version=0.1.0
plugin.shadow.version=7.1.2
plugin.license.version=0.16.1
plugin.dependencycheck.version=7.4.4
#
# tests
#
junit.jupiter.version=5.7.1
junit.jupiter.platform.version=1.7.1
mockito.version=5.7.0
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Wed Apr 24 08:26:06 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading