Package com.couchace.core.api

Examples of com.couchace.core.api.CouchServer


            File moduleDir = IOUtil.findDirNear(IOUtil.currentDir(), "couchace-all");
            File keystoreFile = new File(moduleDir, "src/test/resources/couch-test.jks");
            couchSetup.ssl(keystoreFile.getAbsolutePath(), TestSetup.storePass);
        }

        CouchServer couchServer = new CouchServer(couchSetup);
        couchDatabase = couchServer.database(TestSetup.databaseName);

        byte[] imageBytes = TestSetup.singleton().getImageBytes();
        personEntityOne = new PersonEntity(eventBus, logger, documentOneId, null, "OPEN", "Fish", "Farmer", attachmentHtml, imageBytes, addressEntityRef);
        personEntityTwo = new PersonEntity(eventBus, logger, documentTwoId, null, "OPEN", "Elephant", "Farmer", attachmentHtml, imageBytes, addressEntityRef);
        personEntityThree = new PersonEntity(eventBus, logger, documentThreeId, null, "CLOSED", "Duck", "Hunter", attachmentHtml, imageBytes, addressEntityRef);
View Full Code Here

TOP

Related Classes of com.couchace.core.api.CouchServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.