Skip to content

Commit

Permalink
Fix YAML linter violiation
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Dec 6, 2023
1 parent 712ebec commit 192f225
Show file tree
Hide file tree
Showing 31 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/resources/yaml/basic-admin-no-topics.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
name: test
clientId: junit
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/yaml/basic-admin.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
name: test
clientId: junit
Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/yaml/basic-consumer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
bootstrapServers:
- 127.0.0.1:9092
Expand All @@ -13,4 +14,5 @@ security:
securityProtocol: sasl_ssl
sslProtocol: TLSv1.2
saslMechanism: PLAIN
# yamllint disable-line rule:line-length
saslJaas: org.apache.kafka.common.security.plain.PlainLoginModule required username="<username>" password="<password>";
2 changes: 2 additions & 0 deletions src/test/resources/yaml/basic-producer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
bootstrapServers:
- 127.0.0.1:9092
Expand All @@ -20,4 +21,5 @@ security:
securityProtocol: sasl_ssl
sslProtocol: TLSv1.2
saslMechanism: PLAIN
# yamllint disable-line rule:line-length
saslJaas: org.apache.kafka.common.security.plain.PlainLoginModule required username="<username>" password="<password>";
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/byte-array.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: byte-array
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/byte-buffer.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: byte-buffer
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/bytes.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: bytes
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/double.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: double
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/float.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: float
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/integer.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: integer
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/long.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: long
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/short.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: short
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/string.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
type: string
encoding: UTF8
1 change: 1 addition & 0 deletions src/test/resources/yaml/deserializer/uuid.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
type: uuid
encoding: UTF8
1 change: 1 addition & 0 deletions src/test/resources/yaml/integration/basic-admin.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
name: integration-test
clientId: junit
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/yaml/integration/basic-consumer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
bootstrapServers:
- placeholder
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/yaml/integration/basic-producer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
type: basic
bootstrapServers:
- placeholder
Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/yaml/security/sasl-plaintext-security.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
securityProtocol: sasl_plaintext
saslMechanism: PLAIN
# yamllint disable-line rule:line-length
saslJaas: org.apache.kafka.common.security.plain.PlainLoginModule required username="<username>" password="<password>";
2 changes: 2 additions & 0 deletions src/test/resources/yaml/security/sasl-ssl-security.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
securityProtocol: sasl_ssl
sslProtocol: TLSv1.2
saslMechanism: PLAIN
# yamllint disable-line rule:line-length
saslJaas: org.apache.kafka.common.security.plain.PlainLoginModule required username="<username>" password="<password>";
1 change: 1 addition & 0 deletions src/test/resources/yaml/security/ssl-security.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
securityProtocol: ssl
sslProtocol: TLSv1.2
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/byte-array.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: byte-array
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/byte-buffer.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: byte-buffer
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/bytes.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: bytes
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/double.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: double
2 changes: 1 addition & 1 deletion src/test/resources/yaml/serializer/float.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
type: float

1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/integer.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: integer
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/long.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: long
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/short.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
type: short
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/string.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
type: string
encoding: UTF8
1 change: 1 addition & 0 deletions src/test/resources/yaml/serializer/uuid.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
type: uuid
encoding: UTF8
1 change: 1 addition & 0 deletions src/test/resources/yaml/topic.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: foo
partitions: 3
replicationFactor: 1
Expand Down

0 comments on commit 192f225

Please sign in to comment.