File tree Expand file tree Collapse file tree 5 files changed +19
-9
lines changed
main/java/org/apache/zookeeper/common
java/org/apache/zookeeper Expand file tree Collapse file tree 5 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1717# under the License.
1818#
1919
20- FROM maven:3.8.4-jdk-8
20+ FROM maven:3.8.4-jdk-11
2121
2222RUN apt-get update
2323RUN apt-get install -y \
Original file line number Diff line number Diff line change 2929import java .util .Map ;
3030import java .util .Map .Entry ;
3131import java .util .Properties ;
32-
3332import org .apache .zookeeper .Environment ;
3433import org .apache .zookeeper .server .util .VerifyingFileFactory ;
3534import org .slf4j .Logger ;
Original file line number Diff line number Diff line change 2222import static org .junit .jupiter .api .Assertions .assertFalse ;
2323import static org .junit .jupiter .api .Assertions .assertNotNull ;
2424import static org .junit .jupiter .api .Assertions .assertTrue ;
25-
25+ import ch .qos .logback .classic .Level ;
26+ import java .io .File ;
27+ import java .io .IOException ;
2628import org .apache .zookeeper .test .LoggerTestTool ;
2729import org .junit .jupiter .api .AfterAll ;
2830import org .junit .jupiter .api .AfterEach ;
2931import org .junit .jupiter .api .BeforeAll ;
3032import org .junit .jupiter .api .Test ;
3133import org .junit .jupiter .api .Timeout ;
32- import ch .qos .logback .classic .Level ;
33-
34- import java .io .File ;
35- import java .io .IOException ;
3634
3735public class ZKConfigTest {
3836
Original file line number Diff line number Diff line change 3030import java .io .IOException ;
3131import java .io .LineNumberReader ;
3232import java .io .StringReader ;
33-
3433import org .slf4j .LoggerFactory ;
3534
3635public class LoggerTestTool implements AutoCloseable {
Original file line number Diff line number Diff line change 1+ # Licensed to the Apache Software Foundation (ASF) under one or more
2+ # contributor license agreements. See the NOTICE file distributed with
3+ # this work for additional information regarding copyright ownership.
4+ # The ASF licenses this file to You under the Apache License, Version 2.0
5+ # (the "License"); you may not use this file except in compliance with
6+ # the License. You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
116# Sample secrets
217zookeeper.ssl.keyStore.password=FileSecret456!
318zookeeper.ssl.keyStore.passwordPath=/home/zookeeper/top_secret.txt
419ssl.quorum.keyStore.password=AnotherFileSecret789!
5-
You can’t perform that action at this time.
0 commit comments