-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#172975866] 🔒 Add support for API token
Update the java demo code so it's possible to add an api token. fixit Added authentication to the HTML example. You need to supply a token and press authenticate.
- Loading branch information
1 parent
532d442
commit 96ab4d0
Showing
19 changed files
with
244 additions
and
117 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
Binary file removed
BIN
-45 KB
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.1/renos-api-message-1.1.jar
Binary file not shown.
1 change: 0 additions & 1 deletion
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.1/renos-api-message-1.1.jar.md5
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.1/renos-api-message-1.1.jar.sha1
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.1/renos-api-message-1.1.pom
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.1/renos-api-message-1.1.pom.md5
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.1/renos-api-message-1.1.pom.sha1
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+51.3 KB
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.2/renos-api-message-1.2.jar
Binary file not shown.
1 change: 1 addition & 0 deletions
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.2/renos-api-message-1.2.jar.md5
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 @@ | ||
0f2a57a8e5cb3cb46cef0ecc317c61c2 |
1 change: 1 addition & 0 deletions
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.2/renos-api-message-1.2.jar.sha1
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 @@ | ||
751ae6a1a07c53cc9514725b5be992a35e0b7941 |
72 changes: 72 additions & 0 deletions
72
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.2/renos-api-message-1.2.pom
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,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<artifactId>RhEAS</artifactId> | ||
<groupId>com.nedap.retail</groupId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<groupId>com.nedap.retail.renos.api.v2</groupId> | ||
<artifactId>renos-api-message</artifactId> | ||
<version>1.2</version> | ||
<!-- <version/> is not defined because we want to inherit the parent (Renos) version --> | ||
<packaging>jar</packaging> | ||
|
||
<name>Renos API v2 Message Parser</name> | ||
<properties> | ||
<java.version.supported>1.8</java.version.supported> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>${gson.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.nedap.retail</groupId> | ||
<artifactId>renos-json</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>${guava.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>${java.version.supported}</source> | ||
<target>${java.version.supported}</target> | ||
<encoding>UTF-8</encoding> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>snapshots</id> | ||
<name>libs-snapshots</name> | ||
<url>http://${artifactory.server}:8081/artifactory/libs-snapshots-local</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>releases</id> | ||
<name>libs-releases</name> | ||
<url>http://${artifactory.server}:8081/artifactory/libs-releases-local</url> | ||
</repository> | ||
</distributionManagement> | ||
</project> |
1 change: 1 addition & 0 deletions
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.2/renos-api-message-1.2.pom.md5
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 @@ | ||
a14948be1b2aea8cabd28a559b2eb576 |
1 change: 1 addition & 0 deletions
1
java/repo/com/nedap/retail/renos/api/v2/renos-api-message/1.2/renos-api-message-1.2.pom.sha1
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 @@ | ||
d15ee5f972c85c4be94970105d31f2c88832c59a |
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
Oops, something went wrong.