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() {
1616 static final String YAML_STRING = "---\n " +
1717 "startDelaySeconds: 5\n " +
1818 "username: system\n " +
19- "password: gumby1234\n " +
2019 "\n " +
2120 "queries:\n " +
2221 "- serverRuntimes:\n " +
@@ -39,7 +38,6 @@ private DemoInputs() {
3938 static final String YAML_STRING2 = "---\n " +
4039 "startDelaySeconds: 5\n " +
4140 "username: system\n " +
42- "password: gumby1234\n " +
4341 "queries:\n " +
4442 "- applicationRuntimes:\n " +
4543 " 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.
22// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33
44package com .oracle .wls .exporter ;
1111import com .oracle .wls .exporter .domain .MBeanSelector ;
1212
1313import 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 .*;
1715
1816/**
1917 * @author Russell Gold
2018 */
2119public class YamlDemo {
2220
2321 public static void main (String ... args ) throws IOException {
24- String yamlString = YAML_STRING3 ;
22+ String yamlString = YAML_STRING ;
2523 System .out .println ("The following configuration:\n " + yamlString );
2624 ExporterConfig exporterConfig = ExporterConfig .loadConfig (new ByteArrayInputStream (yamlString .getBytes ()));
2725
You can’t perform that action at this time.
0 commit comments