Skip to content

Commit

Permalink
jar names corrected (to lowercase)
Browse files Browse the repository at this point in the history
  • Loading branch information
aljoshakoecher authored Oct 29, 2021
1 parent f69f515 commit 3498b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ MTP2Skill makes use of [RML mapping rules](https://rml.io/specs/rml/) to transfe
You can use MTP2Skill locally with a command line interface (CLI), run it as a web-service or integrate it into your application as a library.

### CLI
Download the current `MTP2Skill-cli-x.x.x-jar-with-dependencies.jar` from the releases into a folder of your choice. Inside that folder, open a shell and execute `java -jar MTP2Skill-cli-x.x.x-jar -f <Name of the file you want to map>`. The mapping result will be written to a file right next to the cli.jar.
Download the current `mtp2skill-cli-x.x.x-jar-with-dependencies.jar` from the releases into a folder of your choice. Inside that folder, open a shell and execute `java -jar mtp2skill-cli-x.x.x-jar-with-dependencies.jar -f <Name of the file you want to map>`. The mapping result will be written to a file right next to the cli.jar.

### REST-API
Download the current `MTP2Skill-rest-api-x.x.x-jar-with-dependencies.jar` from the releases into a folder of your choice and from a shell, run `java -jar MTP2Skill-rest-api-x.x.x-jar-with-dependencies.jar`. This will start a web server and you can send HTTP POST request to `localhost:9191` to invoke the mapper. When creating the request, make sure to set the `Content-Type` header to `multipart/form-data`. Furthermore, you have to send the file with form key / name "mtp-file".
Download the current `mtp2skill-rest-api-x.x.x-jar-with-dependencies.jar` from the releases into a folder of your choice and from a shell, run `java -jar mtp2skill-rest-api-x.x.x-jar-with-dependencies.jar`. This will start a web server and you can send HTTP POST request to `localhost:9191` to invoke the mapper. When creating the request, make sure to set the `Content-Type` header to `multipart/form-data`. Furthermore, you have to send the file with form key / name "mtp-file".

### Library
You can also include the library which is used in both the CLI-application and REST API in your own projects. In order to do so, import `MtpToSkillMapper` and after obtaining a new instance of the mapper, use `executeMapping(<Path to your MTP file>)`.<br>
Expand Down

0 comments on commit 3498b6e

Please sign in to comment.