2023-05-09 01:19:17 +00:00
|
|
|
import { ContextFactory, FileStorage, logger } from "@certd/pipeline";
|
2022-11-08 14:10:42 +00:00
|
|
|
import { AccessServiceTest } from "./access-service-test";
|
|
|
|
|
|
|
|
const contextFactory = new ContextFactory(new FileStorage());
|
|
|
|
|
|
|
|
const userContext = contextFactory.getContext("user", "test");
|
|
|
|
const pipelineContext = contextFactory.getContext("pipeline", "test");
|
|
|
|
export const pluginInitProps = {
|
|
|
|
accessService: new AccessServiceTest(),
|
|
|
|
pipelineContext: pipelineContext,
|
|
|
|
userContext: userContext,
|
|
|
|
logger: logger,
|
|
|
|
};
|