-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2183 from antarus/fix/postgresql-error
fix missing common properties in postgresql module
- Loading branch information
Showing
4 changed files
with
197 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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 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,52 @@ | ||
Feature: postgreSQL module | ||
|
||
Scenario: Should add postgreSQL elements using legacy url | ||
When I apply legacy modules to default project | ||
| /api/build-tools/maven | | ||
| /api/servers/spring-boot | | ||
| /api/servers/spring-boot/databases/postgresql | | ||
Then I should have files in "" | ||
| pom.xml | | ||
And I should have history entry for "postgresql" | ||
And I should have files in "documentation" | ||
| postgresql.md | | ||
And I should have files in "src/main/docker" | ||
| postgresql.yml | | ||
And I should have files in "src/main/java/tech/jhipster/chips/technical/infrastructure/secondary/postgresql" | ||
| DatabaseConfiguration.java | | ||
| FixedPostgreSQL10Dialect.java | | ||
And I should have files in "src/test/java/tech/jhipster/chips/technical/infrastructure/secondary/postgresql" | ||
| FixedPostgreSQL10DialectTest.java | | ||
And I should have files in "src/main/resources/config" | ||
| application.properties | | ||
And I should have files in "src/test/resources/config" | ||
| application.properties | | ||
|
||
Scenario: Should get postgreSQL module properties definition | ||
When I get module "postgresql" properties definition | ||
Then I should have properties definitions | ||
| Key | Type | Mandatory | | ||
| packageName | STRING | true | | ||
| baseName | STRING | true | | ||
| prettierDefaultIndent | INTEGER | false | | ||
|
||
Scenario: Should add postgreSQL elements using module url | ||
When I apply "postgresql" module to default project with maven file | ||
| packageName | tech.jhipster.chips | | ||
| baseName | jhipster | | ||
Then I should have files in "" | ||
| pom.xml | | ||
And I should have history entry for "postgresql" | ||
And I should have files in "documentation" | ||
| postgresql.md | | ||
And I should have files in "src/main/docker" | ||
| postgresql.yml | | ||
And I should have files in "src/main/java/tech/jhipster/chips/technical/infrastructure/secondary/postgresql" | ||
| DatabaseConfiguration.java | | ||
| FixedPostgreSQL10Dialect.java | | ||
And I should have files in "src/test/java/tech/jhipster/chips/technical/infrastructure/secondary/postgresql" | ||
| FixedPostgreSQL10DialectTest.java | | ||
And I should have files in "src/main/resources/config" | ||
| application.properties | | ||
And I should have files in "src/test/resources/config" | ||
| application.properties | |
This file contains 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 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