Package org.netmelody.cieye.core.domain

Examples of org.netmelody.cieye.core.domain.TargetId


    public TargetDigestGroup targetsConstituting(Feature feature) {
        final TargetDigestGroup untrustedResult = untrustedSpy.targetsConstituting(feature);
        final TargetDigestGroup result = (untrustedResult == null) ? new TargetDigestGroup() : untrustedResult;
       
        if (result.isEmpty()) {
            final TargetId noTargetId = new TargetId("UNK_" + feature.endpoint() + feature.name());
            TargetDigest noTarget = emptyFeatureTargets.get(noTargetId);
            if (null == noTarget) {
                noTarget = new TargetDigest(noTargetId.id(), feature.endpoint(), "EMPTY: " + feature.name(), Status.BROKEN);
                emptyFeatureTargets.put(noTargetId, noTarget);
            }
            return new TargetDigestGroup(ImmutableList.of(noTarget));
        }
        return result;
View Full Code Here


        try {
            final String targetId = request.getForm().get("id");
            final String note = request.getForm().get("note") + " by " + tracker.originOf(request);
            final String[] segments = request.getAddress().getPath().getSegments();
            final String landscapeName = segments[segments.length - 2];
            makeNote(landscapeName, new TargetId(targetId), note);
        } catch (Exception e) {
            LOG.error("Failed to handle request to note a build", e);
        }
        return CiEyeResponse.withJson("");
    }
View Full Code Here

TOP

Related Classes of org.netmelody.cieye.core.domain.TargetId

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.