-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Cleanup build-scan, remove publish scan to elastic server * Cleanup build script to exclude security-authorization-engine which test has dependency on xpack * Cleanup build script to exclude security-authorization-engine which test has dependency on xpack Co-authored-by: Huan Jiang <huanji@amazon.com>
- Loading branch information
1 parent
4bdad9f
commit 6744e35
Showing
3 changed files
with
29 additions
and
37 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
58 changes: 29 additions & 29 deletions
58
plugins/examples/security-authorization-engine/build.gradle
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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
apply plugin: 'elasticsearch.esplugin' | ||
apply plugin: 'elasticsearch.java-rest-test' | ||
// apply plugin: 'elasticsearch.esplugin' | ||
// apply plugin: 'elasticsearch.java-rest-test' | ||
|
||
esplugin { | ||
name 'security-authorization-engine' | ||
description 'An example spi extension plugin for security that implements an Authorization Engine' | ||
classname 'org.elasticsearch.example.AuthorizationEnginePlugin' | ||
licenseFile rootProject.file('licenses/APACHE-LICENSE-2.0.txt') | ||
noticeFile rootProject.file('NOTICE.txt') | ||
} | ||
// esplugin { | ||
// name 'security-authorization-engine' | ||
// description 'An example spi extension plugin for security that implements an Authorization Engine' | ||
// classname 'org.elasticsearch.example.AuthorizationEnginePlugin' | ||
// licenseFile rootProject.file('licenses/APACHE-LICENSE-2.0.txt') | ||
// noticeFile rootProject.file('NOTICE.txt') | ||
// } | ||
|
||
dependencies { | ||
// let the javaRestTest see the classpath of main | ||
javaRestTestImplementation project.sourceSets.main.runtimeClasspath | ||
} | ||
//no unit tests | ||
test.enabled = false | ||
javaRestTest { | ||
dependsOn buildZip | ||
systemProperty 'tests.security.manager', 'false' | ||
} | ||
// dependencies { | ||
// // let the javaRestTest see the classpath of main | ||
// javaRestTestImplementation project.sourceSets.main.runtimeClasspath | ||
// } | ||
// //no unit tests | ||
// test.enabled = false | ||
// javaRestTest { | ||
// dependsOn buildZip | ||
// systemProperty 'tests.security.manager', 'false' | ||
// } | ||
|
||
testClusters.javaRestTest { | ||
setting 'xpack.security.enabled', 'true' | ||
setting 'xpack.ml.enabled', 'false' | ||
setting 'xpack.license.self_generated.type', 'trial' | ||
// testClusters.javaRestTest { | ||
// setting 'xpack.security.enabled', 'true' | ||
// setting 'xpack.ml.enabled', 'false' | ||
// setting 'xpack.license.self_generated.type', 'trial' | ||
|
||
// This is important, so that all the modules are available too. | ||
// There are index templates that use token filters that are in analysis-module and | ||
// processors are being used that are in ingest-common module. | ||
testDistribution = 'DEFAULT' | ||
// // This is important, so that all the modules are available too. | ||
// // There are index templates that use token filters that are in analysis-module and | ||
// // processors are being used that are in ingest-common module. | ||
// testDistribution = 'DEFAULT' | ||
|
||
user role: 'custom_superuser' | ||
} | ||
// user role: 'custom_superuser' | ||
// } | ||
|