-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Etienne Homer <etiennehomer@gmail.com> Co-authored-by: Rehili Ghazwa <ghazwarhili@gmail.com> Co-authored-by: HARPER Jon <jon.harper87@gmail.com>
- Loading branch information
1 parent
2c267b1
commit ed4c357
Showing
42 changed files
with
1,951 additions
and
597 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
28 changes: 28 additions & 0 deletions
28
src/main/java/com/powsybl/caseserver/datasource/CaseDataSourceService.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 (c) 2023, RTE (http://www.rte-france.com) | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
*/ | ||
package com.powsybl.caseserver.datasource; | ||
|
||
import java.util.Set; | ||
import java.util.UUID; | ||
|
||
/** | ||
* @author Abdelsalem Hedhili <abdelsalem.hedhili at rte-france.com> | ||
*/ | ||
public interface CaseDataSourceService { | ||
String getBaseName(UUID caseUuid); | ||
|
||
Boolean datasourceExists(UUID caseUuid, String suffix, String ext); | ||
|
||
Boolean datasourceExists(UUID caseUuid, String fileName); | ||
|
||
byte[] getInputStream(UUID caseUuid, String suffix, String ext); | ||
|
||
byte[] getInputStream(UUID caseUuid, String fileName); | ||
|
||
Set<String> listName(UUID caseUuid, String regex); | ||
|
||
} |
Oops, something went wrong.