
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
github.com/alfonsocebollero/asyncreply-requestapi
This project runs a cadence worker in parallel with a gin-gonic server to implement an async Reply-Request API.
It is thought to have a local instance of cadence running locally which can be easily accomplished following these instructions. This set up does not provide persintance when deleted, but it can be easily added by docker volume means.
Inside resources folder, a configuration file can be found with the following content:
env: "development"
cadence:
domain: "test-domain"
service: "cadence-frontend"
hostPort: "host.docker.internal:7933"
serverBaseURL: "http://localhost:8080"
workflows:
waitingwf: "WaitingWorkflow"
If the app is wanted to be run with docker, no modifications are needed, in case it is run directly with go, the hostPort must be changed to "127.0.0.1:7933". Both options are thought to be deployed in a local environment where a cadence instance is already running.
There is also the domain entry, which value can be changed to any other existing domain within cadence. The workflows will be created inside this domain.
A workflows map, which contains all the available workflows inside the application, is included, so, when a new workflow is added, this value must be updated as well.
>> docker build -t asyncapi .
>> docker run -p 8080:8080 -d --name AsyncAPI asyncapi
The implemented worker only counts with one workflow, which is designed to simulate long async tasks that are in charge of the worker. When accessing to the local cadence web instance the created workflows can be seen:
Its results are also available, this workflow has an activity that is performed after the waiting time that just returns "Completed!".
The endpoints documentation can be found in the app swagger, which is available in: http://localhost:8080/swagger/index.html
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.