The GitHub Actions job "Code Style" on 
grails-core.git/feature/mongodb-embedded-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
777785ac28847c2495a3efd1f38254c21e8afdfb / Scott Murphy Heiberg 
<[email protected]>
Start an embedded MongoDB so generated apps run without one installed

A Forge application with MongoDB selected fails on startup unless a MongoDB
happens to be listening on the configured url, because nothing starts one.

Add grails-data-mongodb-embedded, an ApplicationContextInitializer that starts
a server before Grails Data connects and publishes its url into the properties
the application reads. It runs before the context refreshes because the url has
to exist before the datastore bean that reads it is created.

Two backends sit behind one interface. mongo-java-server reimplements the wire
protocol in Java, starts in milliseconds and downloads nothing, so it is the
default and ships with the module. Flapdoodle runs a real mongod, so it is the
only backend that supports transactions, change streams and persistence; it is
compileOnly here and added by applications that want it, because it pulls in
jgrapht under LGPL-2.1 or EPL-2.0 which an Apache release should not require.

Forge now wires this into the MongoDB feature by default, with the in-memory
backend for development and test and flapdoodle for production, where the
database is kept in ./prodDb. The generated application carries no source for
this, only configuration, in the same way the H2 database is wired.

mongo-java-server declares only "The BSD License", which CycloneDX maps to
BSD-4-Clause. Its LICENSE has three numbered clauses and no advertising clause,
so map it to BSD-3-Clause alongside the org.jline entries that need the same
correction.

Report URL: https://github.com/apache/grails-core/actions/runs/30961105242

With regards,
GitHub Actions via GitBox

Reply via email to