Browse Source

添加适配器模块

wanghs 2 years ago
parent
commit
f33b0ddeba
2 changed files with 60 additions and 0 deletions
  1. 11 0
      data-adapter/README.md
  2. 49 0
      data-adapter/build.gradle

+ 11 - 0
data-adapter/README.md

@@ -0,0 +1,11 @@
+# wisdom
+## data-adapter  数据适配器
+
+### restful 接口
+* 
+
+### 数据订阅
+*
+
+
+

+ 49 - 0
data-adapter/build.gradle

@@ -0,0 +1,49 @@
+buildscript {
+    repositories {
+        mavenLocal()
+        maven {
+            allowInsecureProtocol = true
+            url "http://maven.aliyun.com/nexus/content/groups/public" }
+        mavenCentral()
+    }
+    dependencies {
+        classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion")
+    }
+}
+
+apply plugin: "$bootGroup"
+apply plugin: 'io.spring.dependency-management'
+
+
+dependencies {
+    implementation project(":common:utils")
+    implementation project(":common:data")
+    implementation project(":dao:dao-interface")
+    implementation project(":dao:dao-sql")
+    //compile project(":dao:dao-redis")
+   // compile project(":dao:dao-simulator")
+    implementation project(":dao:dao-golden")
+    //compile project(":dao:dao-taos")
+   // implementation project(":dao:dao-taoscz")
+    //compile project(":dao:dao-hive")
+    //compile project(":dao:dao-hadoop")
+    implementation fileTree(dir: 'src/main/lib', include: '*.jar') //// oracle连接驱动       2区使用
+   // implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
+    implementation ("com.alibaba:druid:$alibabaDruidVersion")
+    testImplementation("$bootGroup:spring-boot-starter-test")
+    implementation("$bootGroup:spring-boot-starter-web")
+    //compile("$bootGroup:spring-boot-starter-session")
+    implementation("$bootGroup:spring-boot-starter-websocket")
+    implementation("$bootGroup:spring-boot-starter-undertow")
+    implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
+    implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
+    implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
+    implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
+    //compile('org.springframework.boot:spring-boot-starter-data-redis')
+    //implementation "org.springframework.boot:spring-boot-starter-redis:1.3.5.RELEASE"
+    //compile('io.moquette:moquette-broker:0.10')
+    implementation('com.fasterxml.jackson.datatype:jackson-datatype-jdk8')
+    implementation ("com.taosdata.jdbc:taos-jdbcdriver:2.0.35")
+
+}
+