
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@corva/node-scheduled-stream-lambda
Advanced tools
Generic lambda class for constructing scheduled stream data apps.
Scheduled stream lambda class for constructing data apps that run on schedule and handle streams.
npm i @corva/node-scheduled-stream-lambda
const ScheduledStreamLambda = require('@corva/node-scheduled-stream-lambda');
// you may need api client and other libs
const { ApiClient } = require('@corva/node-api-client');
const apiClient = new ApiClient();
const lambda = new ScheduledStreamLambda({
apiClient,
process: async ({ event, context }) => {
const result = event.a + event.b;
return result;
},
});
Scheduled stream event could look like this:
const event = [
[
{
type: 'data_app',
collection: 'activity-groups',
cron_string: '*/5 * * * *',
environment: 'qa',
app: 1,
app_key: 'corva.activity-group',
app_version: '0.0.1',
app_connection: 12345,
source_type: 'drilling',
company: 1,
provider: 'corva',
api_url: 'https://some-url',
api_key: 'activity-group-key',
schedule: 116027101,
interval: 300,
schedule_start: 1575970800000,
schedule_end: 1575971100000,
asset_id: 1,
asset_name: 'My Asset',
asset_type: 'Well',
timezone: 'America/Chicago',
},
{
type: 'data_app',
collection: 'activity-groups',
cron_string: '*/5 * * * *',
environment: 'qa',
app: 1,
app_key: 'corva.activity-group',
app_version: '0.0.1',
app_connection: 12345,
source_type: 'drilling',
company: 1,
provider: 'corva',
api_url: 'https://some-url',
api_key: 'activity-group-key',
schedule: 116027102,
interval: 300,
schedule_start: 1575971100000,
schedule_end: 1575971400000,
asset_id: 1,
asset_name: 'My Asset',
asset_type: 'Well',
timezone: 'America/Chicago',
}
]
];
FAQs
Generic lambda class for constructing scheduled stream data apps.
The npm package @corva/node-scheduled-stream-lambda receives a total of 0 weekly downloads. As such, @corva/node-scheduled-stream-lambda popularity was classified as not popular.
We found that @corva/node-scheduled-stream-lambda demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
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.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.