File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
main/java/org/elasticsearch/xpack/core/template
test/java/org/elasticsearch/xpack/core/template
qa/multi-project/xpack-rest-tests-with-multiple-projects Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,9 @@ public void clusterChanged(ClusterChangedEvent event) {
247247 return ;
248248 }
249249 for (ProjectMetadata project : event .state ().metadata ().projects ().values ()) {
250+ if (project .id () != ProjectId .DEFAULT ) {
251+ continue ;
252+ }
250253 addIngestPipelinesIfMissing (project );
251254 addTemplatesIfMissing (project );
252255 addIndexLifecyclePoliciesIfMissing (project );
Original file line number Diff line number Diff line change @@ -871,13 +871,6 @@ private ClusterState createClusterState(
871871 .putCustom (IngestMetadata .TYPE , ingestMetadata )
872872 .build ()
873873 )
874- .put (
875- ProjectMetadata .builder (projectId )
876- .componentTemplates (componentTemplates )
877- .putCustom (IndexLifecycleMetadata .TYPE , ilmMeta )
878- .putCustom (IngestMetadata .TYPE , ingestMetadata )
879- .build ()
880- )
881874 .build ()
882875 )
883876 .blocks (new ClusterBlocks .Builder ().build ())
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ dependencies {
1010 testImplementation(testArtifact(project(" :x-pack:plugin:security:qa:service-account" ), " javaRestTest" ))
1111 restXpackTestConfig project(path : ' :x-pack:plugin:ilm:qa:rest' , configuration : " basicRestSpecs" )
1212 restXpackTestConfig project(path : ' :x-pack:plugin:downsample:qa:rest' , configuration : " basicRestSpecs" )
13- restXpackTestConfig project(path : ' :x-pack:plugin:stack' , configuration : " basicRestSpecs" )
1413}
1514
1615// let the yamlRestTests see the classpath of test
You can’t perform that action at this time.
0 commit comments