Aem Stubs Versions Save

Tool for providing sample data for AEM applications in a simple and flexible way. Stubbing server on AEM, no separate needed.

3.0.2

1 year ago

moco supported recovered (on demand)

3.0.0

1 year ago
  • fixes #55 by #56 thanks to @royteeuwen
  • dropped support for Moco (seems to be not used, contact if needed)

2.1.0

3 years ago

What's new

Sends CORS headers with responses (#48)

Upgrade notes

In case CORS headers are configured in your mocks, you can remove them. Headers will be added by default in AEM Stubs

Contributions

None.

2.0.2

3 years ago

2.0.2-beta2

3 years ago

2.0.2-beta

3 years ago

2.0.1

3 years ago

What's new

Java 8 support recovered

Upgrade notes

Nothing to do.

Contributions

None.

2.0.0

3 years ago

What's new

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.

Wiremock

Moco

  • Fix #34

Upgrade notes

Wiremock

  • Handlebars is now the default template engine. If have already mocks defined with Pebble you would need to change the WireMock Stubs Configuration and select PEBBLE as Global Template Transformer

Contributions

  • @pun-ky
  • @marcinkp
  • @royteeuwen

1.0.4

3 years ago

What's new

Fixed #28

Upgrade notes

Nothing to do.

Contributions

None.

1.0.3

3 years ago

What's new

Secure by default

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.

Upgrade notes

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.

Contributions

None.