Skip to content

Commit

Permalink
Commit #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Orit Stone committed Mar 24, 2015
1 parent 3671cc8 commit 72689e1
Show file tree
Hide file tree
Showing 55 changed files with 108 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import org.apache.commons.lang.Validate;
import org.apache.commons.lang.builder.EqualsBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import io.cloudslang.facade.entities.Execution;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import io.cloudslang.facade.execution.ExecutionStatus;
import io.cloudslang.facade.execution.ExecutionSummary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import io.cloudslang.engine.data.AbstractIdentifiable;
import org.apache.commons.lang.builder.EqualsBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import java.io.Serializable;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import io.cloudslang.facade.entities.Execution;
import org.apache.commons.lang.Validate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.entities;
package io.cloudslang.orchestrator.entities;

import io.cloudslang.facade.entities.Execution;
import io.cloudslang.engine.data.AbstractIdentifiable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.entities.Execution;
import org.openscore.orchestrator.entities.SplitMessage;
import io.cloudslang.orchestrator.entities.SplitMessage;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
*
*******************************************************************************/

package org.openscore.orchestrator.repositories;
package io.cloudslang.orchestrator.repositories;

import io.cloudslang.facade.execution.ExecutionStatus;
import org.openscore.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.entities.ExecutionState;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*
*******************************************************************************/

package org.openscore.orchestrator.repositories;
package io.cloudslang.orchestrator.repositories;

import org.openscore.orchestrator.entities.FinishedBranch;
import io.cloudslang.orchestrator.entities.FinishedBranch;
import org.springframework.data.jpa.repository.JpaRepository;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.repositories;
package io.cloudslang.orchestrator.repositories;

import io.cloudslang.facade.entities.RunningExecutionPlan;
import org.springframework.data.jpa.repository.JpaRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*
*******************************************************************************/

package org.openscore.orchestrator.repositories;
package io.cloudslang.orchestrator.repositories;

import org.openscore.orchestrator.entities.SuspendedExecution;
import io.cloudslang.orchestrator.entities.SuspendedExecution;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import org.apache.log4j.Logger;
import io.cloudslang.engine.queue.entities.ExecStatus;
Expand All @@ -17,7 +17,7 @@
import io.cloudslang.facade.entities.Execution;
import io.cloudslang.facade.execution.ExecutionActionResult;
import io.cloudslang.facade.execution.ExecutionStatus;
import org.openscore.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.entities.ExecutionState;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.entities.Execution;
import org.apache.commons.io.IOUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.execution.ExecutionActionException;
import io.cloudslang.facade.execution.ExecutionActionResult;
import io.cloudslang.facade.execution.ExecutionStatus;
import io.cloudslang.facade.entities.Execution;
import org.openscore.orchestrator.entities.ExecutionState;
import org.openscore.orchestrator.repositories.ExecutionStateRepository;
import io.cloudslang.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.repositories.ExecutionStateRepository;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.Validate;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.engine.node.services.WorkerLockService;
import io.cloudslang.engine.node.services.WorkerNodeService;
import io.cloudslang.engine.queue.entities.ExecutionMessage;
import io.cloudslang.engine.queue.services.QueueDispatcherService;
import org.openscore.orchestrator.entities.SplitMessage;
import io.cloudslang.orchestrator.entities.SplitMessage;
import org.apache.commons.lang.Validate;
import org.apache.log4j.Logger;
import org.hamcrest.Matchers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.entities.RunningExecutionPlan;
import org.openscore.api.ExecutionPlan;
import org.openscore.orchestrator.repositories.RunningExecutionPlanRepository;
import io.cloudslang.orchestrator.repositories.RunningExecutionPlanRepository;
import io.cloudslang.facade.services.RunningExecutionPlanService;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import org.openscore.api.ScoreDeprecated;
import org.openscore.api.TriggeringProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import org.openscore.api.Score;
import org.openscore.api.TriggeringProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.execution.ExecutionStatus;
import io.cloudslang.facade.execution.PauseReason;
import org.openscore.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.entities.ExecutionState;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import org.openscore.api.ExecutionPlan;
import org.openscore.api.TriggeringProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import ch.lambdaj.function.convert.Converter;
import org.openscore.api.EndBranchDataContainer;
Expand All @@ -17,12 +17,12 @@
import io.cloudslang.engine.queue.services.QueueDispatcherService;
import io.cloudslang.facade.entities.Execution;
import io.cloudslang.facade.execution.ExecutionStatus;
import org.openscore.orchestrator.entities.BranchContexts;
import org.openscore.orchestrator.entities.FinishedBranch;
import org.openscore.orchestrator.entities.SplitMessage;
import org.openscore.orchestrator.entities.SuspendedExecution;
import org.openscore.orchestrator.repositories.FinishedBranchRepository;
import org.openscore.orchestrator.repositories.SuspendedExecutionsRepository;
import io.cloudslang.orchestrator.entities.BranchContexts;
import io.cloudslang.orchestrator.entities.FinishedBranch;
import io.cloudslang.orchestrator.entities.SplitMessage;
import io.cloudslang.orchestrator.entities.SuspendedExecution;
import io.cloudslang.orchestrator.repositories.FinishedBranchRepository;
import io.cloudslang.orchestrator.repositories.SuspendedExecutionsRepository;
import org.apache.commons.lang.Validate;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.execution.ExecutionSummary;
import io.cloudslang.facade.execution.PauseReason;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.entities.RunningExecutionPlan;
import io.cloudslang.facade.services.RunningExecutionPlanService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
*
*******************************************************************************/

package org.openscore.orchestrator.repositories;
package io.cloudslang.orchestrator.repositories;

import io.cloudslang.facade.execution.ExecutionStatus;
import io.cloudslang.engine.data.SimpleHiloIdentifierGenerator;
import org.openscore.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.entities.ExecutionState;
import liquibase.integration.spring.SpringLiquibase;
import org.apache.commons.dbcp.BasicDataSource;
import org.hibernate.ejb.HibernatePersistence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
*
*******************************************************************************/

package org.openscore.orchestrator.repositories;
package io.cloudslang.orchestrator.repositories;

import io.cloudslang.facade.entities.Execution;
import org.openscore.orchestrator.entities.BranchContexts;
import org.openscore.orchestrator.entities.FinishedBranch;
import org.openscore.orchestrator.entities.SuspendedExecution;
import org.openscore.orchestrator.services.ExecutionSerializationUtil;
import io.cloudslang.orchestrator.entities.BranchContexts;
import io.cloudslang.orchestrator.entities.FinishedBranch;
import io.cloudslang.orchestrator.entities.SuspendedExecution;
import io.cloudslang.orchestrator.services.ExecutionSerializationUtil;
import io.cloudslang.engine.data.DataBaseDetector;
import io.cloudslang.engine.data.SqlUtils;
import org.junit.Assert;
Expand Down Expand Up @@ -168,7 +168,7 @@ public void findFinishedSuspendedExecutionsNegativeTest(){


@Configuration
@EnableJpaRepositories("org.openscore.orchestrator")
@EnableJpaRepositories("io.cloudslang.orchestrator")
@EnableTransactionManagement
@ImportResource("META-INF/spring/orchestratorEmfContext.xml")
static class Configurator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.engine.queue.entities.ExecutionMessageConverter;
import io.cloudslang.engine.queue.services.QueueDispatcherService;
import io.cloudslang.facade.entities.Execution;
import io.cloudslang.facade.execution.ExecutionActionResult;
import io.cloudslang.facade.execution.ExecutionStatus;
import org.openscore.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.entities.ExecutionState;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;


import io.cloudslang.facade.execution.ExecutionStatus;
import io.cloudslang.facade.entities.Execution;
import org.openscore.orchestrator.entities.ExecutionState;
import org.openscore.orchestrator.repositories.ExecutionStateRepository;
import io.cloudslang.orchestrator.entities.ExecutionState;
import io.cloudslang.orchestrator.repositories.ExecutionStateRepository;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.engine.node.entities.WorkerNode;
import io.cloudslang.engine.node.services.WorkerLockService;
import io.cloudslang.engine.node.services.WorkerNodeService;
import io.cloudslang.engine.queue.entities.ExecutionMessage;
import io.cloudslang.engine.queue.services.QueueDispatcherService;
import org.openscore.orchestrator.entities.Message;
import io.cloudslang.orchestrator.entities.Message;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
*******************************************************************************/

package org.openscore.orchestrator.services;
package io.cloudslang.orchestrator.services;

import io.cloudslang.facade.entities.RunningExecutionPlan;
import io.cloudslang.facade.services.RunningExecutionPlanService;
import org.openscore.api.ExecutionPlan;
import org.openscore.orchestrator.repositories.RunningExecutionPlanRepository;
import io.cloudslang.orchestrator.repositories.RunningExecutionPlanRepository;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
Expand Down
Loading

0 comments on commit 72689e1

Please sign in to comment.