Package org.sonatype.nexus.test.utils

Examples of org.sonatype.nexus.test.utils.RepositoryMessageUtil.updateStatus()


    // unblock it manually
    // NEXUS-4410: since this issue is implemented, the lines below are not enough,
    // since NFC will still contain the artifact do be downloaded, so we need to make it manually blocked and then allow proxy
    // those steps DOES clean NFC
    status.setProxyMode(ProxyMode.BLOCKED_MANUAL.name());
    util.updateStatus(status);
    status.setProxyMode(ProxyMode.ALLOW.name());
    util.updateStatus(status);

    // and now, all should go well
    downloadArtifact(getNexusTestRepoUrl(),
View Full Code Here


    // since NFC will still contain the artifact do be downloaded, so we need to make it manually blocked and then allow proxy
    // those steps DOES clean NFC
    status.setProxyMode(ProxyMode.BLOCKED_MANUAL.name());
    util.updateStatus(status);
    status.setProxyMode(ProxyMode.ALLOW.name());
    util.updateStatus(status);

    // and now, all should go well
    downloadArtifact(getNexusTestRepoUrl(),
        "nexus1111", "artifact", "1.1", "jar", null, "target/downloads");
  }
View Full Code Here

    RepositoryMessageUtil repoUtil =
        new RepositoryMessageUtil(this.getXMLXStream(), MediaType.APPLICATION_XML);

    RepositoryStatusResource repo = repoUtil.getStatus("release-proxy-repo-1");
    repo.setProxyMode(ProxyMode.BLOCKED_AUTO.name());
    repoUtil.updateStatus(repo);

    TaskScheduleUtil.waitForAllTasksToStop();
    getEventInspectorsUtil().waitForCalmPeriod();

    SyndFeed systemFeed = FeedUtil.getFeed("systemChanges");
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.