Skip to content

Commit

Permalink
Updates all java files under security/* and test/security/a* -> test/…
Browse files Browse the repository at this point in the history
…security/m* (opensearch-project#2826)

* Update Sec/action to Sec/Filter

Signed-off-by: Stephen Crawford <steecraw@amazon.com>

* Update Security/*

Signed-off-by: Stephen Crawford <steecraw@amazon.com>

* Update Security/* and test/opensearch/security/*

Signed-off-by: Stephen Crawford <steecraw@amazon.com>

* Half sec test changes

Signed-off-by: Stephen Crawford <steecraw@amazon.com>

* Half sec test changes

Signed-off-by: Stephen Crawford <steecraw@amazon.com>

---------

Signed-off-by: Stephen Crawford <steecraw@amazon.com>
  • Loading branch information
stephen-crawford authored and samuelcostae committed Jun 19, 2023
1 parent 5f8e97f commit b1a9278
Show file tree
Hide file tree
Showing 4 changed files with 525 additions and 261 deletions.
20 changes: 18 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,21 @@ apply plugin: 'opensearch.opensearchplugin'
apply plugin: 'opensearch.pluginzip'
apply plugin: 'opensearch.rest-test'
apply plugin: 'opensearch.testclusters'
//apply from: 'gradle/formatting.gradle'
// apply from: 'gradle/formatting.gradle'

spotless {
java {
// Normally this isn't necessary, but we have Java sources in
// non-standard places
target '**/com/amazon/dlic/**/*.java'
target '**/com/amazon/security/**/*.java'
target '**/test/java/org/opensearch/security/a*/**/*.java'
target '**/test/java/org/opensearch/security/b*/**/*.java'
target '**/test/java/org/opensearch/security/c*/**/*.java'
target '**/test/java/org/opensearch/security/d*/**/*.java'
target '**/test/java/org/opensearch/security/f*/**/*.java'
target '**/test/java/org/opensearch/security/h*/**/*.java'
target '**/test/java/org/opensearch/security/m*/**/*.java'

removeUnusedImports()
eclipse().configFile rootProject.file('formatter/formatterConfig.xml')
Expand Down Expand Up @@ -109,7 +117,15 @@ spotless {
importOrder('java', 'javax', '', 'com.amazon', 'org.opensearch', '\\#')
target '**/*.java'
targetExclude '**/com/amazon/dlic/**/*.java'
targetExclude('src/integrationTest/**')
targetExclude '**/com/amazon/security/**/*.java'
targetExclude '**/test/java/org/opensearch/security/a*/**/*.java'
targetExclude '**/test/java/org/opensearch/security/b*/**/*.java'
targetExclude '**/test/java/org/opensearch/security/c*/**/*.java'
targetExclude '**/test/java/org/opensearch/security/d*/**/*.java'
targetExclude '**/test/java/org/opensearch/security/f*/**/*.java'
targetExclude '**/test/java/org/opensearch/security/h*/**/*.java'
targetExclude '**/test/java/org/opensearch/security/m*/**/*.java'
targetExclude 'src/integrationTest/**'

trimTrailingWhitespace()
endWithNewline();
Expand Down
Loading

0 comments on commit b1a9278

Please sign in to comment.