sybotan 5 роки тому
батько
коміт
bd00ec4c63
55 змінених файлів з 5 додано та 146 видалено
  1. 0 0
      saga-service-base/build.gradle
  2. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/SBaseService.kt
  3. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/SGlobalDefaultExceptionHandler.kt
  4. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/SObjectService.kt
  5. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/SPageContext.kt
  6. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/config/SAsyncConfig.kt
  7. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/interceptors/SAccessControlAllowOriginInterceptor.kt
  8. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/interceptors/SPageInterceptor.kt
  9. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/json/SFastjsonAnnotationIntrospector.kt
  10. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/json/SJsonHttpMessageConverter.kt
  11. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/SBeanUtil.kt
  12. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/SJsonUtil.kt
  13. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/SQrCodeUtil.kt
  14. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/SRandCodeUtil.kt
  15. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/SSpringContextUtil.kt
  16. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SAESCoderUtil.kt
  17. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SCoderUtil.kt
  18. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SDESCoderUtil.kt
  19. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SPBECoderUtil.kt
  20. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SRSACoderUtil.kt
  21. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/sso/controllers/SSsoUserController.kt
  22. 0 0
      saga-service-base/src/main/kotlin/com/sybotan/sso/models/entities/SSsoUser.kt
  23. 0 0
      saga-service-kafka/build.gradle
  24. 0 0
      saga-service-kafka/src/main/kotlin/com/sybotan/service/kafka/SBaseNotice.kt
  25. 0 0
      saga-service-kafka/src/main/kotlin/com/sybotan/service/kafka/SKafkaService.kt
  26. 0 0
      saga-service-models/build.gradle
  27. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/SBaseEntity.kt
  28. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/SCascadeQuery.kt
  29. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/SCascadeUpdate.kt
  30. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/SJoinQuery.kt
  31. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SCascade.kt
  32. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SCascadeCount.kt
  33. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SJoin.kt
  34. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/enums/SCascadeUpdateMode.kt
  35. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/enums/SRequestType.kt
  36. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/enums/SResponseType.kt
  37. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SCountRequest.kt
  38. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SCreateRequest.kt
  39. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SDeleteRequest.kt
  40. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SQueryRequest.kt
  41. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SUpdateRequest.kt
  42. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SBaseResponse.kt
  43. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SCountResponse.kt
  44. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SCreateResponse.kt
  45. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SDeleteResponse.kt
  46. 0 0
      saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SQueryResponse.kt
  47. 0 0
      saga-service-mybatis/build.gradle
  48. 0 0
      saga-service-mybatis/src/main/kotlin/com/sybotan/mybatis/SDaoFactory.kt
  49. 0 0
      saga-service-mybatis/src/main/kotlin/com/sybotan/mybatis/SMybatisDao.kt
  50. 0 0
      saga-service-postgresql/build.gradle
  51. 0 0
      saga-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/controllers/SDatabaseDocController.kt
  52. 0 0
      saga-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/models/SColumn.kt
  53. 0 0
      saga-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/models/STable.kt
  54. 5 8
      settings.gradle
  55. 0 138
      sybotan-service-shiro/build.gradle

sybotan-service-base/build.gradle → saga-service-base/build.gradle


sybotan-service-base/src/main/kotlin/com/sybotan/service/SBaseService.kt → saga-service-base/src/main/kotlin/com/sybotan/service/SBaseService.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/SGlobalDefaultExceptionHandler.kt → saga-service-base/src/main/kotlin/com/sybotan/service/SGlobalDefaultExceptionHandler.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/SObjectService.kt → saga-service-base/src/main/kotlin/com/sybotan/service/SObjectService.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/SPageContext.kt → saga-service-base/src/main/kotlin/com/sybotan/service/SPageContext.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/config/SAsyncConfig.kt → saga-service-base/src/main/kotlin/com/sybotan/service/config/SAsyncConfig.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/interceptors/SAccessControlAllowOriginInterceptor.kt → saga-service-base/src/main/kotlin/com/sybotan/service/interceptors/SAccessControlAllowOriginInterceptor.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/interceptors/SPageInterceptor.kt → saga-service-base/src/main/kotlin/com/sybotan/service/interceptors/SPageInterceptor.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/json/SFastjsonAnnotationIntrospector.kt → saga-service-base/src/main/kotlin/com/sybotan/service/json/SFastjsonAnnotationIntrospector.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/json/SJsonHttpMessageConverter.kt → saga-service-base/src/main/kotlin/com/sybotan/service/json/SJsonHttpMessageConverter.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/SBeanUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/SBeanUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/SJsonUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/SJsonUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/SQrCodeUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/SQrCodeUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/SRandCodeUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/SRandCodeUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/SSpringContextUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/SSpringContextUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SAESCoderUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SAESCoderUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SCoderUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SCoderUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SDESCoderUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SDESCoderUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SPBECoderUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SPBECoderUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SRSACoderUtil.kt → saga-service-base/src/main/kotlin/com/sybotan/service/utils/crypt/SRSACoderUtil.kt


sybotan-service-base/src/main/kotlin/com/sybotan/sso/controllers/SSsoUserController.kt → saga-service-base/src/main/kotlin/com/sybotan/sso/controllers/SSsoUserController.kt


sybotan-service-base/src/main/kotlin/com/sybotan/sso/models/entities/SSsoUser.kt → saga-service-base/src/main/kotlin/com/sybotan/sso/models/entities/SSsoUser.kt


sybotan-service-kafka/build.gradle → saga-service-kafka/build.gradle


sybotan-service-kafka/src/main/kotlin/com/sybotan/service/kafka/SBaseNotice.kt → saga-service-kafka/src/main/kotlin/com/sybotan/service/kafka/SBaseNotice.kt


sybotan-service-kafka/src/main/kotlin/com/sybotan/service/kafka/SKafkaService.kt → saga-service-kafka/src/main/kotlin/com/sybotan/service/kafka/SKafkaService.kt


sybotan-service-models/build.gradle → saga-service-models/build.gradle


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/SBaseEntity.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/SBaseEntity.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/SCascadeQuery.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/SCascadeQuery.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/SCascadeUpdate.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/SCascadeUpdate.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/SJoinQuery.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/SJoinQuery.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SCascade.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SCascade.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SCascadeCount.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SCascadeCount.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SJoin.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/annotations/SJoin.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/enums/SCascadeUpdateMode.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/enums/SCascadeUpdateMode.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/enums/SRequestType.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/enums/SRequestType.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/enums/SResponseType.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/enums/SResponseType.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/requests/SCountRequest.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SCountRequest.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/requests/SCreateRequest.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SCreateRequest.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/requests/SDeleteRequest.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SDeleteRequest.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/requests/SQueryRequest.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SQueryRequest.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/requests/SUpdateRequest.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/requests/SUpdateRequest.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/responses/SBaseResponse.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SBaseResponse.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/responses/SCountResponse.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SCountResponse.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/responses/SCreateResponse.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SCreateResponse.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/responses/SDeleteResponse.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SDeleteResponse.kt


sybotan-service-models/src/main/kotlin/com/sybotan/service/models/responses/SQueryResponse.kt → saga-service-models/src/main/kotlin/com/sybotan/service/models/responses/SQueryResponse.kt


sybotan-service-mybatis/build.gradle → saga-service-mybatis/build.gradle


sybotan-service-mybatis/src/main/kotlin/com/sybotan/mybatis/SDaoFactory.kt → saga-service-mybatis/src/main/kotlin/com/sybotan/mybatis/SDaoFactory.kt


sybotan-service-mybatis/src/main/kotlin/com/sybotan/mybatis/SMybatisDao.kt → saga-service-mybatis/src/main/kotlin/com/sybotan/mybatis/SMybatisDao.kt


sybotan-service-postgresql/build.gradle → saga-service-postgresql/build.gradle


sybotan-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/controllers/SDatabaseDocController.kt → saga-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/controllers/SDatabaseDocController.kt


sybotan-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/models/SColumn.kt → saga-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/models/SColumn.kt


sybotan-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/models/STable.kt → saga-service-postgresql/src/main/kotlin/com/sybotan/service/postgresql/models/STable.kt


+ 5 - 8
settings.gradle

@@ -23,11 +23,8 @@
 
 rootProject.name = 'sybotan-service'
 
-include 'sybotan-service-models'
-include 'sybotan-service-base'
-include 'sybotan-service-mybatis'
-include 'sybotan-service-postgresql'
-include 'sybotan-service-hbase'
-include 'sybotan-service-mongo'
-include 'sybotan-service-shiro'
-include 'sybotan-service-kafka'
+include 'saga-service-models'
+include 'saga-service-base'
+include 'saga-service-mybatis'
+include 'saga-service-postgresql'
+include 'saga-service-kafka'

+ 0 - 138
sybotan-service-shiro/build.gradle

@@ -1,138 +0,0 @@
-/*
- * ********************************************************************************************************************
- *
- *               iFHS7.
- *              ;BBMBMBMc                  rZMBMBR              BMB
- *              MBEr:;PBM,               7MBMMEOBB:             BBB                       RBW
- *     XK:      BO     SB.     :SZ       MBM.       c;;     ir  BBM :FFr       :SSF:    ;xBMB:r   iuGXv.    i:. iF2;
- *     DBBM0r.  :D     S7   ;XMBMB       GMBMu.     MBM:   BMB  MBMBBBMBMS   WMBMBMBBK  MBMBMBM  BMBRBMBW  .MBMBMBMBB
- *      :JMRMMD  ..    ,  1MMRM1;         ;MBMBBR:   MBM  ;MB:  BMB:   MBM. RMBr   sBMH   BM0         UMB,  BMB.  KMBv
- *     ;.   XOW  B1; :uM: 1RE,   i           .2BMBs  rMB. MBO   MBO    JMB; MBB     MBM   BBS    7MBMBOBM:  MBW   :BMc
- *     OBRJ.SEE  MRDOWOR, 3DE:7OBM       .     ;BMB   RMR7BM    BMB    MBB. BMB    ,BMR  .BBZ   MMB   rMB,  BMM   rMB7
- *     :FBRO0D0  RKXSXPR. JOKOOMPi       BMBSSWBMB;    BMBB:    MBMB0ZMBMS  .BMBOXRBMB    MBMDE RBM2;SMBM;  MBB   xBM2
- *         iZGE  O0SHSPO. uGZ7.          sBMBMBDL      :BMO     OZu:BMBK,     rRBMB0;     ,EBMB  xBMBr:ER.  RDU   :OO;
- *     ,BZ, 1D0  RPSFHXR. xWZ .SMr                  . .BBB
- *      :0BMRDG  RESSSKR. 2WOMBW;                   BMBMR
- *         i0BM: SWKHKGO  MBDv
- *           .UB  OOGDM. MK,                                          Copyright (c) 2015-2019.  斯伯坦机器人
- *              ,  XMW  ..
- *                  r                                                                     All rights reserved.
- *
- * ********************************************************************************************************************
- */
-
-group rootProject.group
-version rootProject.version
-
-apply plugin: 'kotlin'
-apply plugin: 'org.jetbrains.dokka'
-apply plugin: 'maven'
-
-sourceCompatibility = JVM_TARGET
-
-compileKotlin {
-    kotlinOptions.jvmTarget = JVM_TARGET
-}
-compileTestKotlin {
-    kotlinOptions.jvmTarget = JVM_TARGET
-}
-
-dependencies {
-    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    // kotlin 依赖
-    compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: KOTLIN_VERSION
-    compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: KOTLIN_VERSION
-
-    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    // 校验器
-    // https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator
-    compile group: 'org.hibernate.validator', name: 'hibernate-validator', version: VALIDATOR_VERSION
-
-    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    // spring boot 依赖
-    compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: SPRING_BOOT_VERSION
-    compile group: 'org.springframework.boot', name: 'spring-boot-starter-logging', version: SPRING_BOOT_VERSION
-    compile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: SPRING_BOOT_VERSION
-
-    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    // RESTful API 文档生成工具
-    // https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
-    compile group: 'io.springfox', name: 'springfox-swagger-ui', version: SWAGGER_VERSION
-    compile group: 'io.springfox', name: 'springfox-swagger2', version: SWAGGER_VERSION
-
-    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    // 权限认证
-    // https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring-boot-web-starter
-    compile group: 'org.apache.shiro',  name: 'shiro-spring-boot-web-starter',  version:    SHIRO_VERSION
-
-    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    // Sybotan 依赖
-    compile group: 'com.sybotan', name: 'sybotan-kotlin-base', version: SYBOTAN_KOTLIN_VERSION
-    compile group: 'com.sybotan', name: 'sybotan-kotlin-database', version: SYBOTAN_KOTLIN_VERSION
-    compile project(':sybotan-service-models')
-    compile project(':sybotan-service-base')
-}
-
-////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// 文档生成
-dokka {
-    jdkVersion = JDK_VERSION
-    outputFormat = 'javadoc'
-    outputDirectory = '$buildDir/javadoc'
-    //sourceDirs = files('src/main/kotlin')
-}
-
-// 上成上传的文档jar包
-task javadocJar(type: Jar, dependsOn: dokka) {
-    classifier = 'javadoc'
-    from dokka.outputDirectory
-}
-
-// 上成上传的文档jar包
-task sourcesJar(type: Jar) {
-    classifier = 'sources'
-    from sourceSets.main.allSource
-}
-
-////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// maven 仓库管理
-
-// 设置上传的包,默认上传aar与pom
-artifacts {
-    //archives javadocJar
-    //archives sourcesJar
-}
-
-uploadArchives {
-    repositories {
-        mavenDeployer {
-            pom.groupId = project.group
-            pom.version = project.version
-            pom.artifactId = project.name
-            pom.project {
-                name project.name
-                packaging 'jar'
-                url SYBOTAN_URL
-                description '斯伯坦机器人世界 网站项目核心支持库。'
-                licenses {
-                    license {
-                        name LICENSE_NAME
-                        url LICENSE_URL
-                    }
-                }
-                developers {
-                    developer {
-                        id DEVELOPER_ID
-                        name DEVELOPER_NAME
-                    }
-                }
-            }
-            snapshotRepository(url: MAVEN_REPO_SNAPSHOT_URL) {
-                authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
-            }
-            repository(url: MAVEN_REPO_RELEASE_URL) {
-                authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
-            }
-        }
-    }
-}