mulesoft / docs-mule-runtime

BSD 3-Clause "New" or "Revised" License
20 stars 183 forks source link

No example project, dead links everywhere #2646

Open Miladiir opened 5 months ago

Miladiir commented 5 months ago

https://github.com/mulesoft/docs-mule-runtime/blob/2d0c4f59a037e5c36fbf41920d92d7df5fccd78c/modules/ROOT/pages/cache-scope.adoc contains a reference to Cache Scope with Salesforce Contacts. The project does not exist in anypoint exchange.

Instead or additionally, there exists a project Cache Scope with Fibonacci. The project contains an invalid file structure and cannot be checked out in the latest Anypoint Studio. https://eu1.anypoint.mulesoft.com/exchange/org.mule.examples/cache-scope-with-fibonacci/minor/1.4/

At the bottom of the page is a link to https://github.com/mulesoft/library-examples/blob/v1.4.0/cache-scope-with-fibonacci/README.md. Not even the repository exists anymore, let alone any project files.

dukesphere commented 5 months ago

@Miladiir Thx for your feedback. The Cache scope doc you are referencing is published here: https://docs.mulesoft.com/mule-runtime/latest/cache-scope

Miladiir commented 5 months ago

The documentation is very light on specifics. This does not tell me how the default strategy works. In a scenario where I have four actions within a cache scope, what does the cache scope do exactly. Does it store each indidual result, or does in only store the input and output of the first and last action in the scope? Alternatively, I could think of another scenario, where it will consider the input payload that is referenced in the first action and use the hash of this payload as a key and it will consider the output payload of the last action and cache that as the result.

So without trying this out with 3-4 scenarios, including vars, transfomers, http request etc, I simply do not know how the cache behaves. This will probably take like 1-2 hours.