Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEIID-4621 add script to install the swagger translator
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...gger/src/main/resources/content/docs/teiid/datasources/swagger/add-swagger-translator.cli
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,2 @@ | ||
/subsystem=teiid/translator=swagger:add(module=org.jboss.teiid.translator.swagger) | ||
|
11 changes: 10 additions & 1 deletion
11
...feature-pack-swagger/src/main/resources/content/docs/teiid/datasources/swagger/readme.txt
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 |
---|---|---|
@@ -1,2 +1,11 @@ | ||
Swagger uses the "webserice" resource adapter for connecting with source, take look at the webservice | ||
resource adapter for configuration. | ||
resource adapter for configuration. | ||
|
||
If the swagger translator isn't configured, install the swagger translator by running the CLI script that located in docs/teiid/datasources/swagger/add-swagger-translator.cli | ||
|
||
To run: | ||
|
||
- cd ${server_install}/bin | ||
- ./jboss-cli.sh --connect --file=../docs/teiid/datasources/swagger/add-swagger-translator.cli | ||
|
||
|