We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934d057 commit 9b58eaeCopy full SHA for 9b58eae
src/main/java/com/orange/innov/xaas/mongodb/DemoApplication.java
@@ -2,10 +2,18 @@
2
3
import org.springframework.boot.SpringApplication;
4
import org.springframework.boot.autoconfigure.SpringBootApplication;
5
+import org.springframework.context.annotation.Bean;
6
+
7
+import io.pivotal.cfenv.core.CfEnv;
8
9
@SpringBootApplication
10
public class DemoApplication {
11
public static void main(String[] args) {
12
SpringApplication.run(DemoApplication.class, args);
13
}
14
15
+ @Bean
16
+ public CfEnv cfEnv() {
17
+ return new CfEnv();
18
+ }
19
0 commit comments