summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-04-27 20:42:59 +0200
committerHarald Musum <musum@yahooinc.com>2022-04-27 20:42:59 +0200
commit24ec516e9fead0b12fa20a9ed282cb57b2c4f817 (patch)
treec0e92bc4728683268f2f7b30081e4eb94eb3d684 /config-model-api
parent62f6fc99eba184210c28d1e480b67e6ec3629666 (diff)
Validate file extensions for more directories
Diffstat (limited to 'config-model-api')
-rw-r--r--config-model-api/abi-spec.json1
-rw-r--r--config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/config-model-api/abi-spec.json b/config-model-api/abi-spec.json
index 74c50e948a4..6e02b88e22e 100644
--- a/config-model-api/abi-spec.json
+++ b/config-model-api/abi-spec.json
@@ -145,6 +145,7 @@
"public static final com.yahoo.path.Path MODELS_DIR",
"public static final com.yahoo.path.Path MODELS_GENERATED_DIR",
"public static final com.yahoo.path.Path MODELS_GENERATED_REPLICATED_DIR",
+ "public static final com.yahoo.path.Path CONSTANTS_DIR",
"public static final java.lang.String CONFIG_DEFINITIONS_DIR",
"public static final com.yahoo.path.Path QUERY_PROFILES_DIR",
"public static final com.yahoo.path.Path QUERY_PROFILE_TYPES_DIR",
diff --git a/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java b/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
index c40ce1ebeb1..18d40025af7 100644
--- a/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
+++ b/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
@@ -48,6 +48,8 @@ public interface ApplicationPackage {
Path MODELS_GENERATED_DIR = Path.fromString("models.generated");
/** Files generated from machine-learned models which should be replicated in ZooKeeper */
Path MODELS_GENERATED_REPLICATED_DIR = MODELS_GENERATED_DIR.append("replicated");
+ /** Constant tensors */
+ Path CONSTANTS_DIR = Path.fromString("constants");
// NOTE: this directory is created in serverdb during deploy, and should not exist in the original user application
/** Do not use */