-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix javadocs and forbidden API issues
Signed-off-by: Daniel Widdis <widdis@gmail.com>
- Loading branch information
Showing
10 changed files
with
92 additions
and
28 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
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
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
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
28 changes: 28 additions & 0 deletions
28
src/test/java/org/opensearch/flowframework/workflow/WorkflowDataTests.java
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
package org.opensearch.flowframework.workflow; | ||
|
||
import org.opensearch.test.OpenSearchTestCase; | ||
|
||
import java.util.Collections; | ||
|
||
public class WorkflowDataTests extends OpenSearchTestCase { | ||
|
||
@Override | ||
public void setUp() throws Exception { | ||
super.setUp(); | ||
} | ||
|
||
public void testWorkflowData() { | ||
WorkflowData data = new WorkflowData() { | ||
}; | ||
assertEquals(Collections.emptyMap(), data.getParams()); | ||
assertEquals(Collections.emptyMap(), data.getContent()); | ||
} | ||
} |
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,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" | ||
} | ||
] | ||
} | ||
} |