Skip to content

Commit

Permalink
Tabs are forbidden!
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis committed Sep 16, 2023
1 parent 343cb15 commit 23f885c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 18 deletions.
1 change: 1 addition & 0 deletions formatter/formatting.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ allprojects {

trimTrailingWhitespace()
endWithNewline()
indentWithSpaces(4)
}
format("license", {
licenseHeaderFile("${rootProject.file("formatter/license-header.txt")}", "package ");
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/demo/DataDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.opensearch.common.SuppressForbidden;
import org.opensearch.common.io.PathUtils;
import org.opensearch.flowframework.template.ProcessNode;
import org.opensearch.flowframework.template.TemplateParser;
Expand Down Expand Up @@ -47,6 +48,7 @@ public class DataDemo {
*
* @param args unused
*/
@SuppressForbidden(reason = "just a demo class that will be deleted")
public static void main(String[] args) {
String path = "src/test/resources/template/datademo.json";
String json;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/demo/Demo.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.opensearch.common.SuppressForbidden;
import org.opensearch.common.io.PathUtils;
import org.opensearch.flowframework.template.ProcessNode;
import org.opensearch.flowframework.template.TemplateParser;
Expand Down Expand Up @@ -49,6 +50,7 @@ public class Demo {
*
* @param args unused
*/
@SuppressForbidden(reason = "just a demo class that will be deleted")
public static void main(String[] args) {
String path = "src/test/resources/template/demo.json";
String json;
Expand Down
36 changes: 18 additions & 18 deletions src/test/resources/template/datademo.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"sequence": {
"nodes": [
{
"id": "create_index",
"index_name": "demo"
},
{
"id": "create_another_index",
"index_name": "second_demo"
}
],
"edges": [
{
"source": "create_index",
"dest": "create_another_index"
}
]
}
"sequence": {
"nodes": [
{
"id": "create_index",
"index_name": "demo"
},
{
"id": "create_another_index",
"index_name": "second_demo"
}
],
"edges": [
{
"source": "create_index",
"dest": "create_another_index"
}
]
}
}

0 comments on commit 23f885c

Please sign in to comment.