-
Notifications
You must be signed in to change notification settings - Fork 0
F ghani branch #21
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
Farhat-Ghani
wants to merge
9
commits into
master
Choose a base branch
from
FGhaniBranch
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
F ghani branch #21
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
90d759c
IT/UT tests organise.
d097f9e
update build.gradle,setting.gradle.
62e9306
added gradle.properties.
cf11783
updated.
0adb4fc
updated.
cb45cf7
Contract test removed from integration tests.
78937d7
dependency versions configure to used from a variable.
27a68cc
gredle.properties nd setting.gradle updated.
7f088a7
H2 db version removed form build.gradle.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| org.gradle.daemon=true | ||
| org.gradle.caching=false | ||
|
|
||
| # Spring Plugin Versions | ||
| sprinbBootVersion=2.5.4 | ||
| springVersion = 5.0.3.RELEASE | ||
| springDependencyManagementVersion=1.0.11.RELEASE | ||
| springContractVersion=3.0.3 | ||
| gitPropertiesVersion=2.3.1 | ||
|
|
||
| # Docs Plugin Versions | ||
| gradleProcessesVersion=0.5.0 | ||
| springdocOpenapiVersion=1.3.3 | ||
| asciidoctorConvertVersion=3.3.2 | ||
| springdocOpenapiuiVersion=1.5.10 | ||
|
|
||
| # Tests Plugin Versions | ||
| testLoggerVersion=3.0.0 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,23 @@ | ||
| pluginManagement { | ||
| //plugins | ||
| plugins { | ||
| // Core | ||
| id 'jacoco' | ||
|
|
||
| // Spring | ||
| id 'org.springframework.boot' version sprinbBootVersion | ||
| id 'io.spring.dependency-management' version springDependencyManagementVersion | ||
| id 'org.springframework.cloud.contract' version springContractVersion | ||
| id 'com.gorylenko.gradle-git-properties' version gitPropertiesVersion | ||
|
|
||
| //doc | ||
| id 'org.springdoc.openapi-gradle-plugin' version springdocOpenapiVersion | ||
| id 'org.springdoc.openapi-ui' version springdocOpenapiuiVersion | ||
| id 'org.asciidoctor.jvm.convert' version asciidoctorConvertVersion | ||
| id 'com.github.johnrengelman.processes' version gradleProcessesVersion | ||
|
|
||
| // Tests | ||
| id 'com.adarshr.test-logger' version testLoggerVersion | ||
| } | ||
| } | ||
| rootProject.name = 'java-blocking-microservice-chassis' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| spring: | ||
| main: | ||
| banner-mode: off | ||
|
|
||
| h2: | ||
| console: | ||
| enabled: on | ||
|
|
||
| sql: | ||
| init: | ||
| mode: never | ||
|
|
||
| liquibase: | ||
| enabled: false | ||
| change-log: "classpath:/db/changelog/db.changelog-master.xml" | ||
| test-rollback-on-update: on | ||
|
|
||
| jpa: | ||
| show-sql: true | ||
| generate-ddl: true | ||
| hibernate: | ||
| ddl-auto: create-drop | ||
|
|
||
| codec: | ||
| log-request-details: on | ||
|
|
||
| server: | ||
| error: | ||
| include-exception: on | ||
| include-stacktrace: always | ||
|
|
||
| client: | ||
| base-url: https://mock.server.com | ||
|
|
||
| springdoc: | ||
| api-docs: | ||
| enabled: off | ||
|
|
||
| apidoc: | ||
| title: Java Blocking Microservice Test | ||
| description: Microservice Test for Blocking Restful API with Spring Boot | ||
| version: Test | ||
|
|
||
| debug: off | ||
| trace: off | ||
| logging: | ||
| level: | ||
| root: error | ||
| web: trace | ||
| sql: trace | ||
| org: | ||
| springframework: | ||
| jdbc: | ||
| datasource: trace | ||
| liquibase: | ||
| database: trace | ||
|
|
17 changes: 17 additions & 0 deletions
17
src/intTest/resources/db/changelog/db-test.changelog-master.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <databaseChangeLog | ||
| xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd"> | ||
|
|
||
| <preConditions> | ||
| <and> | ||
| <dbms type="postgresql"/> | ||
| <runningAs username="test"/> | ||
| </and> | ||
| </preConditions> | ||
|
|
||
| <include relativeToChangelogFile="true" file="v1/create-table-changelog.xml"/> | ||
| <include relativeToChangelogFile="true" file="v1/insert-data-changelog.xml"/> | ||
|
|
||
| </databaseChangeLog> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DELETE FROM chassis_entity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| INSERT INTO chassis_entity(name, description) VALUES ('integration test', 'description text'); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you still using the version here?