Announcing WildFly Swarm 2017.6.0

WildFly Swarm 2017.6.0

In honor of National Doughnut Day, sink your teeth into the 2017.6.0 release of WildFly Swarm.

What’s New?

  • More YAML less main()

  • Update to WF Camel 4.7.0

What is WildFly Swarm?

WildFly Swarm is the decomposition and reconstitution of the popular WildFly Java Application Server in order to support just enough appserver for microservice type applications.

Each portion of the appserver is referred to as a fraction, which many times maps to a subsystem from WildFly, but also may include other discrete chunks of non-Java EE or WildFly functionality, such as Swagger, or Jolokia.

More YAML less main()

In our continued efforts to remove custom main() usage, we have two further improvements to help.

@Configurable support for Deployments

We’ve now made it possible for @Configurable to be applied to properties within a deployment.

For now we’ve made these changes in the Swagger fraction, but further fractions will come soon. So what do the changes mean?

Instead of needing a custom main() to do:

  archive.setResourcePackages("org.wildfly.swarm.examples.jaxrs.swagger");

it’s now possible to use YAML:

  swarm:
    deployment:
      example-jaxrs-swagger.war:
        swagger:
          packages:
             - org.wildfly.swarm.examples.jaxrs.swagger

The full list of YAML configuration for Swagger can be found here.

Deploy Artifacts by GAV

We can now also deploy artifacts that are dependencies in pom.xml as well:

  swarm:
    deployment:
      net.java.xadisk:xadisk.rar:

In this case the version of the artifact is pulled in from the dependency entry in the pom.xml.

A full example can be found here.

Changelog

Release notes for 2017.6.0 are available here.

Task

  • [SWARM-1371] Never resolve snapshots from JBoss repository (Done)

  • [SWARM-1368] Upgrade to wildfly-camel-4.7.0 (Done)

  • [SWARM-1366] Remove OpenTracing Hawkular Fraction (Done)

  • [SWARM-1365] Review UNSTABLE fractions (Done)

  • [SWARM-1359] Support deploying artifacts via the yaml (Done)

  • [SWARM-1358] Support opentracing-hawkular configuration via YAML (Done)

  • [SWARM-1353] Support @Configurable on methods on EnhancedWhatever classes. (Done)

  • [SWARM-1351] Prefer @Configurable to @ConfigurableAlias if present (Done)

  • [SWARM-1349] Provide for deployment-scoped CDI context (Done)

  • [SWARM-1347] convert the jaxrs/zipkin example from custom main to project-defaults.yml (Done)

  • [SWARM-1313] Replace usage of META-INF/swagger.conf with project-defaults.yaml (Done)

  • [SWARM-1306] Investigate why testsuite-* artifacts are deployed to Maven Central on release (Done)

  • [SWARM-1293] Release 1.1.0 of both config-api projects (Done)

  • [SWARM-1183] Secured REST Booster Updates (Done)

Bug

  • [SWARM-1369] User projects picks up different dependent versions than WF Swarm build (Done)

  • [SWARM-1363] JAX-RS Resources Initialised Erroneously (Done)

  • [SWARM-1345] HTTPS tests fail to execute (Done)

  • [SWARM-1344] Error creating certified bom (Done)

  • [SWARM-1341] Monitoring Fraction overwrites FilterConfigurations from other (custom) fractions (Done)

  • [SWARM-1322] Swarm’s Arquillian container doesn’t enable the @EJB enricher (Done)

  • [SWARM-1311] Duplicate resource will cause Server boot has failed in an unrecoverable manner (Done)

  • [SWARM-1310] NoClassDefFoundError in teiid Driver Auto-detect (Done)

  • [SWARM-1204] EAP quickstart tasks-jsf: one failing test (Done)

  • [SWARM-1144] [Camel-cxf]Can’t add custom cxf interceptor (Done)

  • [SWARM-836] Favicon is not shown correctly (Done)

Feature Request

  • [SWARM-1354] Add FractionDetectMode to Gradle and fix the moduleDirs problem (Done)

Enhancement

  • [SWARM-1330] Swarm fraction file detection isn’t accurate as it should. Doesn’t take whole file path in account (Done)

  • [SWARM-1324] @Configurable zipkin fraction properties (Done)

Sub-task

  • [SWARM-1257] Bring in line with approved Mission definition (Done)

Resources

Per usual, we tend to hang out on irc.freenode.net in #wildfly-swarm.

All bug and feature-tracking is kept in JIRA.

Documentation for this release is available:

Thank you, Contributors!

We appreciate all of our contributors since the last release:

Core

  • SetoKaiba

  • Heiko Braun

  • Thomas Diesler

  • Ken Finnigan

  • Juan G

  • Sven-Torben Janus

  • Martin Kouba

  • Bob McWhirter

  • Kylin Soong

  • MichaƂ Szynkiewicz

  • Ladislav Thon

Examples

  • Ken Finnigan

  • Bob McWhirter

  • Ladislav Thon

UserGuide

  • Heiko Braun

  • Ken Finnigan

  • Bob McWhirter

  • Marc Savy

HowTo

  • Ken Finnigan

  • Bob McWhirter