huangzhiyong 8 anni fa
parent
commit
4d99cce0b5
3 ha cambiato i file con 29 aggiunte e 14 eliminazioni
  1. 3 11
      hos-dfs/pom.xml
  2. 20 3
      hos-dfs/src/main/resources/application.yml
  3. 6 0
      hos-parent/pom.xml

+ 3 - 11
hos-dfs/pom.xml

@ -11,9 +11,8 @@
    </parent>
    <artifactId>hos-dfs</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <version>1.1.0</version>
    <packaging>jar</packaging>
    <name>hos-dfs</name>
    <description>hos file and mq moddule</description>
@ -49,16 +48,9 @@
            <groupId>org.zbus</groupId>
            <artifactId>zbus</artifactId>
        </dependency>
        <dependency>
            <groupId>eu.medsea.mimeutil</groupId>
            <artifactId>mime-util</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yihu.hos</groupId>
            <artifactId>hos-core</artifactId>
            <version>${hos-version}</version>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
        </dependency>
    </dependencies>

+ 20 - 3
hos-dfs/src/main/resources/application.yml

@ -1,8 +1,8 @@
server:
  port: 9010
security:
  basic:
    enabled: false
spring:
  application:
    name: dfsServer
---
spring:
  profiles: dev
@ -15,6 +15,23 @@ spring:
      authenticationDatabase: admin
      gridFsDatabase: dfs
      database: runtime
hos:
  zbus:
    port: 9020
    store: ./store
---
spring:
  profiles: test
  data:
    mongodb:
      host: 172.19.103.67
      port: 27017
      username: esb
      password: esb
      authenticationDatabase: admin
      gridFsDatabase: dfs
      database: runtime
hos:
  zbus:
    port: 9020

+ 6 - 0
hos-parent/pom.xml

@ -18,6 +18,7 @@
        <hawtio-version>1.5.0</hawtio-version>
        <commons-dbcp2-version>2.1.1</commons-dbcp2-version>
        <commons-io-version>2.4</commons-io-version>
        <commons-collections4-version>4.0</commons-collections4-version>
        <commons-fileupload-version>1.3.1</commons-fileupload-version>
        <commons-lang3-version>3.3.2</commons-lang3-version>
@ -394,6 +395,11 @@
                <artifactId>commons-collections4</artifactId>
                <version>${commons-collections4-version}</version>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>${commons-io-version}</version>
            </dependency>
            <dependency>
                <groupId>commons-fileupload</groupId>