This is an automated email from the ASF dual-hosted git repository.
jihao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 4c3be2d [TE] add path for create/update api (#4305)
4c3be2d is described below
commit 4c3be2d55a74dfce75052f468174797deabde416
Author: Jihao Zhang <[email protected]>
AuthorDate: Tue Jun 11 16:10:55 2019 -0700
[TE] add path for create/update api (#4305)
---
.../main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java
index 019c7e6..2656a52 100644
---
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java
+++
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java
@@ -446,6 +446,7 @@ public class YamlResource {
@return a message contains the saved detection config id
*/
@POST
+ @Path("/create-or-update")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.TEXT_PLAIN)
@ApiOperation("Create a new detection pipeline or update existing if one
already exists")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]