Tool for providing sample data for AEM applications in a simple and flexible way. Stubbing server on AEM, no separate needed.
moco supported recovered (on demand)
Sends CORS headers with responses (#48)
In case CORS headers are configured in your mocks, you can remove them. Headers will be added by default in AEM Stubs
None.
Java 8 support recovered
Nothing to do.
None.
Warning! 2.0.0 is only JDK11 compatible. JDK8 support is recovered in 2.0.1
This version introduces much better compatibility with Wiremock so that copying stub samples from the official Wiremock documentation will more probably work without any code changes. What is more, now there are also supported stateful stubs which could be helpful to mock full user login scenarios.
Fixed #28
Nothing to do.
None.
Stub scripts may use resourceResolver
variable to access the AEM repository. Since now, only paths under /conf/stubs
are accessible using this variable and only in read-only mode.
As of default stubs storage root changed from /var/stubs
to /conf/stubs
, it is recommended to update existing stubs to be stored at the updated path. Simply rename /var/stubs/wiremock/${appName}
to /conf/stubs/wiremock/${appName}
and remember to update also Vault workspace filter.
The alternative option, but less recommended it to keep storing stubs under /var/stubs
root, but OSGi config for AEM Stubs Manager OSGi service needs to be provided manually.
None.