You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/12/15 16:37:59 UTC
[streampipes] branch dev updated: [hotfix] Change method name in DataExportResource
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new f4ac91c4d [hotfix] Change method name in DataExportResource
f4ac91c4d is described below
commit f4ac91c4d0907ea147b155a85a733204d8742499
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Thu Dec 15 17:37:39 2022 +0100
[hotfix] Change method name in DataExportResource
---
.../java/org/apache/streampipes/rest/impl/admin/DataExportResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/admin/DataExportResource.java b/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/admin/DataExportResource.java
index 25d4f8171..2c4d4da72 100644
--- a/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/admin/DataExportResource.java
+++ b/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/admin/DataExportResource.java
@@ -54,7 +54,7 @@ public class DataExportResource extends AbstractAuthGuardedRestResource {
@POST
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_OCTET_STREAM)
- public Response getExportPreview(ExportConfiguration exportConfiguration) throws IOException {
+ public Response download(ExportConfiguration exportConfiguration) throws IOException {
var applicationPackage = ExportManager.getExportPackage(exportConfiguration);
return ok(applicationPackage);
}