Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@golemio/core
Advanced tools
This module is intended for use with Golemio services.
Install all prerequisites
Install all dependencies using command:
npm install
from the application's root directory.
To compile typescript code into js one-time
npm run build
or run this, to watch all changes
npm run build-watch
from the application's root directory.
In your project's package.json
set dependency to @golemio/core
npm install --save @golemio/core
Then import module, e.g.
import * as core from "@golemio/core";
For the local development use the npx link to link the @golemio/core with other service e.g. @golemio/integration-engine
or module e.g. @golemio/pid
.
At the @golemio/core root directory:
npm run build-watch
At the @golemio/pid root directory:
npx link /path/to/golemio/modules/core
npm run build-watch
At the @golemio/integration-engine root directory:
npx link /path/to/golemio/modules/core
npx link /path/to/golemio/modules/pid
npm run dev-start
Now you can change code and immediately see the results.
To run all test defined in /test directory simply run this command:
npm run test
from the application's root directory. All tests should pass.
Core module defines main exchange in rabbit mq and its name is dependent on .env setting. Also it contains definition of queue for dead messages. All other queues are defined in separate modules and loaded dynamically by QueueProcessor.ts
.
Core module also defines alternate exchange for messages that are unroutable. Name of the exchage is created from name of the main one with suffix -alt
and it contains 1 queue named alt-routes
.
Please read CONTRIBUTING.md
.
Contact vyvoj@operatorict.cz
FAQs
Golemio Core Module
The npm package @golemio/core receives a total of 619 weekly downloads. As such, @golemio/core popularity was classified as not popular.
We found that @golemio/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.