Skip to content

Commit c7e526e

Browse files
Frontend doc link (#407)
* links to frontend subscription docs
1 parent 461b38b commit c7e526e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/test/java/com/ericsson/ei/jmespath/test/TestStringSplittingFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void testStringSplit() throws Exception {
3737

3838
@Test
3939
public void testStringSplitFunction() throws Exception {
40-
String processRule = "split(data.identity, '/')";
40+
String processRule = "split(data.identity, '@|/')";
4141
String expectedResult = "com.mycompany.myproduct";
4242
JsonNode result = unitUnderTest.runRuleOnEvent(processRule, jsonInput);
4343
JsonNode actualResult = result.get(1);

wiki/markdown/subscription-API.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Example of a subscription array input:
3333
..Subscription 2..
3434
}
3535
]
36+
37+
Guidelines for writing requirements and conditions for creating subscriptions can be found [here](https://github.com/eiffel-community/eiffel-intelligence/blob/master/wiki/markdown/subscriptions.md#writing-requirements-and-conditions)
3638

3739

3840

@@ -97,3 +99,8 @@ Delete a single specific subscription
9799
Curl command example
98100

99101
curl -X DELETE -H "Content-type: application/json" http://<host>:8090/subscriptions/<name>
102+
103+
104+
## Subscription related information in front-end documentation
105+
106+
Read more about curl examples for subscription endpoint in Eiffel Intelligence front-end docs [here](https://github.com/eiffel-community/eiffel-intelligence-frontend/blob/master/wiki/markdown/curl-examples.md#subscriptions)

0 commit comments

Comments
 (0)