File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
wls-exporter-core/src/test/java/com/oracle/wls/exporter Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ private DemoInputs() {
16
16
static final String YAML_STRING = "---\n " +
17
17
"startDelaySeconds: 5\n " +
18
18
"username: system\n " +
19
- "password: gumby1234\n " +
20
19
"\n " +
21
20
"queries:\n " +
22
21
"- serverRuntimes:\n " +
@@ -39,7 +38,6 @@ private DemoInputs() {
39
38
static final String YAML_STRING2 = "---\n " +
40
39
"startDelaySeconds: 5\n " +
41
40
"username: system\n " +
42
- "password: gumby1234\n " +
43
41
"queries:\n " +
44
42
"- applicationRuntimes:\n " +
45
43
" key: name\n " +
Original file line number Diff line number Diff line change 1
- // Copyright (c) 2017, 2021 , Oracle and/or its affiliates.
1
+ // Copyright (c) 2017, 2023 , Oracle and/or its affiliates.
2
2
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
4
4
package com .oracle .wls .exporter ;
11
11
import com .oracle .wls .exporter .domain .MBeanSelector ;
12
12
13
13
import static com .google .gson .JsonParser .parseString ;
14
- import static com .oracle .wls .exporter .DemoInputs .RESPONSE ;
15
- import static com .oracle .wls .exporter .DemoInputs .YAML_STRING3 ;
16
- import static com .oracle .wls .exporter .DemoInputs .compressedJsonForm ;
14
+ import static com .oracle .wls .exporter .DemoInputs .*;
17
15
18
16
/**
19
17
* @author Russell Gold
20
18
*/
21
19
public class YamlDemo {
22
20
23
21
public static void main (String ... args ) throws IOException {
24
- String yamlString = YAML_STRING3 ;
22
+ String yamlString = YAML_STRING ;
25
23
System .out .println ("The following configuration:\n " + yamlString );
26
24
ExporterConfig exporterConfig = ExporterConfig .loadConfig (new ByteArrayInputStream (yamlString .getBytes ()));
27
25
You can’t perform that action at this time.
0 commit comments