@Before public void setUp() { RaptureConfig.setLoadYaml(false); Kernel.initBootstrap(); this.repo = new RepoApiImpl(Kernel.INSTANCE); this.callingContext = new CallingContext(); this.callingContext.setUser("dummy"); Kernel.INSTANCE.clearRepoCache(false); }
@Before public void setup() { Kernel.INSTANCE.restart(); Kernel.initBootstrap(); if (!Kernel.getBlob().blobRepoExists(ctx, "//blobapitestrepo")) { Kernel.getBlob() .createBlobRepo( ctx, "//blobapitestrepo", "BLOB {} USING MEMORY {}", "REP {} USING MEMORY {}"); } }
@Before public void init() { Kernel.initBootstrap(); ensureRepo(REPO); }