Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.

Commit 160b6f7

Browse files
Merge pull request #6 from NihalHarish/migration_branch
Support for Elasticsearch 6.6.2
2 parents 43238a8 + 6395277 commit 160b6f7

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

THIRD-PARTY.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Lists of 114 third-party dependencies.
1212
(The Apache License, Version 2.0) Woodstox (com.fasterxml.woodstox:woodstox-core:5.0.3 - https://github.com/FasterXML/woodstox)
1313
(The Apache Software License, Version 2.0) zjsonpatch (com.flipkart.zjsonpatch:zjsonpatch:0.4.1 - https://github.com/flipkart-incubator/zjsonpatch/)
1414
(Apache 2) (GNU Lesser General Public License) LDAPTIVE CORE (com.floragunn:ldaptive:1.1.0-fg-fork1 - http://www.ldaptive.org/ldaptive)
15-
(The Apache Software License, Version 2.0) OpenDistro Security (com.amazon.opendistroforelasticsearch:opendistro-elasticsearch-security:0.0.7.0 - https://github.com/opendistro-for-elasticsearch/security)
16-
(The Apache Software License, Version 2.0) OpenDistro Security SSL (com.amazon.opendistroforelasticsearch:opendistro-elasticsearch-security-ssl:0.0.7.0 - https://github.com/opendistro-for-elasticsearch/security-ssl)
15+
(The Apache Software License, Version 2.0) OpenDistro Security (com.amazon.opendistroforelasticsearch:opendistro-elasticsearch-security:0.0.8.0 - https://github.com/opendistro-for-elasticsearch/security)
16+
(The Apache Software License, Version 2.0) OpenDistro Security SSL (com.amazon.opendistroforelasticsearch:opendistro-elasticsearch-security-ssl:0.0.8.0 - https://github.com/opendistro-for-elasticsearch/security-ssl)
1717
(Apache License 2.0) compiler (com.github.spullara.mustache.java:compiler:0.9.3 - http://github.com/spullara/mustache.java)
1818
(The Apache Software License, Version 2.0) json-flattener-java7 (com.github.wnameless:json-flattener-java7:0.4.1 - https://github.com/wnameless/json-flattener)
1919
(The Apache Software License, Version 2.0) FindBugs-jsr305 (com.google.code.findbugs:jsr305:1.3.9 - http://findbugs.sourceforge.net/)

pom.xml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@
1414
~ express or implied. See the License for the specific language governing
1515
~ permissions and limitations under the License.
1616
-->
17-
1817
<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">
1918
<modelVersion>4.0.0</modelVersion>
2019

2120
<parent>
2221
<groupId>com.amazon.opendistroforelasticsearch</groupId>
2322
<artifactId>opendistro_security_parent</artifactId>
24-
<version>0.7.0.1</version>
23+
<version>0.8.0.0</version>
2524
</parent>
2625

2726
<artifactId>opendistro_security_advanced_modules</artifactId>
28-
<version>0.7.0.1</version>
27+
<version>0.8.0.0</version>
2928
<packaging>jar</packaging>
3029

3130
<name>Open Distro Security Advanced Modules for Elasticsearch</name>
@@ -34,14 +33,14 @@
3433
<inceptionYear>2016</inceptionYear>
3534

3635
<properties>
37-
<security.version>0.7.0.1</security.version>
38-
<elasticsearch.version>6.5.4</elasticsearch.version>
36+
<security.version>0.8.0.0</security.version>
37+
<elasticsearch.version>6.6.2</elasticsearch.version>
3938

4039
<!-- deps -->
4140
<log4j.version>2.11.1</log4j.version>
4241
<jjwt.version>0.10.5</jjwt.version>
4342
<ldaptive.version>1.2.3</ldaptive.version>
44-
<jackson-databind.version>2.8.11.1</jackson-databind.version>
43+
<jackson-databind.version>2.8.11.2</jackson-databind.version>
4544
<http.commons.version>4.5.3</http.commons.version>
4645
<cxf.version>3.2.2</cxf.version>
4746
<guava.version>25.1-jre</guava.version>
@@ -55,7 +54,7 @@
5554
<url>https://github.com/opendistro-for-elasticsearch/security-advanced-modules</url>
5655
<connection>scm:git:[email protected]:opendistro-for-elasticsearch/security-advanced-modules.git</connection>
5756
<developerConnection>scm:git:[email protected]:opendistro-for-elasticsearch/security-advanced-modules.git</developerConnection>
58-
<tag>v0.7.0.1</tag>
57+
<tag>v0.8.0.0</tag>
5958
</scm>
6059

6160
<issueManagement>
@@ -346,6 +345,14 @@
346345
<scope>test</scope>
347346
</dependency>
348347

348+
<dependency>
349+
<groupId>org.apache.logging.log4j</groupId>
350+
<artifactId>log4j-core</artifactId>
351+
<version>${log4j.version}</version>
352+
<type>test-jar</type>
353+
<scope>test</scope>
354+
</dependency>
355+
349356
</dependencies>
350357
<build>
351358
<plugins>

src/main/java/com/amazon/opendistroforelasticsearch/security/dlic/rest/api/AbstractApiAction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,14 @@ public abstract class AbstractApiAction extends BaseRestHandler {
8080
private String opendistrosecurityIndex;
8181
private final RestApiPrivilegesEvaluator restApiPrivilegesEvaluator;
8282
protected final AuditLog auditLog;
83+
protected final Settings settings;
8384

8485
protected AbstractApiAction(final Settings settings, final Path configPath, final RestController controller,
8586
final Client client, final AdminDNs adminDNs, final IndexBaseConfigurationRepository cl,
8687
final ClusterService cs, final PrincipalExtractor principalExtractor, final PrivilegesEvaluator evaluator,
8788
ThreadPool threadPool, AuditLog auditLog) {
8889
super(settings);
90+
this.settings = settings;
8991
this.opendistrosecurityIndex = settings.get(ConfigConstants.OPENDISTRO_SECURITY_CONFIG_INDEX_NAME,
9092
ConfigConstants.OPENDISTRO_SECURITY_DEFAULT_CONFIG_INDEX);
9193

0 commit comments

Comments
 (0)