Examples of OperationId


Examples of org.jitterbit.integration.data.entity.id.OperationId

 
  private Operation getOperationImpl(StringKeyValuePairs serverKeyValues) {
    Map<String, ServerPropertyKey> clientServerMappings = ClientServerDeployKeyMappings.getClientServerKeyMappings(EntityType.Operation);
   
    String serverKey = clientServerMappings.get(Operation.OPERATION_ID).getServerKeyName();
    OperationId opId = getOperationId( serverKeyValues.get(serverKey) );
   
    serverKey = clientServerMappings.get(Operation.OPERATION_NAME).getServerKeyName();
    String sName = serverKeyValues.get(serverKey);
    Operation operation = new Operation(opId, sName);
   
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

        assertEquals(WHERE, parser.getNextSql());
        SourceHistoryEntry e = entries.get(0);
        mustEqualFirstEntry(e);
        e = entries.get(1);
        assertEquals(27, e.getID());
        assertEquals(new OperationId("93f0da04-8398-4e9c-b24d-7d857626cd09"), e.getOperationId());
        assertEquals("FindValue()", e.getOperationName());
        assertEquals("\\\\linuxdoc\\source\\torgil\\xml\\InstanceFunctions\\IntegerCapsule_Advanced.xml", e.getSourceFiles());
        assertEquals(564, e.getFileSizeInBytes());
        assertEquals(ServerConversionUtils.fromServerDateFormat("2009-07-24 10:53:47"), e.getFileTimestamp());
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

        assertEquals(ServerConversionUtils.fromServerDateFormat("2009-07-24 10:53:47"), e.getFileTimestamp());
    }

    private void mustEqualFirstEntry(SourceHistoryEntry e) {
        assertEquals(28, e.getID());
        assertEquals(new OperationId("1520ead5-2a7a-43b3-93f2-5aa8b9c1832f"), e.getOperationId());
        assertEquals("Text > Text", e.getOperationName());
        assertEquals("\\\\linuxdoc\\source\\torgil\\tsc_1.txt", e.getSourceFiles());
        assertEquals(12, e.getFileSizeInBytes());
        assertEquals(ServerConversionUtils.fromServerDateFormat("2009-07-24 15:03:58"), e.getFileTimestamp());
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

    @Test
    public void testValidEntry() {
        SourceHistoryEntryLineParser parser = new SourceHistoryEntryLineParser();
        SourceHistoryEntry e = parser.parse(VALID_ENTRY);
        assertEquals(28, e.getID());
        assertEquals(new OperationId("1520ead5-2a7a-43b3-93f2-5aa8b9c1832f"), e.getOperationId());
        assertEquals("Text > Text", e.getOperationName());
        assertEquals("\\\\linuxdoc\\source\\torgil\\tsc_1.txt", e.getSourceFiles());
        assertEquals(12, e.getFileSizeInBytes());
        assertEquals(ServerConversionUtils.fromServerDateFormat("2009-07-24 15:03:58"), e.getFileTimestamp());
        assertNull(parser.getNextSql());
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

                        ServerInfo serverInfo) {
            Map<Key, DefaultDataFilesInfo> map = Maps.newHashMap();
            WsDataFilesInfo wsFilesInfo = wsResult.getDataFileInfo();
            KongaGuid guid = KongaGuid.createGuid(wsFilesInfo.getGuid());
            for (WsDataFileInfo wsFile : wsFilesInfo.getDataFiles()) {
                OperationId opId = new OperationId(wsFile.getOperationGuid());
                TransformationId txId = new TransformationId(wsFile.getTransformationGuid());
                Key key = new Key(opId, txId);
                DefaultDataFilesInfo collection = map.get(key);
                if (collection == null) {
                    collection = new DefaultDataFilesInfo(guid, serverInfo, opId, txId);
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

        }
        return false;
    }

    private boolean doChange(OperationWrapperNode from, Operation to, RouteType routeType) {
        OperationId currentId = (routeType == RouteType.SUCCESS) ? from.getDataObject().getSuccessOperationId() :
            from.getDataObject().getFailureOperationId();
        OperationId newId = (to != null ? to.getID() : null);
        return differs(currentId, newId) && controller.isChangeAllowed(from);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

    private UndoableEdit createEdit(OperationWrapperNode from, Operation to, RouteType routeType) {
        return new NextOperationEdit(controller, from.getDataObject(), routeType, to);
    }

    private void updateFlow(OperationWrapperNode from, Operation to, RouteType routeType) {
        OperationId opId = (to != null ? to.getID() : null);
        if (routeType == RouteType.SUCCESS) {
            from.getDataObject().setSuccessOperationId(opId);
        } else {
            from.getDataObject().setFailureOperationId(opId);
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

            }
        }
    }
   
    private void sendUndoableEdit(PipelineActivityNode node, IntegrationEntity previousContent) {
        OperationId opId = node.getParent().getOperationId();
        PipelineActivityPosition pos = node.getParent().getPipeline().getPosition(node.getDataObject());
        ActivityContentChangedEdit edit = new ActivityContentChangedEdit(
                        controller, opId, pos, null, previousContent.getID());
        controller.fireGraphDataEdit(edit);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

        private boolean confirmDisplayOfLargeTestFiles;

        public TestFileOpener(DataFilesInfo info, boolean startWithSourceFile) {
            this.startWithSourceFile = startWithSourceFile;
            OperationId opId = info.getOperationId();
            TransformationId txId = page.getObject().getID();
            sourceFileId = new DataFileIdentifier(opId, txId, DataFileType.SOURCE, 1, 1);
            linkFileId = new DataFileIdentifier(opId, txId, DataFileType.LINK, 1, 1);
            targetFileId = new DataFileIdentifier(opId, txId, DataFileType.TARGET, 1, 1);
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.OperationId

    private Date statusTime;
   
    @Override
    public synchronized void getOperationLog(OperationLogRequest request, GetOperationLogCallback callback) {
        if (where == 0) {
            opId = new OperationId();
        }
        long opInstanceId = (request.opInstanceId == null) ? 100L : request.opInstanceId;
        updateTimeStamps();
        LogStatus status = progression[where];
        OperationLogEntry entry;
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.