

#SCRIPTABLE JAVASCRIPT CODE#
Scriptable takes care of queuing and running this code securely for you on our multi-tenant cloud runtime, with fast response times across many regions around the globe. var bean new SomeBean () ' + 'bean.nomen 'John Doe' ' + 'bean.nomen2 bean.nomen + ' is cool' The output shows the get and put being called the key and value being added and accessed from the HashMap 'values'. If you are a provider of a SaaS ecosystem, Scriptable allows you to accept JavaScript code directly from your ecosystem developers that you can execute in response to events or to automate workflows. In Rhino, using javascript i can access the keys in underlying HashMap as the bean's properties. On top of that, the webhooks model requires the receiving service to be exposed directly on the public internet, which creates security concerns at many levels of the stack, like authenticating the source and the payload of the webhooks that the service receives. What's more, fan-ing out calls to many different endpoints can put strain on DNS and connection pooling infrastructure, which causes performance and scalability to suffer.įor ecosystem developers, receiving webhooks requires developing and deploying services to accept HTTP traffic, including all the automation and monitoring that comes with operating a service.

In particular, we believe that Scriptable can significantly reduce the operational complexity and effort that needs to be invested on both sides to maintain the infrastructure required to reliably and performantly send and receive webhooks.įor ecosystem providers, delivering webhooks requires infrastructure to sequence, queue and retry webhook invocations, as well as the security infrastructure to prevent attack vectors like SSRF or vulnerabilities HTTP client libraries. We believe that with Scriptable, we can offer an alternative that is better for everyone, both the SaaS companies providing ecosystems as well as the companies and single developers building on top of those ecosystems. They are well understood by developers and can provide large amounts of flexibility in an ecosystem. Webhooks are ubiquitous in the world of SaaS developer ecosystems.
