Examples of updateRepository()


Examples of eu.admire.registry.ogsadai.rdfactivity.server.update.UpdateRepository.updateRepository()

    public void testUpdateTuple() throws IOException
    {
        UpdateRepository ur = new UpdateRepository();
        Store store = SDBFactory
                .connectStore("D:/Proyectos/ADMIRE/develop/server-8081/webapps/dai/WEB-INF/etc/dai/rdf/ADMIRE-registry-v3.ttl");
        ur.updateRepository(rdfData, store);
    }

}
View Full Code Here

Examples of eu.admire.registry.ogsadai.rdfactivity.server.update.UpdateRepository.updateRepository()

        + "String" + DELIMITER + "END_TUPLE_ELEMENT" + DELIMITER
        + "true" + DELIMITER + "END_TUPLE" + DELIMITER + "END_STYPE";
   
    UpdateRepository ur = new UpdateRepository();
    Store store = SDBFactory.connectStore("D:/Proyectos/ADMIRE/develop/server-8081/webapps/dai/WEB-INF/etc/dai/rdf/ADMIRE-registry-v3.ttl");
    ur.updateRepository(rdfData, store);

//    BlockReader input1 = new LiteralBlockReader(new SimpleLiteral(ouputPE));
//    MockOutputPipe output = new MockOutputPipe(new Object[] {});
//
//    mActivity.addInput("PEData", input1);
View Full Code Here

Examples of org.apache.felix.obr.plugin.ObrUpdate.updateRepository()

            Config userConfig = new Config();

            update = new ObrUpdate( repositoryXml, obrXmlFile, project, bundleJar, mavenRepository, userConfig, log );

            update.updateRepository();
        }
        catch ( Exception e )
        {
            log.warn( "Exception while updating local OBR: " + e.getLocalizedMessage(), e );
        }
View Full Code Here

Examples of org.apache.stratos.manager.repository.RepositoryNotification.updateRepository()

    static void getGitRepositoryNotification(Payload payload) throws RestAPIException {
        try {

            RepositoryNotification repoNotification = new RepositoryNotification();
            repoNotification.updateRepository(payload.getRepository().getUrl());

        } catch (Exception e) {
            String msg = "Failed to get git repository notifications. Cause : " + e.getMessage();
            log.error(msg, e);
            throw new RestAPIException(msg, e);
View Full Code Here

Examples of org.apache.stratos.manager.repository.RepositoryNotification.updateRepository()

    }
   
    static StratosAdminResponse synchronizeRepository(CartridgeSubscription cartridgeSubscription) throws RestAPIException {
        try {
            RepositoryNotification repoNotification = new RepositoryNotification();
            repoNotification.updateRepository(cartridgeSubscription);
        } catch (Exception e) {
            String msg = "Failed to get git repository notifications. Cause : " + e.getMessage();
            log.error(msg, e);
            throw new RestAPIException(msg, e);
        }
View Full Code Here

Examples of org.guvnor.structure.repositories.RepositoryService.updateRepository()

        Repository repo = repositoryService.getRepository(repository);
       
        Map<String, Object> config = new HashMap<String, Object>();
        config.put("branch", branchToUpdate + "-" + version);
       
        repo = repositoryService.updateRepository(repo, config);
        logger.debug("Updated repository " + repo);
 
        // update all pom.xml files of projects on the dev branch       
        Set<Project> projects = getProjects(repo, ioService, projectService);
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.