aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-07-12 00:48:57 +0200
committergjoranv <gv@verizonmedia.com>2022-07-12 01:41:37 +0200
commita6cc157a30fea6bd60274c74d2bb0c259b304ebf (patch)
tree8fa4a5cb3bab68a60b84f518bdadbee935c1ee94 /config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java
parentb6f197461e83a02c9bdd13da0cfc932fcacabbc1 (diff)
Simplify creation of BundleInstantiationSpec
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java b/config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java
index e5125fe7e1d..6a1e647e9be 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/container/PlatformBundles.java
@@ -1,6 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container;
+import com.yahoo.container.bundle.BundleInstantiationSpecification;
import com.yahoo.vespa.defaults.Defaults;
import java.nio.file.Path;
@@ -28,7 +29,7 @@ public class PlatformBundles {
}
public static final Path LIBRARY_PATH = Paths.get(Defaults.getDefaults().underVespaHome("lib/jars"));
- public static final String searchAndDocprocBundle = "container-search-and-docproc";
+ public static final String SEARCH_AND_DOCPROC_BUNDLE = BundleInstantiationSpecification.CONTAINER_SEARCH_AND_DOCPROC;
public static Set<Path> commonVespaBundles() {
var bundles = new LinkedHashSet<Path>();