import executeIntegration from './integration/execution/executeIntegration'; import executeIntegrationEnd from './integration/execution/executeIntegrationEnd'; import executeIntegrationFailure from './integration/execution/executeIntegrationFailure'; import executeIntegrationStep from './integration/execution/executeIntegrationStep'; import executeIntegrationStepInECS from './integration/execution/executeIntegrationStepInECS'; import initializeEventContext from './integration/execution/initializeEventContext'; /** * The SDK provides a type system and execution environment for JupiterOne * managed integrations. * * The SDK is webpacked into two entry points. * * `index.ts` is referenced by integration code. It provides a version of the * SDK that includes `jupiter-persister` for local development in the simplest * way possible for open source developers (single process, no Kinesis, fast). * Logging and job event delivery are modified for local execution. * * `lambda.ts` does not include `jupiter-persister`. Operations are delivered to * Kinesis, logging is configured for production, and job events are delivered * over the network. * * NOTE: `lambda.ts` has evolved to include support for execution in ECS * containers, so that it would be better now to name it `managed.ts` or the * like. * * Deployment projects will ensure that the `lambda.ts` entry point is utilized * in place of the `index.ts` entry point. It is important that only one entry * point is loaded into Node memory to ensure that classes and other constants * referenced by the integration code are the same actual instances as those * referenced by the execution functions provided by this entry point. */ import { endHandler, failureHandler, stepHandler, triggerHandler } from './integration/lambda/stateHandlers'; import { IntegrationStateMachineInvocationEvent } from './integration/types'; export { triggerHandler, stepHandler, failureHandler, endHandler, executeIntegration, executeIntegrationStep, executeIntegrationStepInECS, executeIntegrationEnd, executeIntegrationFailure, initializeEventContext, IntegrationStateMachineInvocationEvent }; export * from './common';