[boot-properties] Resource value hint includes 'optional:'

This commit is contained in:
aboyko
2023-07-12 11:05:16 -04:00
parent fcdd69aec9
commit 2d8cd9d849
3 changed files with 19 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2016, 2019 Pivotal, Inc.
* Copyright (c) 2016, 2023 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,7 +38,8 @@ public class ResourceHintProvider implements ValueProviderStrategy {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
};
@Override

View File

@@ -1655,7 +1655,8 @@ public class ApplicationPropertiesEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}
@@ -1740,7 +1741,8 @@ public class ApplicationPropertiesEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}
@@ -1769,7 +1771,8 @@ public class ApplicationPropertiesEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
assertCompletionsDisplayString(
@@ -1839,7 +1842,8 @@ public class ApplicationPropertiesEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
assertCompletionWithLabel(

View File

@@ -4357,7 +4357,8 @@ public class ApplicationYamlEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
assertCompletionsDisplayString(
@@ -4370,7 +4371,8 @@ public class ApplicationYamlEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}
@@ -4760,7 +4762,8 @@ public class ApplicationYamlEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}
@@ -4782,7 +4785,8 @@ public class ApplicationYamlEditorTest extends AbstractPropsEditorTest {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}