Skip to content

Commit

Permalink
issue 3833 slightly change model for launch.run.sync.data system pref…
Browse files Browse the repository at this point in the history
…erence
  • Loading branch information
SilinPavel committed Dec 20, 2024
1 parent d453c0b commit b4ccdff
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

@Data
public class RunSyncDataConfig {
// timeout in sec to be used for the sync_to_storage script
private final Integer syncTimeout;
private final Map<String, RunSyncDataConfigEntry> data;
private final Map<RunSyncDataType, RunSyncDataConfigEntry> data;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@

@Data
public class RunSyncDataConfigEntry {
private final String storagePathPrefix;
// Storage path where folder for the particular run will be located.
// Each run folder will have its own name equal to run id.
private final String runFolderPathPrefix;
// Path where data for this config entry will be located.
// This path is relative to run folder.
private final String dataPathPrefix;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright 2024 EPAM Systems, Inc. (https://www.epam.com/)
*
* Licensed 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 com.epam.pipeline.entity.pipeline.run;

public enum RunSyncDataType {
NF_TRACE
}

0 comments on commit b4ccdff

Please sign in to comment.