Skip to content
Snippets Groups Projects
Commit 0750b896 authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Merge branch 'dev' of...

Merge branch 'dev' of https://git-codecommit.us-east-1.amazonaws.com/v1/repos/os-indexer into EntitlementsAdditions
parents 5bf9b221 d65d7e4e
No related branches found
No related tags found
1 merge request!6Trusted ibm
Showing
with 10 additions and 11 deletions
......@@ -17,7 +17,6 @@ public class ElasticUtilsAws extends ElasticUtils {
AWS4Signer signer = new AWS4Signer();
signer.setServiceName(username);
signer.setRegionName(password);
// TODO: Legal please review the use of this code coming from https://github.com/awslabs/aws-request-signing-apache-interceptor
HttpRequestInterceptor interceptor = new AWSRequestSigningApacheInterceptor(username, signer, credentials);
return new RestHighLevelClient(RestClient.builder(HttpHost.create(host)).setHttpClientConfigCallback(configCallBack -> configCallBack.addInterceptorLast(interceptor)));
......
......@@ -2,24 +2,24 @@ package org.opengroup.osdu.util;
public class Config {
private static final String DEFAULT_ELASTIC_HOST = "https://search-dev-osdu-indexer-i5bpf2gv4iv6ha2xi7rook2rga.us-east-1.es.amazonaws.com";
private static final String DEFAULT_ELASTIC_USER_NAME = "es";
private static final String DEFAULT_ELASTIC_PASSWORD = "us-east-1";
private static final String DEFAULT_ELASTIC_HOST = "";
private static final String DEFAULT_ELASTIC_USER_NAME = "";
private static final String DEFAULT_ELASTIC_PASSWORD = "";
static final int PORT = 9243;
private static final String DEFAULT_INDEXER_HOST = "http://localhost:8080/api/indexer/v2/";
private static final String DEFAULT_SEARCH_HOST = "http://localhost:8082/api/search/v2/";
private static final String DEFAULT_STORAGE_HOST = "http://localhost:8081/api/storage/v2/";
private static final String DEFAULT_DATA_PARTITION_ID_TENANT1 = "common";
private static final String DEFAULT_DATA_PARTITION_ID_TENANT2 = "common";
private static final String DEFAULT_SEARCH_INTEGRATION_TESTER = "common";
private static final String DEFAULT_INDEXER_HOST = "";
private static final String DEFAULT_SEARCH_HOST = "";
private static final String DEFAULT_STORAGE_HOST = "";
private static final String DEFAULT_DATA_PARTITION_ID_TENANT1 = "";
private static final String DEFAULT_DATA_PARTITION_ID_TENANT2 = "";
private static final String DEFAULT_SEARCH_INTEGRATION_TESTER = "";
private static final String DEFAULT_TARGET_AUDIENCE = "";
private static final String DEFAULT_LEGAL_TAG = "";
private static final String DEFAULT_OTHER_RELEVANT_DATA_COUNTRIES = "";
private static final String DEFAULT_ENTITLEMENTS_DOMAIN = "local";
private static final String DEFAULT_ENTITLEMENTS_DOMAIN = "";
public static String getOtherRelevantDataCountries() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment