Skip to content

Commit

Permalink
Issue #148: merging with master
Browse files Browse the repository at this point in the history
  • Loading branch information
jyotsnaraveendran committed May 9, 2018
2 parents 9ecf36c + 5f5376a commit c3675d9
Show file tree
Hide file tree
Showing 36 changed files with 614 additions and 223 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ jdk:
cache:
directories:
- "$HOME/.m2"
before_script: ./configure-dependencies.sh
before_script: "./configure-dependencies.sh"
script:
- cd java && mvn clean install && cd registry && mvn clean install
notifications:
slack:
secure: v+VAY+2DCWiARkkjJByWz6dAfpUGPPmUDgph0jq2M+/T514TeYvyvHRjS40/Tq6/UwCdUhGccLMcs8Db4vkdRPhKFP7M3HeRePIxoAwfNrSutokVID+roEUx2hY4Fy97ypzgkerob523xWEHA9IRvqiPJOJWvkNrrTYb0x24HvVMNbKtzfMRZsgMNSBx/Syps/ZfihFEdK6m0nBIokx7gF2rNBhWljqA+MPyZ/KtqEW3KChl14Ln5IUi5qXEyXsjWI9IMyHI4YK+tIzpxHEErpAo9iMKumTmPjxcLb3srdpN81wCtCiPOTV5Ikd9gHO2D3o7QlxZeuwGj0LOyynsr70sHTNm44raDhYS1lsHFx0kaJ2T9Sq5wZdgj6oMjgMVV/h2HPnOGn9o0lAjq2WvzQbaVoKuwhg9ylNu6NK8ZbkqUJWVAoieCybbCEArEYji8QGOVYiqTa4Rmvk5wCrUX2hWhz/jAzB0ZrsQ9YilSyP0L5ojBd4Y6QwOX5myXg5URHuvI11jFF6+v6x+MuMM80mSkQan4DIcyw+qxQam51nKm3q8GZlh1xGiFuh7BT+xDdifnrEPXKAmMPupVrYCXgS8YhML+syqD5Is+/E/1U1EFHEen4PZHRU4DITTDkoPrKDN5grdCzWSGjU6LgUkgFwwfheXpfRl6fjjsTvbzAU=
env:
global:
- secure: 2axWz21RxRybSLvkHYIX+2agTzHtnAkOsYUMTfdFb4lgy8hqbTUdTQ19BmndTN8JwMAvgHaBxw3M+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qKQ9+NJ7hIfrzrviMzmIKlOW0K3MMYtqgcx1+epkakMlwtyxzyjbtRxHT+fODsClSP3kaF+a+3YEQK+MMqDaCb162WtgsFEDLn/VyMfNuVKmqB/YaU92/pPCWwBZkPm7j4J5EfakF7HX5vh6w=
- secure: rkJM3Dc+gLcdKRrBn0qQ2wyt+2hk0E9iVOnWFeOoxbS733VHjBsQGlQddoidYJVeggfeIenurziOX1++k5nMH7Uro4qz8UjR32FH37P0Ohe3dGtMTnWEWKN98gvbQX1amv6lktZMuVlBoks8xWeavkTjEGVOnYWpxKzEUGn9xkmZikFK1IxCv2qqGlDj9lMMgwkqF0poBe2X6F5zJkjKhqCDqGwV7NVV/HKdts00FQJXuyo5JjaMjfV68QKxZUloT2HM+7DQTwEBrQwfwQ0SQgGAzsFLYUEMo+m5eh+iZuZqf1tv/EUCv2BporcpbEspTxZsvZxL7FGAVVCNcyIvKpCA47vAs2yFzrjQF/2jLnd01iplCJQZlsbVwbhqbskkDklsJPnNcXXWAJdqgzW8TwYoajX1Zpw0dMiq9FDQZS53vryM03bBS7fEzTootz7ST9ikg9zfL3nqrvlSA9kFEwZwi3k2KJqm70UV1kv9wsQrl7k9eML6hvAjCFwIi/qoQL0Atm5sNNAl40LNQRLBkrmdisP5+xvhKB+oDM+4POBJUjn0a6uoiI6kTWsiA0vJ8q4BAsnq2ooZ/rdKeZsV8TW0Kt8rAP6ZjIfO9j+k2eX1Y4lVA3RIhYzgJ6/5NFb9nLVDt93dL/DTPYwYZSldCGsXstFCbG1lVg9KgBlbjWc=
28 changes: 0 additions & 28 deletions java/cukes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,6 @@
<version>2.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-jvm-deps</artifactId>
Expand All @@ -103,20 +85,10 @@
<artifactId>spring-web</artifactId>
<version>5.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>io.open-saber</groupId>
<artifactId>pojos</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.2</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

import java.io.IOException;
import java.io.StringReader;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Map;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;

import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.riot.RDFDataMgr;
import org.json.JSONObject;

import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
Expand All @@ -27,17 +23,18 @@
import org.springframework.http.ResponseEntity;
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.springframework.web.client.RestTemplate;

import com.google.gson.Gson;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;

import cucumber.api.java.Before;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import io.opensaber.pojos.Response;
import io.opensaber.pojos.Response.Status;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;


public class RegistryIntegrationSteps extends RegistryTestBase{
Expand All @@ -62,6 +59,9 @@ public class RegistryIntegrationSteps extends RegistryTestBase{
private static String duplicateLabel;
private HttpHeaders headers;
private String updateId;

Type type = new TypeToken<Map<String, String>>() {
}.getType();

@Before
public void initializeData(){
Expand Down Expand Up @@ -202,15 +202,28 @@ private void checkForIsomorphicModel() throws IOException{
}

private void setValidAuthHeader(){
String body = "client_id=" + System.getenv("sunbird_sso_client_id") + "&username=" + System.getenv("sunbird_sso_username")
+ "&password=" + System.getenv("sunbird_sso_password") + "&grant_type=password";
headers = new HttpHeaders();
headers.add(AUTH_HEADER_NAME, "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1WXhXdE4tZzRfMld5MG5P"
+ "S1ZoaE5hU0gtM2lSSjdXU25ibFlwVVU0TFRrIn0.eyJqdGkiOiI2OTBiNDZjZS03MjI5LTQ5NjgtODU4Yy0yMzNjNmJhZjMxODMiLCJleHAiOjE1MjE1NjI0NDUsIm5iZiI6MCwiaWF0IjoxNTIxNTE5MjQ1LCJpc3MiOiJodHRwczovL3N0YWdpbmcub3Blbi1zdW5iaXJkLm9yZy9hdXRoL3"
+ "JlYWxtcy9zdW5iaXJkIiwiYXVkIjoiYWRtaW4tY2xpIiwic3ViIjoiYWJkYmRjYzEtZDI5Yy00ZTQyLWI1M2EtODVjYTY4NzI3MjRiIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiYWRtaW4tY2xpIiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiZmZiYWE2ZWUtMDhmZi00OGVlLThlYTEt"
+ "ZTI3YzhlZTE5ZDVjIiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6W10sInJlc291cmNlX2FjY2VzcyI6e30sIm5hbWUiOiJSYXl1bHUgVmlsbGEiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJ2cmF5dWx1IiwiZ2l2ZW5fbmFtZSI6IlJheXVsdSIsImZhbWlseV9uYW1lIjoiVmlsbGEiLCJlbWF"
+ "pbCI6InJheXVsdUBnbWFpbC5jb20ifQ.U1hsUoXGYKtYssOkytMo_tnexHhwKs86IXrDw8rhL9tpG5c6DArVJvdhn5wTEbgzp52efNwQ5LrGGmpBFRWDw0szA5ggT347RCbTTxXZEFF2bUEE8rr0KbkfPOwk5Gazo_xRerW-URyWPlzqppZaUPc6kzY8TDouGmKF8qyVenaxrRgbhKNRYbZWFviARLyt"
+ "ZTMLtgLafhmOvj6r3vK-kt36afUNROBSoNaxhcvSF9QnTRB1_0Bnb_qyVMqEDSdwZdGs3rMU_W8SFWMewxxXPuYWEXIvXIr2AMs7naCR4colLGz8AOMFR44-qTEF-eF71qqBNouh1hgd4N0l4sKzxA");
headers.setCacheControl("no-cache");
headers.set("content-type", "application/x-www-form-urlencoded");
HttpEntity<String> request = new HttpEntity<String>(body, headers);

try {
String url = System.getenv("sunbird_sso_url")+"realms/"+System.getenv("sunbird_sso_realm")+"/protocol/openid-connect/token ";
ResponseEntity<String> response = new RestTemplate().postForEntity(url, request, String.class);
Map<String, String> myMap = new Gson().fromJson(response.getBody(), type);
String accessToken = (String) myMap.get("access_token");
headers.add(AUTH_HEADER_NAME, accessToken);
}catch (Exception e) {
e.printStackTrace();
}
}


public HttpHeaders getHeaders() {
return headers;
}

private void setInvalidAuthHeader(){
headers = new HttpHeaders();
headers.add(AUTH_HEADER_NAME, "1234");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public class UpdateIntegrationTestSteps extends RegistryTestBase implements En {
private ResponseEntity<Response> response,auditBeforeUpdate, auditAfterUpdate;
private String id;
private HttpHeaders headers;

Type type = new TypeToken<Map<String, String>>() {
}.getType();

/**
* The list of integration test scenarios that will be run as part of the update feature
Expand All @@ -71,13 +74,27 @@ public UpdateIntegrationTestSteps() {
}

public void initialize() {

String body = "client_id=" + System.getenv("sunbird_sso_client_id") + "&username=" + System.getenv("sunbird_sso_username")
+ "&password=" + System.getenv("sunbird_sso_password") + "&grant_type=password";
headers = new HttpHeaders();
headers.setCacheControl("no-cache");
headers.set("content-type", "application/x-www-form-urlencoded");
HttpEntity<String> request = new HttpEntity<String>(body, headers);

String url = System.getenv("sunbird_sso_url") + "realms/" + System.getenv("sunbird_sso_realm") + "/protocol/openid-connect/token ";
ResponseEntity<String> response = new RestTemplate().postForEntity(url, request, String.class);
Map<String, String> myMap = new Gson().fromJson(response.getBody(), type);
String accessToken = (String) myMap.get("access_token");

HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory();
restTemplate = new RestTemplate();
restTemplate.setRequestFactory(requestFactory);
baseUrl = generateBaseUrl();
headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
headers.add("x-authenticated-user-token", "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1WXhXdE4tZzRfMld5MG5PS1ZoaE5hU0gtM2lSSjdXU25ibFlwVVU0TFRrIn0.eyJqdGkiOiI2OTBiNDZjZS03MjI5LTQ5NjgtODU4Yy0yMzNjNmJhZjMxODMiLCJleHAiOjE1MjE1NjI0NDUsIm5iZiI6MCwiaWF0IjoxNTIxNTE5MjQ1LCJpc3MiOiJodHRwczovL3N0YWdpbmcub3Blbi1zdW5iaXJkLm9yZy9hdXRoL3JlYWxtcy9zdW5iaXJkIiwiYXVkIjoiYWRtaW4tY2xpIiwic3ViIjoiYWJkYmRjYzEtZDI5Yy00ZTQyLWI1M2EtODVjYTY4NzI3MjRiIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiYWRtaW4tY2xpIiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiZmZiYWE2ZWUtMDhmZi00OGVlLThlYTEtZTI3YzhlZTE5ZDVjIiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6W10sInJlc291cmNlX2FjY2VzcyI6e30sIm5hbWUiOiJSYXl1bHUgVmlsbGEiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJ2cmF5dWx1IiwiZ2l2ZW5fbmFtZSI6IlJheXVsdSIsImZhbWlseV9uYW1lIjoiVmlsbGEiLCJlbWFpbCI6InJheXVsdUBnbWFpbC5jb20ifQ.U1hsUoXGYKtYssOkytMo_tnexHhwKs86IXrDw8rhL9tpG5c6DArVJvdhn5wTEbgzp52efNwQ5LrGGmpBFRWDw0szA5ggT347RCbTTxXZEFF2bUEE8rr0KbkfPOwk5Gazo_xRerW-URyWPlzqppZaUPc6kzY8TDouGmKF8qyVenaxrRgbhKNRYbZWFviARLytZTMLtgLafhmOvj6r3vK-kt36afUNROBSoNaxhcvSF9QnTRB1_0Bnb_qyVMqEDSdwZdGs3rMU_W8SFWMewxxXPuYWEXIvXIr2AMs7naCR4colLGz8AOMFR44-qTEF-eF71qqBNouh1hgd4N0l4sKzxA");
headers.add("x-authenticated-user-token", accessToken);

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Feature: Inserting a record into the registry
And an invalid auth token
When issuing the record into the registry
Then record issuing should be unsuccessful
And error message is Auth token is invalid
And error message is Auth token and/or Environment variable is invalid

Scenario: Issuing a record with missing auth token
Given a valid record
And a missing auth token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Feature: Reading a record from the registry
And an invalid auth token
When retrieving the record from the registry
Then record retrieval should be unsuccessful
And error message is Auth token is invalid
And error message is Auth token and/or Environment variable is invalid

Scenario: Reading a record with missing token
Given an existent record id
Expand Down
12 changes: 9 additions & 3 deletions java/middleware-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
<artifactId>spring-context</artifactId>
<version>5.0.2.RELEASE</version>
</dependency>


</dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-common</artifactId>
<version>4.0.0.Beta1</version>
<scope>compile</scope>
</dependency>


</dependencies>
</project>
20 changes: 20 additions & 0 deletions java/middleware/registry-middleware/authorization/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.0.1.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>5.0.3.RELEASE</version>
Expand All @@ -37,12 +42,27 @@
<artifactId>middleware-commons</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>
<version>3.2.0.Final</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.5</version>
</dependency>
</dependencies>

<build>
Expand Down
Loading

0 comments on commit c3675d9

Please sign in to comment.