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 4fa7850ab1 refactor: Remove legacy data lake resource (#2540)
4fa7850ab1 is described below

commit 4fa7850ab1d2578ef79d9955ee632205802e520e
Author: Philipp Zehnder <[email protected]>
AuthorDate: Thu Mar 14 07:45:27 2024 +0100

    refactor: Remove legacy data lake resource (#2540)
---
 .../apache/streampipes/ps/DataLakeResourceV3.java  | 46 ----------------------
 1 file changed, 46 deletions(-)

diff --git 
a/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV3.java
 
b/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV3.java
deleted file mode 100644
index 99c2191c63..0000000000
--- 
a/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV3.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-package org.apache.streampipes.ps;
-
-import org.apache.streampipes.dataexplorer.utils.DataExplorerUtils;
-import org.apache.streampipes.model.datalake.DataLakeMeasure;
-import org.apache.streampipes.rest.core.base.impl.AbstractRestResource;
-
-import org.springframework.http.MediaType;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-import java.util.List;
-
-@RestController
-@RequestMapping("/api/v3/datalake")
-@Deprecated
-public class DataLakeResourceV3 extends AbstractRestResource {
-  public DataLakeResourceV3() {
-  }
-
-  @GetMapping(path = "/info", produces = MediaType.APPLICATION_JSON_VALUE)
-  public ResponseEntity<List<DataLakeMeasure>> getAllInfos() {
-    List<DataLakeMeasure> result = DataExplorerUtils.getInfos();
-    return ok(result);
-  }
-
-}

Reply via email to