aem-stubs icon indicating copy to clipboard operation
aem-stubs copied to clipboard

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

Results 8 aem-stubs issues
Sort by recently updated
recently updated
newest added

It is not possible to donwload AEM-STUB artifacts via the public maven repository because of forbidden error https://dl.bintray.com/cognifide/maven-public/com/cognifide/aem/stubs/wiremock-all/2.1.0/wiremock-all-2.1.0.zip It is required to be able to deploy the packages on AEMaaCS...

https://github.com/wttech/aem-stubs/blob/d1935aa4c431d31769f532d3f949739c07c55340/wiremock/src/main/java/com/cognifide/aem/stubs/wiremock/transformers/PebbleTransformer.java#L97 Wiremock does not require the `headers` section for the request/response sections. Please consider some reasonable defaults when header section is not present. ```json { "mappings": [ { "request": {...

help wanted

I'm unable to create a stub that returns PDF file. Templating: PEEBLE Stub: ```json { "mappings": [ { "request": { "method": "GET", "url": "/my-document-pdf", "headers": { "Content-Type": "application/pdf" } },...

bug
help wanted

For given stub definition ``` stubFor(get("/image") .willReturn(aResponse() .withBodyFile("samples/logo.png") .withHeader("Content-Type", "image/png"))) ``` The image isn't returned properly

bug
help wanted

`.withFixedDelay(2000)` would be nice to simulate heavier operations to be able to stub some API while displaying progress indicator in UI

enhancement

Consider integrating library like https://github.com/DiUS/java-faker and exposing it in stub scripts as variable `faker` for easy generation stubs with fake data looking like the real data.

enhancement

e.g rename /var/stubs/wiremock/samples to /var/stubs/wiremock/examples because "samples" are excluded by default OSGi config of Stub Manager. scripts after rename should be loaded automatically but they are not. this is a...

enhancement