Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions content/posts/2020-07-14-blog-microprofile-config-outOfBox.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ curl http://localhost:8080/microprofile-config-one/one/report

Ordinal Name
60 null:org.jboss.rest.config.one.ServiceActivator:ServletConfigSource
resteasy.servlet.mapping.prefix : /
javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
resteasy.servlet.mapping.prefix : /
javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
50 null:null:FilterConfigSource
no entries
no entries
40 null:ServletContextConfigSource
resteasy.preferJacksonOverJsonB : false
resteasy.scanned.resources : org.jboss.rest.config.one.DemoResource
resteasy.document.expand.entity.references : false
resteasy.unwrapped.exceptions : javax.ejb.EJBException
resteasy.preferJacksonOverJsonB : false
resteasy.scanned.resources : org.jboss.rest.config.one.DemoResource
resteasy.document.expand.entity.references : false
resteasy.unwrapped.exceptions : javax.ejb.EJBException
````
This is the minimum set of configuration data RESTEasy requires. All the properties
which start with "resteasy." are [RESTEasy configuration switches](https://docs.jboss.org/resteasy/docs/3.12.1.Final/userguide/html/Installation_Configuration.html#configuration_switches).
Expand Down Expand Up @@ -281,9 +281,9 @@ curl http://localhost:8080/microprofile-config-one/one/lookup/resteasy.preferJac

Ordinal Name
400 SysPropConfigSource
resteasy.preferJacksonOverJsonB : TRUE
resteasy.preferJacksonOverJsonB : TRUE
40 null:ServletContextConfigSource
resteasy.preferJacksonOverJsonB : TRUE
resteasy.preferJacksonOverJsonB : TRUE
````
Hmmm. The property in SysPropConfigSource is expected.
The value of resteasy.preferJacksonOverJsonB in ServletContextConfigSource is
Expand Down Expand Up @@ -336,9 +336,9 @@ curl http://localhost:8080/microprofile-config-two/two/lookup/resteasy.preferJac

Ordinal Name
100 PropertiesConfigSource[source=vfs:/content/microprofile-config-two.war/WEB-INF/classes/META-INF/microprofile-config.properties]
resteasy.preferJacksonOverJsonB : TruE
resteasy.preferJacksonOverJsonB : TruE
40 null:ServletContextConfigSource
resteasy.preferJacksonOverJsonB : false
resteasy.preferJacksonOverJsonB : false

````

Expand Down Expand Up @@ -424,18 +424,18 @@ curl http://localhost:8080/microprofile-config-four/four/report

Ordinal Name
60 null:DemoFour:ServletConfigSource
javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
53 PropertiesConfigSource[source=vfs:/content/microprofile-config-four.war/WEB-INF/classes/META-INF/microprofile-config.properties]
config_ordinal : 53
farewell-phrase : that's all folks
config_ordinal : 53
farewell-phrase : that's all folks
50 null:null:FilterConfigSource
no entries
no entries
40 null:ServletContextConfigSource
resteasy.preferJacksonOverJsonB : false
month : June
courts : legal-courts
resteasy.document.expand.entity.references : false
resteasy.unwrapped.exceptions : javax.ejb.EJBException
resteasy.preferJacksonOverJsonB : false
month : June
courts : legal-courts
resteasy.document.expand.entity.references : false
resteasy.unwrapped.exceptions : javax.ejb.EJBException

-- Thanks for asking --
````
Expand All @@ -458,20 +458,20 @@ curl http://localhost:8080/microprofile-config-four/air/four/report

Ordinal Name
60 null:DemoFour:ServletConfigSource
no entries
no entries
53 PropertiesConfigSource[source=vfs:/content/microprofile-config-four.war/WEB-INF/classes/META-INF/microprofile-config.properties]
config_ordinal : 53
farewell-phrase : that's all folks
config_ordinal : 53
farewell-phrase : that's all folks
50 null:null:FilterConfigSource
resteasy.servlet.mapping.prefix : /air
javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
aquarium : fish-filter
resteasy.servlet.mapping.prefix : /air
javax.ws.rs.Application : org.jboss.rest.config.one.ServiceActivator
aquarium : fish-filter
40 null:ServletContextConfigSource
resteasy.preferJacksonOverJsonB : false
month : June
courts : legal-courts
resteasy.document.expand.entity.references : false
resteasy.unwrapped.exceptions : javax.ejb.EJBException
resteasy.preferJacksonOverJsonB : false
month : June
courts : legal-courts
resteasy.document.expand.entity.references : false
resteasy.unwrapped.exceptions : javax.ejb.EJBException

````
FilterConfigSource does contain configuration data and notice ServletConfigSource
Expand Down Expand Up @@ -499,11 +499,11 @@ curl http://localhost:8080/microprofile-config-four/air/four/lookup/aquarium

Ordinal Name
400 SysPropConfigSource
aquarium : Tropical Pets
aquarium : Tropical Pets
300 EnvConfigSource
aquarium : tank equipment
aquarium : tank equipment
50 null:airFilter:FilterConfigSource
aquarium : fish-filter
aquarium : fish-filter
````
SUCCESS!! "Tropical Pets" is in SysPropConfigSource.
"tank equipment" in EnvConfigSource and the initial value, "fish-filter"
Expand Down
4 changes: 2 additions & 2 deletions content/posts/2023-09-12-resteasy-grpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ If everything goes fine, we have a provisioned WildFly server installed:
```bash
weli@ovpn-12-142:~/w/g/wildfly
➤ ls
LICENSE.txt appclient copyright.txt domain modules welcome-content
README.txt bin docs jboss-modules.jar standalone
LICENSE.txt appclient copyright.txt domain modules welcome-content
README.txt bin docs jboss-modules.jar standalone
```

Now we can start this provisioned WildFly server with the following command:
Expand Down
2 changes: 1 addition & 1 deletion content/posts/2025-02-14-resteasy-grpc-collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ work in the javabuf world:
Alternatively, one could create an `ArrayList` and translate it to an `java_util___ArrayList16`:
```java
ArrayList<Integer> list = new ArrayList<Integer>();
list.add(3);
list.add(3);
list.add(7);
GenericType<java.util.ArrayList<java.lang.Integer>> type = new GenericType<java.util.ArrayList<java.lang.Integer>>() { };
java_util___ArrayList16 jua = (java_util___ArrayList16) translator.translateToJavabuf(list, type);
Expand Down
219 changes: 0 additions & 219 deletions public/css/clearspace_common.css

This file was deleted.

Loading