1 package org.onap.aai.sparky.util;
3 import java.nio.file.Path;
4 import java.nio.file.Paths;
6 public class SparkyTestConstants {
8 /** Default to unix file separator if system property file.separator is null */
9 public static final String FILESEP =
10 (System.getProperty("file.separator") == null) ? "/" : System.getProperty("file.separator");
12 private static Path currentRelativePath = Paths.get("");
13 public static final String PATH_TO_TEST_RESOURCES = currentRelativePath.toAbsolutePath().toString()
14 + FILESEP + "src" + FILESEP + "test" + FILESEP + "resources";
16 public static final String PATH_TO_FILTERS_CONFIG = PATH_TO_TEST_RESOURCES + FILESEP + "filters";
17 public static final String FILTERS_JSON_FILE = PATH_TO_FILTERS_CONFIG + FILESEP + "aaiui_filters.json";
18 public static final String VIEWS_JSON_FILE = PATH_TO_FILTERS_CONFIG + FILESEP + "aaiui_views.json";