Skip to content

Commit

Permalink
Fix test extension integration test using test extension to provide a…
Browse files Browse the repository at this point in the history
…ll required config
  • Loading branch information
dmlloyd committed Nov 20, 2019
1 parent 6a0e6a6 commit 2dafdad
Showing 1 changed file with 95 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,98 @@ quarkus.log.file.format=%d{HH:mm:ss} %-5p [%c{2.}]] (%t) %s%e%n

# Resource path to DSAPublicKey base64 encoded bytes
quarkus.root.dsa-key-location=/DSAPublicKey.encoded

### Configuration settings for the TestBuildTimeConfig config root
quarkus.bt.bt-string-opt=btStringOptValue
quarkus.bt.bt-sbv=StringBasedValue
# This is not set so that we should get the @ConfigItem defaultValue
#quarkus.bt.bt-sbv-with-default=StringBasedValue
quarkus.bt.all-values.oov=configPart1+configPart2
quarkus.bt.all-values.ovo=configPart1+configPart2
# This is not set so that we should get the @ConfigItem defaultValue
#quarkus.bt.bt-oov-with-default=ObjectOfValue
quarkus.bt.all-values.long-primitive=1234567891
quarkus.bt.all-values.double-primitive=3.1415926535897932384
quarkus.bt.all-values.long-value=1234567892
quarkus.bt.all-values.opt-long-value=1234567893
quarkus.bt.all-values.opt-double-value=3.1415926535897932384
quarkus.bt.all-values.optional-long-value=1234567894
quarkus.bt.all-values.nested-config-map.key1.nested-value=value1
quarkus.bt.all-values.nested-config-map.key1.oov=value1.1+value1.2
quarkus.bt.all-values.nested-config-map.key2.nested-value=value2
quarkus.bt.all-values.nested-config-map.key2.oov=value2.1+value2.2
quarkus.bt.all-values.string-list=value1,value2
quarkus.bt.all-values.long-list=1,2,3

### Duplicate settings for the TestBuildAndRunTimeConfig. May be able to drop if ConfigRoot inheritance is added
quarkus.btrt.bt-string-opt=btStringOptValue
quarkus.btrt.bt-sbv=StringBasedValue
quarkus.btrt.all-values.oov=configPart1+configPart2
quarkus.btrt.all-values.ovo=configPart1+configPart2
quarkus.btrt.all-values.long-primitive=1234567891
quarkus.btrt.all-values.double-primitive=3.1415926535897932384
quarkus.btrt.all-values.long-value=1234567892
quarkus.btrt.all-values.opt-long-value=1234567893
quarkus.btrt.all-values.opt-double-value=3.1415926535897932384
quarkus.btrt.all-values.optional-long-value=1234567894
quarkus.btrt.all-values.nested-config-map.key1.nested-value=value1
quarkus.btrt.all-values.nested-config-map.key1.oov=value1.1+value1.2
quarkus.btrt.all-values.nested-config-map.key2.nested-value=value2
quarkus.btrt.all-values.nested-config-map.key2.oov=value2.1+value2.2
quarkus.btrt.all-values.string-list=value1,value2
quarkus.btrt.all-values.long-list=1,2,3

### Configuration settings for the TestRunTimeConfig config root
quarkus.rt.rt-string-opt=rtStringOptValue
quarkus.rt.rt-string-opt-with-default=rtStringOptWithDefaultValue
quarkus.rt.all-values.oov=configPart1+configPart2
quarkus.rt.all-values.ovo=configPart1+configPart2
quarkus.rt.all-values.long-primitive=12345678911
quarkus.rt.all-values.double-primitive=3.1415926535897932384
quarkus.rt.all-values.long-value=12345678921
quarkus.rt.all-values.opt-long-value=12345678931
quarkus.rt.all-values.opt-double-value=3.1415926535897932384
quarkus.rt.all-values.optional-long-value=12345678941
quarkus.rt.all-values.nested-config-map.key1.nested-value=value1
quarkus.rt.all-values.nested-config-map.key1.oov=value1.1+value1.2
quarkus.rt.all-values.nested-config-map.key2.nested-value=value2
quarkus.rt.all-values.nested-config-map.key2.oov=value2.1+value2.2
quarkus.rt.all-values.string-list=value1,value2
quarkus.rt.all-values.long-list=1,2,3
# A nested map of properties
quarkus.rt.all-values.string-map.key1=value1
quarkus.rt.all-values.string-map.key2=value2
quarkus.rt.all-values.string-map.key3=value3
# And list form
quarkus.rt.all-values.string-list-map.key1=value1,value2,value3
quarkus.rt.all-values.string-list-map.key2=value4,value5
quarkus.rt.all-values.string-list-map.key3=value6
# A root map of properties
quarkus.rt.string-map.key1=value1
quarkus.rt.string-map.key2=value2
quarkus.rt.string-map.key3=value3
# And list form
quarkus.rt.string-list-map.key1=value1
quarkus.rt.string-list-map.key2=value2,value3
quarkus.rt.string-list-map.key3=value4,value5,value6

### run time configuration using enhanced converters
quarkus.rt.my-enum=enum-two
quarkus.rt.my-enums=enum-one,enum-two
quarkus.rt.my-optional-enums=optional
quarkus.rt.no-hyphenate-first-enum=ENUM_ONE
quarkus.rt.no-hyphenate-second-enum=Enum_Two
quarkus.rt.primitive-boolean=YES
quarkus.rt.object-boolean=NO
quarkus.rt.primitive-integer=two
quarkus.rt.object-integer=nine
quarkus.rt.one-to-nine=one,two,three,four,five,six,seven,eight,nine
quarkus.rt.map-of-numbers.key1=one
quarkus.rt.map-of-numbers.key2=two


### build time and run time configuration using enhanced converters
quarkus.btrt.map-of-numbers.key1=one
quarkus.btrt.map-of-numbers.key2=two
quarkus.btrt.my-enum=optional
quarkus.btrt.my-enums=optional,enum-one,enum-two

0 comments on commit 2dafdad

Please sign in to comment.