@deploybaseline/servicenow
v0.14.0
Published
ServiceNow emulator for Baseline: the Table API with encoded queries, dot-walked fields, display values, and paging headers; incident, change request, and problem state rules; users, groups, and roles with ACL checks; custom `u_` tables from seed config;
Readme
@deploybaseline/servicenow
ServiceNow emulator for Baseline: the Table API with encoded queries, dot-walked fields, display values, and paging headers; incident, change request, and problem state rules; users, groups, and roles with ACL checks; custom u_ tables from seed config; the Attachment and Aggregate APIs; and Basic auth and OAuth at /oauth_token.do.
Part of Baseline: local drop-in replacement services for CI and no-network sandboxes.
Usage
npx @deploybaseline/cli start --service servicenowimport { createEmulator } from "@deploybaseline/cli";
const servicenow = await createEmulator({ service: "servicenow" });
// Point your client at servicenow.url
await servicenow.close();ServiceNow has no widely used official Node SDK, so point your HTTP client at servicenow.url in place of https://<instance>.service-now.com. Every instance has the user admin with password admin.
Documentation
- ServiceNow docs: the Table API, encoded query syntax, business rules, access, OAuth, seed config, and what is not emulated
- API reference:
http://localhost:3999/docs/servicenowwhile the CLI runs (how it works)
License
Apache-2.0
