View gist:b4cbe8124e6a7eb53b3f925b807eda2f
version: '3'
services:
db:
image: timescale/timescaledb
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
View Prom.java
@Path("/prometheus")
public class SimplePrometheusEndpoint {
{
// Initialize the default metrics for the hotspot VM
DefaultExports.initialize();
}
@GET
View gist:cc9c57f053b84a779fcbee5081d11936
# HELP jvm_memory_bytes_used Used bytes of a given JVM memory area.
# TYPE jvm_memory_bytes_used gauge
jvm_memory_bytes_used{area="heap",} 9.68209248E8
jvm_memory_bytes_used{area="nonheap",} 1.02302352E8
# HELP jvm_memory_bytes_committed Committed (bytes) of a given JVM memory area.
# TYPE jvm_memory_bytes_committed gauge
jvm_memory_bytes_committed{area="heap",} 1.42606336E9
jvm_memory_bytes_committed{area="nonheap",} 1.12787456E8
# HELP jvm_memory_bytes_max Max (bytes) of a given JVM memory area.
# TYPE jvm_memory_bytes_max gauge
View code_structure.md

One option:

... // somewhere inside a method...
final ApnsClient apnsClient;
{
  try {
    apnsClient = receiveApnsConnection(...);
  } catch (IllegalArgumentException iae) {
    logger.error(iae.getMessage(), iae);
View gist:c9c2b7cd457a1af84ec0a7027bdfa443
Feb 05, 2018 9:34:42 AM org.wildfly.swarm.container.runtime.ServerBootstrapImpl logFraction
INFO: WFSWARM0013: Installed fraction: Logging - STABLE org.wildfly.swarm:logging:2018.1.0
Feb 05, 2018 9:34:42 AM org.wildfly.swarm.container.runtime.ServerBootstrapImpl logFraction
INFO: WFSWARM0013: Installed fraction: JAX-RS with JAXB - STABLE org.wildfly.swarm:jaxrs-jaxb:2018.1.0
Feb 05, 2018 9:34:42 AM org.wildfly.swarm.container.runtime.ServerBootstrapImpl logFraction
INFO: WFSWARM0013: Installed fraction: JAX-RS with JSON-P - STABLE org.wildfly.swarm:jaxrs-jsonp:2018.1.0
Feb 05, 2018 9:34:42 AM org.wildfly.swarm.container.runtime.ServerBootstrapImpl logFraction
INFO: WFSWARM0013: Installed fraction: Bean Validation - STABLE org.wildfly.swarm:bean-validation:2018.1.0
Feb 05, 2018 9:34:42 AM org.wildfly.swarm.container.runtime.ServerBootstrapImpl logFraction
INFO: WFSWARM0013: Installed fraction: Elytron - STABLE
View error.md

IllegalStateException: The LogManager was not properly installed

Hi,

with a vanialla project, generated from the website (just adding MicroProfile fraction), I am getting the The LogManager was not properly installed IllegalStateException, when deploying to Openshift using fmp.

Here is the entire log, from the pod - pom.xml afterwards;

View gist:a91a371afb4cf30330a16bf7fbfbdf06
INFO: WELD-ENV-002003: Weld SE container internal initialized
java.lang.ExceptionInInitializerError
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:316)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:329)
at org.apache.commons.configuration.SystemConfiguration.<clinit>(SystemConfiguration.java:35)
at com.netflix.config.ConfigurationManager.createDefaultConfigInstance(ConfigurationManager.java:146)
at com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:161)
at com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:176)
at com.netflix.config.ConfigurationBasedDeploymentContext.<init>(ConfigurationBasedDeploymentContext.java:108)
at com.netflix.config.ConfigurationManager.<clinit>(ConfigurationManager.java:104)
View ups_gsoc.md

UPS modularization with WildFly Swarm.

The AeroGear UPS Server is a classical Java EE application, with different features:

  • Push Notification Delivery (iOS, Android, Windows)
  • Simple Metrics
  • Restful APIs (push delivery, device registration and metadata updates)
  • Angular UI

The goal of the project is to move the server to the latest WildFly Swarm technology, as well as breaking the different parts of the server into smaller Swarm applications, to allow a better horizontal scalability. The communication between the different WF Swarm modules should be done w/ messaging, for instance leveraging the GSoC 2017 work on integration Apache Kafka.

View oc_cluster_up_options.md
Usage:
  oc cluster up [options]

Examples:
  # Start OpenShift on a new docker machine named 'openshift'
  oc cluster up --create-machine
  
  # Start OpenShift using a specific public host name
  oc cluster up --public-hostname=my.address.example.com
View asb.yml
apiVersion: v1
kind: Template
metadata:
name: ansible-service-broker
objects:
- apiVersion: v1
kind: Service
metadata:
name: asb
labels: