Skip to content

Development #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@
### V1.3.0-SNAPSHOT
+ Update test-suites framework to cover more use-case scenarios
+ Add Utility to read from PKI Key with PEM format
+ Update README documentation
+ Update README documentation
### V1.3.1-SNAPSHOT
+ Update dependency library for jackson-databind to version 2.9.8
+ Update mvn command to pull centralised unit-test cases from github repository
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ This project use Maven or Gradle as its build and management tools
**Option 1:** Compile and package into JAR

```bash

mvn package

```

The compiled _jar_ file will be located in the **target** folder
Expand All @@ -65,9 +63,8 @@ mvn install
<dependency>
<groupId>com.api.util</groupId>
<artifactId>ApiSecurity</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.3.1-SNAPSHOT</version>
</dependency>

```

**Note:**
Expand All @@ -85,7 +82,13 @@ mvn install
```

#### Maven Test
To execute unit-test with Maven command
Pull centralised Unit Test-cases from the following Github url: <https://github.com/GovTechSG/test-suites-apex-api-security/tree/master> with Mavem command (in project root folder)

```bash
mvn scm:checkout -D checkoutDirectory=src/main/resources/test-suites
```

To execute unit-test with Maven command (in project root folder)

```bash
mvn test
Expand Down Expand Up @@ -133,7 +136,7 @@ repositories {
mavenLocal()
}
dependencies {
compile group: 'com.api.util', name: 'ApiSecurity', version: '1.3.0-SNAPSHOT'
compile group: 'com.api.util', name: 'ApiSecurity', version: '1.3.1-SNAPSHOT'
}

```
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'com.github.kt3k.coveralls' version '2.6.3'
}

version '1.3.0-SNAPSHOT'
version '1.3.1-SNAPSHOT'

tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
Expand All @@ -18,7 +18,7 @@ dependencies {
//compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.1'
compile group: 'commons-lang', name: 'commons-lang', version: '2.4'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.7'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8'
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.60'
testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.api.util</groupId>
<artifactId>ApiSecurity</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.3.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -80,7 +80,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
Expand Down