@@ -232,15 +232,15 @@ curl http://localhost:8080/microprofile-config-one/one/report
232232
233233Ordinal Name
23423460 null: org .jboss.rest.config.one.ServiceActivator: ServletConfigSource
235- resteasy.servlet.mapping.prefix : /
236- javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
235+ resteasy.servlet.mapping.prefix : /
236+ javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
23723750 null:null: FilterConfigSource
238- no entries
238+ no entries
23923940 null: ServletContextConfigSource
240- resteasy.preferJacksonOverJsonB : false
241- resteasy.scanned.resources : org.jboss.rest.config.one.DemoResource
242- resteasy.document.expand.entity.references : false
243- resteasy.unwrapped.exceptions : javax.ejb.EJBException
240+ resteasy.preferJacksonOverJsonB : false
241+ resteasy.scanned.resources : org.jboss.rest.config.one.DemoResource
242+ resteasy.document.expand.entity.references : false
243+ resteasy.unwrapped.exceptions : javax.ejb.EJBException
244244````
245245This is the minimum set of configuration data RESTEasy requires. All the properties
246246which start with "resteasy." are [RESTEasy configuration switches](https://docs.jboss.org/resteasy/docs/3.12.1.Final/userguide/html/Installation_Configuration.html#configuration_switches).
@@ -281,9 +281,9 @@ curl http://localhost:8080/microprofile-config-one/one/lookup/resteasy.preferJac
281281
282282Ordinal Name
283283400 SysPropConfigSource
284- resteasy.preferJacksonOverJsonB : TRUE
284+ resteasy.preferJacksonOverJsonB : TRUE
28528540 null: ServletContextConfigSource
286- resteasy.preferJacksonOverJsonB : TRUE
286+ resteasy.preferJacksonOverJsonB : TRUE
287287````
288288Hmmm. The property in SysPropConfigSource is expected.
289289The value of resteasy.preferJacksonOverJsonB in ServletContextConfigSource is
@@ -336,9 +336,9 @@ curl http://localhost:8080/microprofile-config-two/two/lookup/resteasy.preferJac
336336
337337Ordinal Name
338338100 PropertiesConfigSource[ source=vfs:/content/microprofile-config-two.war/WEB-INF/classes/META-INF/microprofile-config.properties]
339- resteasy.preferJacksonOverJsonB : TruE
339+ resteasy.preferJacksonOverJsonB : TruE
34034040 null: ServletContextConfigSource
341- resteasy.preferJacksonOverJsonB : false
341+ resteasy.preferJacksonOverJsonB : false
342342
343343````
344344
@@ -424,18 +424,18 @@ curl http://localhost:8080/microprofile-config-four/four/report
424424
425425Ordinal Name
42642660 null:DemoFour: ServletConfigSource
427- javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
427+ javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
42842853 PropertiesConfigSource[ source=vfs:/content/microprofile-config-four.war/WEB-INF/classes/META-INF/microprofile-config.properties]
429- config_ordinal : 53
430- farewell-phrase : that's all folks
429+ config_ordinal : 53
430+ farewell-phrase : that's all folks
43143150 null:null: FilterConfigSource
432- no entries
432+ no entries
43343340 null: ServletContextConfigSource
434- resteasy.preferJacksonOverJsonB : false
435- month : June
436- courts : legal-courts
437- resteasy.document.expand.entity.references : false
438- resteasy.unwrapped.exceptions : javax.ejb.EJBException
434+ resteasy.preferJacksonOverJsonB : false
435+ month : June
436+ courts : legal-courts
437+ resteasy.document.expand.entity.references : false
438+ resteasy.unwrapped.exceptions : javax.ejb.EJBException
439439
440440-- Thanks for asking --
441441````
@@ -458,20 +458,20 @@ curl http://localhost:8080/microprofile-config-four/air/four/report
458458
459459Ordinal Name
46046060 null:DemoFour: ServletConfigSource
461- no entries
461+ no entries
46246253 PropertiesConfigSource[ source=vfs:/content/microprofile-config-four.war/WEB-INF/classes/META-INF/microprofile-config.properties]
463- config_ordinal : 53
464- farewell-phrase : that's all folks
463+ config_ordinal : 53
464+ farewell-phrase : that's all folks
46546550 null:null: FilterConfigSource
466- resteasy.servlet.mapping.prefix : /air
467- javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
468- aquarium : fish-filter
466+ resteasy.servlet.mapping.prefix : /air
467+ javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
468+ aquarium : fish-filter
46946940 null: ServletContextConfigSource
470- resteasy.preferJacksonOverJsonB : false
471- month : June
472- courts : legal-courts
473- resteasy.document.expand.entity.references : false
474- resteasy.unwrapped.exceptions : javax.ejb.EJBException
470+ resteasy.preferJacksonOverJsonB : false
471+ month : June
472+ courts : legal-courts
473+ resteasy.document.expand.entity.references : false
474+ resteasy.unwrapped.exceptions : javax.ejb.EJBException
475475
476476````
477477FilterConfigSource does contain configuration data and notice ServletConfigSource
@@ -499,11 +499,11 @@ curl http://localhost:8080/microprofile-config-four/air/four/lookup/aquarium
499499
500500Ordinal Name
501501400 SysPropConfigSource
502- aquarium : Tropical Pets
502+ aquarium : Tropical Pets
503503300 EnvConfigSource
504- aquarium : tank equipment
504+ aquarium : tank equipment
50550550 null:airFilter: FilterConfigSource
506- aquarium : fish-filter
506+ aquarium : fish-filter
507507````
508508SUCCESS!! "Tropical Pets" is in SysPropConfigSource.
509509"tank equipment" in EnvConfigSource and the initial value, "fish-filter"
0 commit comments