Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ekl176 committed Nov 27, 2024
1 parent a5b8af8 commit c0a8504
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ lefthook-local.yml
application-local.yaml
signing_key.json
decryption_key.json

### egvp ###
EGVP-WebService.xml
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@ brew install lefthook node talisman

This will replace placeholders in the application template and install a couple of Git hooks.

## Generate sources for EGVP SOAP service

enable wsimport task in build.gradle.kts by setting

```
register("wsimport") {
enabled = true
...
```

Place the webservice wsdl into the resources folder

```
/src/main/resources/EGVP-WebService.xml
```

and run

```
./gradlew clean build
```

## Tests

The project has distinct unit and integration test sets.
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ tasks {
finalizedBy(jacocoTestReport)
}
register("wsimport") {
val destDir by extra("$buildDir/generated/main/java")
enabled = false
val destDir by extra("$buildDir/generated/main/java")
doLast {
ant.withGroovyBuilder {
mkdir(destDir)
Expand All @@ -84,7 +84,7 @@ tasks {
"wsimport"(
"keep" to true,
"sourcedestdir" to destDir,
"wsdl" to "$projectDir/src/main/resources/EGVP-WebService.wsdl",
"wsdl" to "$projectDir/src/main/resources/EGVP-WebService.xml",
"verbose" to true,
) {
"xjcarg"("value" to "-XautoNameResolution")
Expand Down

0 comments on commit c0a8504

Please sign in to comment.