Examples of PublisherConfig


Examples of com.dotcms.publishing.PublisherConfig

    //Save the endpoint.
    publisherEndPointAPI.saveEndPoint( receivingFromEndpoint );

    //Find the bundle
    Bundle bundle = APILocator.getBundleAPI().getBundleById( bundleId );
    PublisherConfig basicConfig = new PublisherConfig();
    basicConfig.setId( bundleId );
    File bundleRoot = BundlerUtil.getBundleRoot( basicConfig );
    File bundleFile = new File( bundleRoot + File.separator + ".." + File.separator + bundle.getId() + ".tar.gz" );
   
    //lets wait one minute
    Thread.sleep( 60000 );
View Full Code Here

Examples of com.dotcms.publishing.PublisherConfig

    /*
     * Find the bundle
     */
    Bundle bundle = APILocator.getBundleAPI().getBundleById( bundleId );
    PublisherConfig basicConfig = new PublisherConfig();
    basicConfig.setId( bundleId );
    File bundleRoot = BundlerUtil.getBundleRoot( basicConfig );
    File bundleFile = new File( bundleRoot + File.separator + ".." + File.separator + bundle.getId() + ".tar.gz" );
    assertTrue( bundleFile.exists() );

    /*
 
View Full Code Here

Examples of com.dotcms.publishing.PublisherConfig

    /*
     * Find the bundle
     */
    Bundle bundle = APILocator.getBundleAPI().getBundleById( bundleId );
    PublisherConfig basicConfig = new PublisherConfig();
    basicConfig.setId( bundleId );
    File bundleRoot = BundlerUtil.getBundleRoot( basicConfig );
    File bundleFile = new File( bundleRoot + File.separator + ".." + File.separator + bundle.getId() + ".tar.gz" );
    assertTrue( bundleFile.exists() );

    /*
 
View Full Code Here

Examples of com.dotcms.publishing.PublisherConfig

    public void run() {
      //Configure and Invoke the Publisher
      Logger.info(PublishThread.class, "Started bundle publish process");
    PushPublishLogger.log(PublishThread.class, "Started bundle publish process", bundleName);

    PublisherConfig pconf = new PublisherConfig();
    BundlePublisher bundlePublisher = new BundlePublisher();
    pconf.setId(bundleName);
    pconf.setEndpoint(endpointId);
    pconf.setGroupId(groupId);
    try {
      bundlePublisher.init(pconf);
      bundlePublisher.process(null);
    } catch (DotPublishingException e) {
      Logger.error("Failed to publish because an error occurred: ", e.getMessage());
View Full Code Here

Examples of org.jfrog.gradle.plugin.artifactory.dsl.PublisherConfig

        ArtifactoryPluginConvention convention = ArtifactoryPluginUtil.getArtifactoryConvention(project);
        ArtifactoryClientConfiguration acc = convention.getClientConfig();
        artifactSpecs.addAll(acc.publisher.getArtifactSpecs());

        //Configure the task using the defaults closure (delegate to the task)
        PublisherConfig config = convention.getPublisherConfig();
        if (config != null) {
            Closure defaultsClosure = config.getDefaultsClosure();
            ConfigureUtil.configure(defaultsClosure, this);
        }

        //Depend on buildInfo task in sub-projects
        for (Project sub : project.getSubprojects()) {
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.