diff --git a/build.gradle b/build.gradle index 6a01e6b..166138e 100644 --- a/build.gradle +++ b/build.gradle @@ -42,12 +42,13 @@ dependencies { "org.openmbee.mms:storage:${mmsVersion}", "org.openmbee.mms:groups:${mmsVersion}", "org.springframework.boot:spring-boot-starter-web", - 'org.springframework.boot:spring-boot-starter-actuator', - "org.postgresql:postgresql:42.2.5", + "org.springframework.boot:spring-boot-starter-actuator", + "org.postgresql:postgresql:42.2.27", "org.springdoc:springdoc-openapi-ui:1.5.4", "org.springdoc:springdoc-openapi-webmvc-core:1.5.4", "org.springdoc:springdoc-openapi-security:1.5.4", - "org.zalando:logbook-spring-boot-starter:2.2.1" + "org.zalando:logbook-spring-boot-starter:2.2.1", + "ch.qos.logback:logback-classic:1.2.11" ) testImplementation( 'org.springframework.boot:spring-boot-starter-test' diff --git a/docker-services-compose.yml b/docker-services-compose.yml new file mode 100644 index 0000000..3d060b5 --- /dev/null +++ b/docker-services-compose.yml @@ -0,0 +1,31 @@ +version: '3.8' + +services: + postgres: + image: postgres:11-alpine + network_mode: host + environment: + - POSTGRES_PASSWORD=test1234 + - POSTGRES_USER=mmsuser + - POSTGRES_DB=mms + ports: + - 5432:5432 + + elasticsearch: + image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1 + network_mode: host + environment: + - "discovery.type=single-node" + ports: + - 9200:9200 + - 9300:9300 + + minio: + image: minio/minio:latest + network_mode: host + environment: + - "MINIO_ACCESS_KEY=admintest" + - "MINIO_SECRET_KEY=admintest" + command: server /tmp/data + ports: + - 9000:9000 diff --git a/gradle.properties b/gradle.properties index f020f4e..a9b7ee4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ -version=4.0.15 +version=4.0.16 group=org.openmbee.mms -mmsVersion=4.0.15 +mmsVersion=4.0.16 springBootVersion=2.6.7 diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index 577c48a..448cdee 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -5,7 +5,7 @@ info: license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.txt - version: 4.0.15 + version: 4.0.16 contact: name: OpenMBEE url: http://openmbee.org diff --git a/openapi/doc-config.json b/openapi/doc-config.json index e21c7d0..300dfa4 100644 --- a/openapi/doc-config.json +++ b/openapi/doc-config.json @@ -3,5 +3,5 @@ "invokerPackage": "org.openmbee.mms", "groupId": "org.openmbee.mms", "artifactId": "mms-client", - "artifactVersion": "4.0.9" + "artifactVersion": "4.0.16" } diff --git a/openapi/java-config.json b/openapi/java-config.json index 7002eae..62bc550 100644 --- a/openapi/java-config.json +++ b/openapi/java-config.json @@ -1,7 +1,7 @@ { "groupId": "org.openmbee.mms", "artifactId": "mms-java-client", - "artifactVersion": "4.0.9", + "artifactVersion": "4.0.16", "artifactUrl": "https://github.com/Open-MBEE/mms", "artifactDescription": "Java OpenAPI Client for MMS", "library": "jersey2", diff --git a/openapi/python-config.json b/openapi/python-config.json index 76ec1f2..3030790 100644 --- a/openapi/python-config.json +++ b/openapi/python-config.json @@ -1,5 +1,5 @@ { "packageName": "mms_python_client", "projectName": "mms-python-client", - "packageVersion": "4.0.9" + "packageVersion": "4.0.16" } diff --git a/src/main/java/org/openmbee/mms/mmsri/MMSRIApplication.java b/src/main/java/org/openmbee/mms/mmsri/MMSRIApplication.java index 0f1cc3d..c063900 100644 --- a/src/main/java/org/openmbee/mms/mmsri/MMSRIApplication.java +++ b/src/main/java/org/openmbee/mms/mmsri/MMSRIApplication.java @@ -13,7 +13,7 @@ @OpenAPIDefinition( info = @Info( title = "MMS Reference Implementation API", - version = "4.0.12", + version = "4.0.16", description = "Documentation for MMS API", license = @License(name = "Apache 2.0", url = "http://www.apache.org/licenses/LICENSE-2.0.txt") ), diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index 8f541cd..fbb700c 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -42,6 +42,8 @@ spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true spring.jpa.open-in-view=false spring.main.allow-bean-definition-overriding=true +spring.main.allow-circular-references=true +spring.mvc.pathmatch.matching-strategy=ant_path_matcher #Configuration for Elasticsearch elasticsearch.host=elasticsearch diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml new file mode 100644 index 0000000..e1a81f0 --- /dev/null +++ b/src/main/resources/logback.xml @@ -0,0 +1,17 @@ + + mmsri + + + + %date{"yyyy-MM-dd'T'HH:mm:ss,SSSXXX", UTC} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + + + \ No newline at end of file