From d46078ea0a682c4bbe9272940bee76398761b5f0 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti Date: Fri, 20 Nov 2026 15:22:56 +0100 Subject: [PATCH] [Fix #1857] Rename from org.openworkflow.sdk to cloud.openworkflow.sdk --- README.md | 6 +- annotations/pom.xml | 2 +- .../sdk/annotations/AdditionalProperties.java | 2 +- .../sdk/annotations/ExclusiveUnion.java | 2 +- .../sdk/annotations/InclusiveUnion.java | 2 +- .../openworkflow/sdk/annotations/Item.java | 2 +- .../openworkflow/sdk/annotations/ItemKey.java | 2 +- .../sdk/annotations/ItemValue.java | 2 +- .../sdk/annotations/OneOfSetter.java | 2 +- .../sdk/annotations/OneOfValueProvider.java | 2 +- api/pom.xml | 12 +-- .../openworkflow/sdk/api/DirectReader.java | 4 +- .../sdk/api/ObjectMapperFactory.java | 10 +- .../sdk/api/ValidationReader.java | 4 +- .../openworkflow/sdk/api/WorkflowFormat.java | 2 +- .../openworkflow/sdk/api/WorkflowReader.java | 4 +- .../sdk/api/WorkflowReaderOperations.java | 4 +- .../openworkflow/sdk/api/WorkflowWriter.java | 4 +- ...eanDeserializerModifierWithValidation.java | 2 +- .../BeanDeserializerWithValidation.java | 2 +- .../sdk/serialization/URIDeserializer.java | 2 +- .../sdk/serialization/URISerializer.java | 2 +- .../openworkflow/sdk/api/ApiTest.java | 26 ++--- .../openworkflow/sdk/api/FeaturesTest.java | 14 +-- bom/pom.xml | 2 +- examples/events/pom.xml | 4 +- .../src/main/java/events/EventExample.java | 8 +- examples/pom.xml | 8 +- examples/simpleGet/pom.xml | 6 +- .../sdk/impl/BlockingExample.java | 4 +- .../sdk/impl/NotBlockingExample.java | 4 +- fluent/README.md | 32 +++---- fluent/pom.xml | 2 +- fluent/spec/pom.xml | 4 +- .../fluent/spec/AbstractEmitTaskBuilder.java | 8 +- ...stractEventConsumptionStrategyBuilder.java | 16 ++-- .../spec/AbstractEventFilterBuilder.java | 6 +- .../spec/AbstractEventPropertiesBuilder.java | 12 +-- .../fluent/spec/AbstractForkTaskBuilder.java | 16 ++-- .../spec/AbstractListenTaskBuilder.java | 18 ++-- .../sdk/fluent/spec/BaseDoTaskBuilder.java | 4 +- .../sdk/fluent/spec/BaseRaiseTaskBuilder.java | 22 ++--- .../fluent/spec/BaseTaskItemListBuilder.java | 6 +- .../sdk/fluent/spec/BaseTryTaskBuilder.java | 40 ++++---- .../sdk/fluent/spec/BaseWorkflowBuilder.java | 26 ++--- .../BasicAuthenticationPolicyBuilder.java | 10 +- .../BearerAuthenticationPolicyBuilder.java | 10 +- .../sdk/fluent/spec/CallGrpcTaskBuilder.java | 8 +- .../sdk/fluent/spec/CallHttpTaskBuilder.java | 8 +- .../fluent/spec/CallOpenAPITaskBuilder.java | 10 +- .../DigestAuthenticationPolicyBuilder.java | 10 +- .../sdk/fluent/spec/DoTaskBuilder.java | 4 +- .../sdk/fluent/spec/DocumentBuilder.java | 8 +- .../fluent/spec/DurationInlineBuilder.java | 4 +- .../sdk/fluent/spec/EmitTaskBuilder.java | 2 +- .../spec/EventConsumptionStrategyBuilder.java | 12 +-- .../sdk/fluent/spec/EventFilterBuilder.java | 2 +- .../fluent/spec/EventPropertiesBuilder.java | 2 +- .../sdk/fluent/spec/ExportBuilder.java | 16 ++-- .../sdk/fluent/spec/ForEachTaskBuilder.java | 12 +-- .../sdk/fluent/spec/ForkTaskBuilder.java | 4 +- .../sdk/fluent/spec/InputBuilder.java | 18 ++-- .../sdk/fluent/spec/ListenTaskBuilder.java | 2 +- .../sdk/fluent/spec/ListenToBuilder.java | 12 +-- .../spec/ListenToConfigurerBuilder.java | 2 +- .../OAuth2AuthenticationPolicyBuilder.java | 8 +- .../sdk/fluent/spec/OIDCBuilder.java | 18 ++-- ...nIdConnectAuthenticationPolicyBuilder.java | 6 +- .../sdk/fluent/spec/OutputBuilder.java | 16 ++-- .../sdk/fluent/spec/RaiseTaskBuilder.java | 2 +- ...erenceableAuthenticationPolicyBuilder.java | 8 +- .../sdk/fluent/spec/ScheduleBuilder.java | 6 +- .../sdk/fluent/spec/SetTaskBuilder.java | 8 +- .../spec/SubscriptionIteratorBuilder.java | 8 +- .../sdk/fluent/spec/SwitchTaskBuilder.java | 8 +- .../sdk/fluent/spec/TaskBaseBuilder.java | 26 ++--- .../sdk/fluent/spec/TaskItemListBuilder.java | 12 +-- .../sdk/fluent/spec/TaskMetadataBuilder.java | 4 +- .../sdk/fluent/spec/TimeoutBuilder.java | 6 +- .../sdk/fluent/spec/TryTaskBuilder.java | 2 +- .../sdk/fluent/spec/UriTemplateBuilder.java | 4 +- .../spec/UseAuthenticationsBuilder.java | 10 +- .../sdk/fluent/spec/UseBuilder.java | 26 ++--- .../sdk/fluent/spec/WaitTaskBuilder.java | 8 +- .../sdk/fluent/spec/WorkflowBuilder.java | 6 +- .../sdk/fluent/spec/WorkflowTaskBuilder.java | 12 +-- .../configurers/AuthenticationConfigurer.java | 4 +- .../spec/configurers/CallGrpcConfigurer.java | 4 +- .../spec/configurers/CallHttpConfigurer.java | 4 +- .../configurers/CallOpenAPIConfigurer.java | 4 +- .../spec/configurers/EmitConfigurer.java | 4 +- .../EventPropertiesConfigurer.java | 4 +- .../spec/configurers/ForEachConfigurer.java | 6 +- .../spec/configurers/ListenConfigurer.java | 4 +- .../spec/configurers/RaiseConfigurer.java | 4 +- .../spec/configurers/RetryConfigurer.java | 4 +- .../spec/configurers/SetConfigurer.java | 4 +- .../spec/configurers/SwitchConfigurer.java | 4 +- .../spec/configurers/TasksConfigurer.java | 4 +- .../spec/configurers/TryCatchConfigurer.java | 6 +- .../spec/configurers/TryConfigurer.java | 6 +- .../spec/configurers/UseConfigurer.java | 4 +- .../spec/configurers/WorkflowConfigurer.java | 4 +- .../spec/dsl/AbstractEventFilterSpec.java | 8 +- .../sdk/fluent/spec/dsl/BaseCallHttpSpec.java | 6 +- .../sdk/fluent/spec/dsl/BaseListenSpec.java | 8 +- .../sdk/fluent/spec/dsl/CallGrpcSpec.java | 10 +- .../sdk/fluent/spec/dsl/CallHttpSpec.java | 8 +- .../sdk/fluent/spec/dsl/CallOpenAPISpec.java | 12 +-- .../openworkflow/sdk/fluent/spec/dsl/DSL.java | 64 ++++++------- .../sdk/fluent/spec/dsl/EmitSpec.java | 8 +- .../spec/dsl/EventEmitPropertiesSpec.java | 4 +- .../sdk/fluent/spec/dsl/EventFilterSpec.java | 6 +- .../fluent/spec/dsl/EventPropertiesSpec.java | 4 +- .../spec/dsl/ExprEventEmitPropertiesSpec.java | 4 +- .../fluent/spec/dsl/ExprEventFilterSpec.java | 4 +- .../sdk/fluent/spec/dsl/ListenSpec.java | 14 +-- .../sdk/fluent/spec/dsl/RaiseSpec.java | 6 +- .../sdk/fluent/spec/dsl/RetrySpec.java | 8 +- .../sdk/fluent/spec/dsl/SwitchSpec.java | 10 +- .../sdk/fluent/spec/dsl/TryCatchSpec.java | 12 +-- .../sdk/fluent/spec/dsl/TrySpec.java | 10 +- .../sdk/fluent/spec/dsl/UseSpec.java | 8 +- .../sdk/fluent/spec/dsl/WorkflowSpec.java | 8 +- .../sdk/fluent/spec/spi/CallGrpcFluent.java | 4 +- .../fluent/spec/spi/CallGrpcTaskFluent.java | 28 +++--- .../sdk/fluent/spec/spi/CallHttpFluent.java | 4 +- .../fluent/spec/spi/CallHttpTaskFluent.java | 32 +++---- .../fluent/spec/spi/CallOpenAPIFluent.java | 4 +- .../spec/spi/CallOpenAPITaskFluent.java | 24 ++--- .../sdk/fluent/spec/spi/DoFluent.java | 30 +++--- .../sdk/fluent/spec/spi/EmitFluent.java | 4 +- .../sdk/fluent/spec/spi/EndpointUtil.java | 12 +-- .../spi/EventConsumptionStrategyFluent.java | 6 +- .../sdk/fluent/spec/spi/ForEachFluent.java | 4 +- .../fluent/spec/spi/ForEachTaskFluent.java | 8 +- .../sdk/fluent/spec/spi/ForkFluent.java | 4 +- .../sdk/fluent/spec/spi/ForkTaskFluent.java | 8 +- .../sdk/fluent/spec/spi/IteratorFluent.java | 4 +- .../sdk/fluent/spec/spi/ListenFluent.java | 4 +- .../sdk/fluent/spec/spi/OutputFluent.java | 6 +- .../sdk/fluent/spec/spi/RaiseFluent.java | 4 +- .../sdk/fluent/spec/spi/SetFluent.java | 4 +- .../spec/spi/SubscriptionIteratorFluent.java | 4 +- .../sdk/fluent/spec/spi/SwitchFluent.java | 4 +- .../sdk/fluent/spec/spi/SwitchTaskFluent.java | 12 +-- .../spec/spi/TaskTransformationHandlers.java | 4 +- .../spec/spi/TransformationHandlers.java | 6 +- .../sdk/fluent/spec/spi/TryCatchFluent.java | 4 +- .../sdk/fluent/spec/spi/WaitFluent.java | 4 +- .../sdk/fluent/spec/spi/WorkflowFluent.java | 4 +- .../fluent/spec/spi/WorkflowTaskFluent.java | 10 +- .../sdk/fluent/spec/InputBuilderTest.java | 4 +- .../sdk/fluent/spec/ScheduleBuilderTest.java | 8 +- .../spec/TaskItemDefaultNamingTest.java | 16 ++-- .../spec/UseAuthenticationsBuilderTest.java | 10 +- .../sdk/fluent/spec/WorkflowBuilderTest.java | 88 ++++++++--------- .../sdk/fluent/spec/dsl/CallGrpcDslTest.java | 14 +-- .../fluent/spec/dsl/CallHttpAuthDslTest.java | 24 ++--- .../spec/dsl/CallHttpDslExtensionsTest.java | 12 +-- .../fluent/spec/dsl/CallOpenApiDslTest.java | 14 +-- .../sdk/fluent/spec/dsl/DSLScheduleTest.java | 22 ++--- .../sdk/fluent/spec/dsl/DSLTest.java | 44 ++++----- .../sdk/fluent/spec/dsl/DSLTimeoutTest.java | 16 ++-- .../sdk/fluent/spec/dsl/DSLWaitTest.java | 12 +-- .../sdk/fluent/spec/dsl/TryCatchDslTest.java | 26 ++--- generators/jackson/pom.xml | 6 +- .../graalvm/ReflectNativeFileHandler.java | 2 +- .../sdk/generator/jackson/GeneratorUtils.java | 6 +- .../generator/jackson/JacksonMixInPojo.java | 16 ++-- generators/pom.xml | 2 +- generators/types/pom.xml | 4 +- .../sdk/generator/AllAnyOneOfSchemaRule.java | 10 +- .../sdk/generator/CustomAnnotator.java | 4 +- .../sdk/generator/EmptyObjectTypeRule.java | 2 +- .../sdk/generator/GeneratorUtils.java | 2 +- .../sdk/generator/JTypeWrapper.java | 6 +- .../sdk/generator/RefNameHelper.java | 2 +- .../generator/UnevaluatedPropertiesRule.java | 8 +- .../sdk/generator/UnreferencedFactory.java | 2 +- impl/README.md | 4 +- impl/a2a/pom.xml | 4 +- .../executors/a2a/A2AExceptionHandler.java | 6 +- .../sdk/impl/executors/a2a/A2AExecutor.java | 12 +-- .../executors/a2a/A2AExecutorBuilder.java | 24 ++--- .../executors/a2a/A2ARequestDispatcher.java | 8 +- .../sdk/impl/executors/a2a/A2AUtils.java | 18 ++-- .../executors/a2a/CancelTaskDispatcher.java | 10 +- .../impl/executors/a2a/GetTaskDispatcher.java | 10 +- .../executors/a2a/ListTaskDispatcher.java | 16 ++-- .../impl/executors/a2a/MessageConsumer.java | 8 +- .../executors/a2a/MessageConsumerFactory.java | 8 +- .../impl/executors/a2a/MessageDispatcher.java | 14 +-- .../executors/a2a/MessageSendConsumer.java | 6 +- .../executors/a2a/MessageStreamConsumer.java | 10 +- ...low.sdk.impl.executors.CallableTaskBuilder | 1 + ...low.sdk.impl.executors.CallableTaskBuilder | 1 - impl/container/pom.xml | 10 +- .../executors/CommandPropertySetter.java | 18 ++-- .../ContainerEnvironmentPropertySetter.java | 16 ++-- .../executors/ContainerPropertySetter.java | 8 +- .../container/executors/ContainerRunner.java | 18 ++-- .../executors/LifetimePropertySetter.java | 12 +-- .../executors/NamePropertySetter.java | 18 ++-- .../executors/PortsPropertySetter.java | 10 +- .../RunContainerExecutorBuilder.java | 24 ++--- .../executors/VolumesPropertySetter.java | 16 ++-- ...low.sdk.impl.executors.RunnableTaskBuilder | 1 + ...low.sdk.impl.executors.RunnableTaskBuilder | 1 - .../sdk/impl/test/ContainerTest.java | 8 +- impl/core/pom.xml | 4 +- .../sdk/impl/AbstractWorkflowModel.java | 2 +- .../sdk/impl/AuthorizationDescriptor.java | 2 +- .../sdk/impl/CollectionConversionUtils.java | 2 +- .../sdk/impl/CompositeExpressionFactory.java | 8 +- .../impl/DefaultExecutorServiceFactory.java | 2 +- .../sdk/impl/ExecutorServiceFactory.java | 2 +- .../openworkflow/sdk/impl/FunctionReader.java | 4 +- .../sdk/impl/LifecycleEvents.java | 6 +- .../sdk/impl/LifecycleEventsUtils.java | 4 +- ...onotonicUlidWorkflowInstanceIdFactory.java | 2 +- .../openworkflow/sdk/impl/NamedObject.java | 2 +- .../sdk/impl/QueueWorkflowPosition.java | 2 +- .../sdk/impl/RuntimeDescriptorFactory.java | 4 +- .../sdk/impl/SchedulerListener.java | 10 +- .../sdk/impl/ServicePriority.java | 2 +- .../impl/StringBufferWorkflowPosition.java | 2 +- .../openworkflow/sdk/impl/TaskContext.java | 6 +- .../sdk/impl/TaskContextData.java | 4 +- .../sdk/impl/WorkflowApplication.java | 96 +++++++++---------- .../sdk/impl/WorkflowContext.java | 2 +- .../sdk/impl/WorkflowContextData.java | 2 +- .../sdk/impl/WorkflowDecorator.java | 2 +- .../sdk/impl/WorkflowDefinition.java | 38 ++++---- .../sdk/impl/WorkflowDefinitionData.java | 4 +- .../sdk/impl/WorkflowDefinitionId.java | 8 +- .../openworkflow/sdk/impl/WorkflowError.java | 8 +- .../sdk/impl/WorkflowException.java | 2 +- .../openworkflow/sdk/impl/WorkflowFilter.java | 2 +- .../sdk/impl/WorkflowInstance.java | 2 +- .../sdk/impl/WorkflowInstanceData.java | 2 +- .../sdk/impl/WorkflowInstanceIdFactory.java | 2 +- .../openworkflow/sdk/impl/WorkflowModel.java | 2 +- .../sdk/impl/WorkflowModelCollection.java | 2 +- .../sdk/impl/WorkflowModelFactory.java | 2 +- .../sdk/impl/WorkflowMutableInstance.java | 26 ++--- .../sdk/impl/WorkflowMutablePosition.java | 2 +- .../sdk/impl/WorkflowPosition.java | 2 +- .../sdk/impl/WorkflowPositionFactory.java | 2 +- .../sdk/impl/WorkflowPredicate.java | 2 +- .../openworkflow/sdk/impl/WorkflowStatus.java | 2 +- .../openworkflow/sdk/impl/WorkflowUtils.java | 40 ++++---- .../sdk/impl/WorkflowValueResolver.java | 2 +- .../additional/ConstantAdditionalObject.java | 2 +- .../NamedSuppliedAdditionalObject.java | 4 +- .../NamedWorkflowAdditionalObject.java | 4 +- .../additional/SuppliedAdditionalObject.java | 6 +- .../additional/WorkflowAdditionalObject.java | 6 +- .../impl/auth/AbstractAuthRequestBuilder.java | 48 +++++----- .../sdk/impl/auth/AccessTokenProvider.java | 14 +-- .../sdk/impl/auth/AuthHttpRequestInfo.java | 4 +- .../impl/auth/AuthHttpRequestInfoBuilder.java | 8 +- .../sdk/impl/auth/AuthProvider.java | 6 +- .../sdk/impl/auth/AuthProviderFactory.java | 8 +- .../sdk/impl/auth/AuthRequestBuilder.java | 4 +- .../openworkflow/sdk/impl/auth/AuthUtils.java | 2 +- .../sdk/impl/auth/BasicAuthProvider.java | 24 ++--- .../sdk/impl/auth/BearerAuthProvider.java | 24 ++--- .../sdk/impl/auth/ClientSecretBasic.java | 20 ++-- .../sdk/impl/auth/ClientSecretHandler.java | 14 +-- .../sdk/impl/auth/ClientSecretPost.java | 20 ++-- .../sdk/impl/auth/CommonOAuthProvider.java | 18 ++-- .../impl/auth/DefaultAuthProviderFactory.java | 20 ++-- .../sdk/impl/auth/DigestAuthProvider.java | 32 +++---- .../openworkflow/sdk/impl/auth/JWT.java | 2 +- .../sdk/impl/auth/JWTConverter.java | 4 +- .../sdk/impl/auth/JwtClientAssertion.java | 28 +++--- .../sdk/impl/auth/OAuth2AuthProvider.java | 6 +- .../sdk/impl/auth/OAuthPolicyData.java | 8 +- .../sdk/impl/auth/OAuthRequestBuilder.java | 16 ++-- .../sdk/impl/auth/OAuthScheme.java | 2 +- .../sdk/impl/auth/OAuthUtils.java | 18 ++-- .../sdk/impl/auth/OpenIdAuthProvider.java | 6 +- .../sdk/impl/auth/OpenIdRequestBuilder.java | 10 +- .../sdk/impl/auth/TokenIntrospection.java | 2 +- .../impl/config/AbstractConfigManager.java | 2 +- .../sdk/impl/config/ConfigManager.java | 6 +- .../sdk/impl/config/ConfigSecretManager.java | 2 +- .../sdk/impl/config/SecretManager.java | 4 +- .../config/SystemPropertyConfigManager.java | 2 +- .../sdk/impl/events/AbstractTypeConsumer.java | 20 ++-- .../impl/events/CloudEventAttrPredicate.java | 6 +- .../sdk/impl/events/CloudEventPredicate.java | 6 +- .../events/CloudEventPredicateFactory.java | 8 +- .../sdk/impl/events/CloudEventUtils.java | 4 +- .../sdk/impl/events/CorrelationPredicate.java | 16 ++-- .../events/DefaultCloudEventPredicate.java | 28 +++--- .../DefaultCloudEventPredicateFactory.java | 6 +- .../sdk/impl/events/EmitSourceResolver.java | 10 +- .../impl/events/EmittedEventDecorator.java | 4 +- .../sdk/impl/events/EventConsumer.java | 12 +-- .../sdk/impl/events/EventPublisher.java | 2 +- .../sdk/impl/events/EventRegistration.java | 2 +- .../impl/events/EventRegistrationBuilder.java | 2 +- .../EventRegistrationBuilderCollection.java | 2 +- .../events/EventRegistrationBuilderInfo.java | 20 ++-- .../impl/events/EventRegistrationInfo.java | 6 +- .../sdk/impl/events/InMemoryEvents.java | 6 +- .../events/ModelAwareCloudEventPredicate.java | 8 +- .../impl/events/TypeEventRegistration.java | 6 +- .../events/TypeEventRegistrationBuilder.java | 2 +- .../impl/executors/AbstractTaskExecutor.java | 64 ++++++------- .../CallFunctionExecutorBuilder.java | 24 ++--- .../sdk/impl/executors/CallTaskExecutor.java | 14 +-- .../sdk/impl/executors/CallableTask.java | 8 +- .../impl/executors/CallableTaskBuilder.java | 10 +- .../impl/executors/CallableTaskFactory.java | 2 +- .../executors/CallableTaskProxyBuilder.java | 6 +- .../executors/DefaultTaskExecutorFactory.java | 38 ++++---- .../sdk/impl/executors/DoExecutor.java | 16 ++-- .../sdk/impl/executors/EmitExecutor.java | 40 ++++---- .../sdk/impl/executors/ForExecutor.java | 24 ++--- .../sdk/impl/executors/ForkExecutor.java | 16 ++-- .../sdk/impl/executors/ListenExecutor.java | 42 ++++---- .../sdk/impl/executors/ProcessResult.java | 2 +- .../sdk/impl/executors/RaiseExecutor.java | 38 ++++---- .../impl/executors/RegularTaskExecutor.java | 14 +-- .../sdk/impl/executors/RunScriptExecutor.java | 22 ++--- .../executors/RunScriptExecutorBuilder.java | 22 ++--- .../sdk/impl/executors/RunShellExecutor.java | 14 +-- .../executors/RunShellExecutorBuilder.java | 12 +-- .../sdk/impl/executors/RunTaskExecutor.java | 16 ++-- .../impl/executors/RunWorkflowExecutor.java | 14 +-- .../executors/RunWorkflowExecutorBuilder.java | 16 ++-- .../impl/executors/RunnableTaskBuilder.java | 8 +- .../sdk/impl/executors/SetExecutor.java | 22 ++--- .../sdk/impl/executors/SwitchExecutor.java | 22 ++--- .../sdk/impl/executors/TaskExecutor.java | 10 +- .../impl/executors/TaskExecutorBuilder.java | 4 +- .../impl/executors/TaskExecutorFactory.java | 12 +-- .../impl/executors/TaskExecutorHelper.java | 16 ++-- .../sdk/impl/executors/TransitionInfo.java | 2 +- .../impl/executors/TransitionInfoBuilder.java | 2 +- .../sdk/impl/executors/TryExecutor.java | 56 +++++------ .../sdk/impl/executors/WaitExecutor.java | 20 ++-- .../http/CallableTaskHttpExecutorBuilder.java | 24 ++--- .../sdk/impl/executors/http/HttpExecutor.java | 16 ++-- .../executors/openapi/OpenAPIExecutor.java | 20 ++-- .../openapi/OpenAPIExecutorBuilder.java | 22 ++--- .../executors/openapi/OpenAPIProcessor.java | 2 +- .../openapi/OperationDefinition.java | 2 +- .../openapi/OperationPathResolver.java | 14 +-- .../openapi/ParameterDefinition.java | 2 +- .../executors/openapi/UnifiedOpenAPI.java | 2 +- .../openapi/UnifiedOpenAPIReader.java | 2 +- .../retry/AbstractRetryIntervalFunction.java | 18 ++-- .../retry/ConstantRetryIntervalFunction.java | 8 +- .../executors/retry/DefaultRetryExecutor.java | 12 +-- .../ExponentialRetryIntervalFunction.java | 8 +- .../retry/LinearRetryIntervalFunction.java | 8 +- .../impl/executors/retry/RetryExecutor.java | 8 +- .../retry/RetryIntervalFunction.java | 8 +- .../AbstractExpressionFactory.java | 8 +- .../expressions/AbstractProxyCollection.java | 2 +- .../impl/expressions/DateTimeDescriptor.java | 2 +- .../expressions/ExpressionDescriptor.java | 2 +- .../impl/expressions/ExpressionFactory.java | 12 +-- .../sdk/impl/expressions/ExpressionUtils.java | 2 +- .../ExpressionValidationException.java | 2 +- .../impl/expressions/ObjectExpression.java | 8 +- .../expressions/ObjectExpressionFactory.java | 16 ++-- .../sdk/impl/expressions/ProxyCollection.java | 2 +- .../sdk/impl/expressions/ProxyIterator.java | 2 +- .../sdk/impl/expressions/ProxyMap.java | 2 +- .../impl/expressions/RuntimeDescriptor.java | 2 +- .../sdk/impl/expressions/TaskDescriptor.java | 8 +- .../impl/expressions/WorkflowDescriptor.java | 10 +- .../sdk/impl/http/DefaultHttpRequest.java | 10 +- .../DefaultHttpRequestBuilderFactory.java | 4 +- .../sdk/impl/http/DefaultHttpResponse.java | 6 +- .../impl/http/DefaultURITemplateResolver.java | 2 +- .../sdk/impl/http/URIDecodedBuilder.java | 2 +- .../sdk/impl/http/URITemplateResolver.java | 4 +- .../impl/http/WorkflowHttpContentType.java | 2 +- .../sdk/impl/http/WorkflowHttpHelper.java | 20 ++-- .../sdk/impl/http/WorkflowHttpRequest.java | 6 +- .../impl/http/WorkflowHttpRequestFactory.java | 6 +- .../impl/http/WorkflowHttpRequestInfo.java | 8 +- ...WorkflowHttpRequestInfoBuilderFactory.java | 26 ++--- .../sdk/impl/http/WorkflowHttpResponse.java | 4 +- .../impl/http/WorkflowResponseSniffer.java | 2 +- .../sdk/impl/lifecycle/EventType.java | 2 +- .../impl/lifecycle/LifeCycleEventType.java | 2 +- .../impl/lifecycle/TaskCancelledEvent.java | 6 +- .../impl/lifecycle/TaskCompletedEvent.java | 6 +- .../sdk/impl/lifecycle/TaskEvent.java | 6 +- .../sdk/impl/lifecycle/TaskFailedEvent.java | 6 +- .../sdk/impl/lifecycle/TaskResumedEvent.java | 6 +- .../sdk/impl/lifecycle/TaskRetriedEvent.java | 6 +- .../sdk/impl/lifecycle/TaskStartedEvent.java | 6 +- .../impl/lifecycle/TaskSuspendedEvent.java | 6 +- .../lifecycle/TraceExecutionListener.java | 2 +- .../lifecycle/WorkflowCancelledEvent.java | 4 +- .../lifecycle/WorkflowCompletedEvent.java | 6 +- .../sdk/impl/lifecycle/WorkflowEvent.java | 4 +- .../WorkflowExecutionCompletableListener.java | 4 +- .../lifecycle/WorkflowExecutionListener.java | 4 +- .../WorkflowExecutionListenerAdapter.java | 2 +- .../impl/lifecycle/WorkflowFailedEvent.java | 4 +- .../impl/lifecycle/WorkflowResumedEvent.java | 4 +- .../impl/lifecycle/WorkflowStartedEvent.java | 4 +- .../impl/lifecycle/WorkflowStatusEvent.java | 6 +- .../lifecycle/WorkflowSuspendedEvent.java | 4 +- .../ce/AbstractLifeCyclePublisher.java | 46 ++++----- .../ce/DefaultLifeCycleCloudEventFactory.java | 32 +++---- ...InputOutputLifeCycleCloudEventFactory.java | 10 +- .../sdk/impl/lifecycle/ce/TaskCEData.java | 8 +- .../lifecycle/ce/TaskCancelledCEData.java | 4 +- .../lifecycle/ce/TaskCompletedCEData.java | 4 +- .../ce/TaskCompletedCEDataWithOutput.java | 4 +- .../impl/lifecycle/ce/TaskFailedCEData.java | 6 +- .../impl/lifecycle/ce/TaskResumedCEData.java | 4 +- .../impl/lifecycle/ce/TaskRetriedCEData.java | 4 +- .../impl/lifecycle/ce/TaskStartedCEData.java | 4 +- .../ce/TaskStartedCEDataWithInput.java | 4 +- .../lifecycle/ce/TaskSuspendedCEData.java | 4 +- .../sdk/impl/lifecycle/ce/WorkflowCEData.java | 6 +- .../lifecycle/ce/WorkflowCancelledCEData.java | 4 +- .../lifecycle/ce/WorkflowCompletedCEData.java | 4 +- .../ce/WorkflowCompletedCEDataWithOutput.java | 4 +- .../ce/WorkflowDefinitionCEData.java | 6 +- .../lifecycle/ce/WorkflowFailedCEData.java | 6 +- .../WorkflowLifeCycleCloudEventFactory.java | 32 +++---- .../lifecycle/ce/WorkflowResumedCEData.java | 4 +- .../lifecycle/ce/WorkflowStartedCEData.java | 4 +- .../ce/WorkflowStartedCEDataWithInput.java | 4 +- .../ce/WorkflowStatusCEDataEvent.java | 6 +- .../lifecycle/ce/WorkflowSuspendedCEData.java | 4 +- .../impl/marshaller/AbstractInputBuffer.java | 4 +- .../impl/marshaller/AbstractOutputBuffer.java | 4 +- .../marshaller/CustomObjectMarshaller.java | 4 +- .../impl/marshaller/DefaultBufferFactory.java | 2 +- .../impl/marshaller/DefaultInputBuffer.java | 2 +- .../impl/marshaller/DefaultOutputBuffer.java | 2 +- .../sdk/impl/marshaller/MarshallingUtils.java | 4 +- .../sdk/impl/marshaller/TaskStatus.java | 2 +- .../sdk/impl/marshaller/Type.java | 2 +- .../marshaller/WorkflowBufferFactory.java | 2 +- .../impl/marshaller/WorkflowInputBuffer.java | 2 +- .../impl/marshaller/WorkflowOutputBuffer.java | 2 +- .../sdk/impl/resources/CachedResource.java | 2 +- .../sdk/impl/resources/ClasspathResource.java | 6 +- .../impl/resources/DefaultResourceLoader.java | 10 +- .../DefaultResourceLoaderFactory.java | 4 +- .../resources/ExternalResourceHandler.java | 6 +- .../sdk/impl/resources/FileResource.java | 6 +- .../sdk/impl/resources/GitHubHelper.java | 4 +- .../sdk/impl/resources/HttpResource.java | 14 +-- .../resources/ResourceContentConverter.java | 2 +- .../sdk/impl/resources/ResourceLoader.java | 30 +++--- .../impl/resources/ResourceLoaderFactory.java | 4 +- .../scheduler/AllStrategyCorrelationInfo.java | 6 +- .../AllStrategyCorrelationInfoFactory.java | 4 +- .../sdk/impl/scheduler/Cancellable.java | 2 +- .../sdk/impl/scheduler/CronResolver.java | 2 +- .../impl/scheduler/CronResolverFactory.java | 4 +- .../scheduler/DefaultWorkflowScheduler.java | 6 +- .../scheduler/EventWorkflowScheduler.java | 8 +- .../ExecutorServiceWorkflowScheduler.java | 4 +- .../InMemoryAllStrategyCorrelationInfo.java | 4 +- .../scheduler/ScheduledEventConsumer.java | 20 ++-- .../scheduler/ScheduledInstanceRunnable.java | 8 +- .../ScheduledServiceCancellable.java | 2 +- .../sdk/impl/scheduler/WorkflowScheduler.java | 8 +- .../impl/schema/AbstractSchemaValidator.java | 8 +- .../sdk/impl/schema/SchemaValidator.java | 6 +- .../impl/schema/SchemaValidatorFactory.java | 6 +- .../sdk/impl/scripts/ScriptContext.java | 4 +- .../sdk/impl/scripts/ScriptLanguageId.java | 2 +- .../sdk/impl/scripts/ScriptRunner.java | 12 +-- .../sdk/impl/scripts/ScriptUtils.java | 24 ++--- .../sdk/impl/scripts/StreamSupplier.java | 2 +- .../sdk/impl/scripts/StreamSuppliers.java | 4 +- .../sdk/impl/utils/RandomFactory.java | 2 +- .../reflect-config.json | 60 ++++++------ ...low.sdk.impl.executors.CallableTaskBuilder | 3 + ...low.sdk.impl.executors.RunnableTaskBuilder | 3 + ...low.sdk.impl.executors.CallableTaskBuilder | 3 - ...low.sdk.impl.executors.RunnableTaskBuilder | 3 - .../impl/CompositeExpressionFactoryTest.java | 6 +- .../openworkflow/sdk/impl/LowestPriority.java | 2 +- .../sdk/impl/LowestPriorityListener.java | 4 +- .../openworkflow/sdk/impl/MediumPriority.java | 2 +- .../sdk/impl/MediumPriorityListener.java | 4 +- .../sdk/impl/ServicePriorityTest.java | 2 +- .../openworkflow/sdk/impl/TopPriority.java | 2 +- .../sdk/impl/TopPriorityListener.java | 4 +- .../impl/WorkflowAdditionalObjectTest.java | 6 +- .../sdk/impl/WorkflowListenerTest.java | 4 +- .../sdk/impl/WorkflowUtilsTest.java | 2 +- .../openworkflow/sdk/impl/auth/JWTTest.java | 2 +- .../openapi/OpenAPIProcessorTest.java | 6 +- .../http/DefaultURITemplateResolverTest.java | 2 +- .../sdk/impl/marshaller/Employee.java | 2 +- .../impl/marshaller/MarshallingUtilsTest.java | 2 +- .../impl/marshaller/NonSerializableClass.java | 2 +- .../sdk/impl/marshaller/Person.java | 2 +- .../impl/marshaller/SerializableClass.java | 2 +- .../sdk/impl/marshaller/Student.java | 2 +- ...loud.openworkflow.sdk.impl.ServicePriority | 3 + .../org.openworkflow.sdk.impl.ServicePriority | 3 - impl/cron/pom.xml | 4 +- .../sdk/impl/cron/CronUtilsResolver.java | 4 +- .../impl/cron/CronUtilsResolverFactory.java | 6 +- ...low.sdk.impl.scheduler.CronResolverFactory | 1 + ...low.sdk.impl.scheduler.CronResolverFactory | 1 - impl/function/pom.xml | 8 +- .../function/JacksonFunctionReader.java | 8 +- ...cloud.openworkflow.sdk.impl.FunctionReader | 1 + .../org.openworkflow.sdk.impl.FunctionReader | 1 - impl/grpc/pom.xml | 6 +- .../grpc/CollectionStreamObserver.java | 8 +- .../executors/grpc/FileDescriptorReader.java | 2 +- .../sdk/impl/executors/grpc/GrpcExecutor.java | 14 +-- .../executors/grpc/GrpcExecutorBuilder.java | 20 ++-- .../executors/grpc/ItemStreamObserver.java | 8 +- .../executors/grpc/ModelStreamObserver.java | 14 +-- .../executors/grpc/ProtobufMessageUtils.java | 8 +- ...low.sdk.impl.executors.CallableTaskBuilder | 1 + ...low.sdk.impl.executors.CallableTaskBuilder | 1 - impl/http-jackson/pom.xml | 6 +- .../jackson/JacksonModelConverterFactory.java | 10 +- ...l.additional.NamedSuppliedAdditionalObject | 1 + ...l.additional.NamedSuppliedAdditionalObject | 1 - impl/http/pom.xml | 4 +- .../http/DefaultHttpModelConverter.java | 12 +-- .../impl/jakarta/http/HttpClientResolver.java | 2 +- .../jakarta/http/HttpConverterResolver.java | 8 +- .../impl/jakarta/http/HttpModelConverter.java | 6 +- .../jakarta/http/HttpRequestDecorator.java | 4 +- .../impl/jakarta/http/JakartaHttpRequest.java | 20 ++-- .../jakarta/http/JakartaHttpResponse.java | 12 +-- .../http/JakartaRequestExecutorFactory.java | 10 +- .../template/JaxrsURITemplateResolver.java | 4 +- ...workflow.sdk.impl.http.URITemplateResolver | 1 + ...w.sdk.impl.http.WorkflowHttpRequestFactory | 1 + ...workflow.sdk.impl.http.URITemplateResolver | 1 - ...w.sdk.impl.http.WorkflowHttpRequestFactory | 1 - impl/jackson/pom.xml | 18 ++-- impl/javascript/pom.xml | 4 +- .../script/js/JavaScriptScriptTaskRunner.java | 18 ++-- ...openworkflow.sdk.impl.scripts.ScriptRunner | 1 + ...openworkflow.sdk.impl.scripts.ScriptRunner | 1 - impl/jq/pom.xml | 6 +- .../sdk/impl/expressions/jq/JQExpression.java | 26 ++--- .../expressions/jq/JQExpressionFactory.java | 10 +- ...low.sdk.impl.expressions.ExpressionFactory | 1 + ...low.sdk.impl.expressions.ExpressionFactory | 1 - .../jq/JQExpressionFactoryTest.java | 14 +-- impl/json-utils/pom.xml | 4 +- .../impl/jackson/FunctionBaseJsonNode.java | 2 +- .../sdk/impl/jackson/FunctionJsonNode.java | 2 +- .../impl/jackson/JacksonCloudEventUtils.java | 2 +- .../sdk/impl/jackson/JsonUtils.java | 4 +- .../sdk/impl/jackson/MergeUtils.java | 2 +- .../sdk/impl/jackson/ObjectMapperFactory.java | 4 +- .../jackson/ObjectMapperFactoryProvider.java | 4 +- .../jackson/JacksonCloudEventUtilsTest.java | 2 +- .../impl/jackson/JsonUtilsStaticInitTest.java | 2 +- impl/lifecycleevent/pom.xml | 8 +- .../events/JacksonLifeCyclePublisher.java | 6 +- ...k.impl.lifecycle.WorkflowExecutionListener | 1 + ...k.impl.lifecycle.WorkflowExecutionListener | 1 - .../events/JacksonLifeCyclePublisherTest.java | 86 ++++++++--------- impl/model/pom.xml | 6 +- .../jackson/AbstractJacksonMarshaller.java | 10 +- .../jackson/JacksonBinaryNodeEncoder.java | 4 +- .../sdk/impl/model/jackson/JacksonModel.java | 8 +- .../model/jackson/JacksonModelCollection.java | 10 +- .../JacksonModelCollectionDeserializer.java | 2 +- .../JacksonModelCollectionMarshaller.java | 2 +- .../JacksonModelCollectionSerializer.java | 2 +- .../jackson/JacksonModelDeserializer.java | 2 +- .../model/jackson/JacksonModelFactory.java | 12 +-- .../model/jackson/JacksonModelMarshaller.java | 4 +- .../model/jackson/JacksonModelSerializer.java | 2 +- .../jackson/JacksonObjectMarshaller.java | 2 +- .../oauth/jackson/JacksonJWTConverter.java | 8 +- .../reflect-config.json | 8 +- ...openworkflow.sdk.impl.WorkflowModelFactory | 1 + ...ud.openworkflow.sdk.impl.auth.JWTConverter | 1 + ...sdk.impl.marshaller.CustomObjectMarshaller | 3 + ...openworkflow.sdk.impl.WorkflowModelFactory | 1 - ...rg.openworkflow.sdk.impl.auth.JWTConverter | 1 - ...sdk.impl.marshaller.CustomObjectMarshaller | 3 - .../auth/jwt/jackson/JacksonJWTImplTest.java | 8 +- .../sdk/impl/model/jackson/Employee.java | 2 +- .../JacksonModelSerializationTest.java | 12 +-- .../impl/model/jackson/JacksonModelTest.java | 8 +- impl/openapi-jackson/pom.xml | 8 +- .../jackson/JacksonUnifiedOpenAPIMixIn.java | 2 +- .../JacksonUnifiedOpenAPIMixInModule.java | 4 +- .../jackson/JacksonUnifiedOpenAPIReader.java | 8 +- .../JacksonUnifiedOpenAPIReaderFactory.java | 6 +- .../reflect-config.json | 14 +++ .../reflect-config.json | 14 --- ...l.additional.NamedSuppliedAdditionalObject | 1 + ...l.additional.NamedSuppliedAdditionalObject | 1 - .../tools.jackson.databind.JacksonModule | 2 +- .../jackson/JacksonOpenAPIProcessorTest.java | 6 +- impl/persistence/api/pom.xml | 4 +- .../AbstractAllStrategyCorrelationInfo.java | 10 +- .../AbstractAsyncPersistenceExecutor.java | 4 +- .../AbstractPersistenceInstanceReader.java | 6 +- .../AbstractPersistenceInstanceWriter.java | 8 +- .../persistence/AsyncPersistenceExecutor.java | 2 +- .../impl/persistence/CompletedTaskInfo.java | 4 +- .../persistence/CorrelationOperations.java | 2 +- .../DefaultPersistenceInstanceHandlers.java | 4 +- .../DefaultPersistenceInstanceReader.java | 6 +- .../DefaultPersistenceInstanceWriter.java | 4 +- .../OperationAllStrategyCorrelationInfo.java | 6 +- ...tionAllStrategyCorrelationInfoFactory.java | 8 +- ...ceAllStrategyCorrelationInfoFactories.java | 4 +- .../PersistenceApplicationBuilder.java | 6 +- .../impl/persistence/PersistenceExecutor.java | 4 +- .../PersistenceInstanceHandlers.java | 4 +- .../persistence/PersistenceInstanceInfo.java | 4 +- .../PersistenceInstanceOperations.java | 10 +- .../PersistenceInstanceReader.java | 6 +- .../persistence/PersistenceInstanceStore.java | 2 +- .../PersistenceInstanceTransaction.java | 4 +- .../PersistenceInstanceWriter.java | 6 +- .../impl/persistence/PersistenceTaskInfo.java | 2 +- .../persistence/PersistenceWorkflowInfo.java | 6 +- .../sdk/impl/persistence/RetriedTaskInfo.java | 2 +- .../StoreAllStrategyCorrelationInfo.java | 6 +- ...toreAllStrategyCorrelationInfoFactory.java | 8 +- .../TransactedPersistenceInstanceWriter.java | 6 +- .../WorkflowPersistenceInstance.java | 20 ++-- .../WorkflowPersistenceListener.java | 22 ++--- .../hashing/DefaultHashFactory.java | 6 +- .../persistence/hashing/DefaultHashIndex.java | 2 +- .../impl/persistence/hashing/HashFactory.java | 4 +- .../impl/persistence/hashing/HashIndex.java | 2 +- .../impl/persistence/hashing/HashItem.java | 4 +- .../hashing/HashMappingCoordinator.java | 2 +- .../persistence/hashing/HashMappingInfo.java | 2 +- .../persistence/hashing/IntegerHashItem.java | 6 +- .../impl/persistence/hashing/LRUCache.java | 2 +- .../impl/persistence/hashing/MD5HashItem.java | 6 +- .../persistence/metadata/MetaTransient.java | 2 +- .../metadata/PersistenceMetaUtils.java | 4 +- .../hashing/HashMappingCoordinatorTest.java | 4 +- .../persistence/hashing/LRUCacheTest.java | 2 +- impl/persistence/bigmap/pom.xml | 4 +- .../bigmap/BigMapInstanceTransaction.java | 26 ++--- .../bigmap/BytesMapInstanceTransaction.java | 48 +++++----- impl/persistence/mvstore/pom.xml | 6 +- .../mvstore/MVStorePersistenceStore.java | 16 ++-- .../mvstore/MVStoreTransaction.java | 16 ++-- .../HashingMVStorePersistenceTest.java | 6 +- .../mvstore/MD5MVStorePersistenceTest.java | 6 +- .../mvstore/MVStoreCorrelationTest.java | 6 +- .../mvstore/MVStorePersistenceStoreTest.java | 12 +-- impl/persistence/pom.xml | 2 +- impl/persistence/tests/pom.xml | 8 +- .../AbstractCorrelationPersistenceTest.java | 22 ++--- .../test/AbstractHandlerPersistenceTest.java | 44 ++++----- ...tOperationsCorrelationPersistenceTest.java | 8 +- .../test/AbstractPersistenceTest.java | 8 +- ...stractStoreCorrelationPersistenceTest.java | 8 +- impl/pom.xml | 46 ++++----- impl/python/pom.xml | 4 +- .../script/python/PythonScriptTaskRunner.java | 16 ++-- ...openworkflow.sdk.impl.scripts.ScriptRunner | 1 + ...openworkflow.sdk.impl.scripts.ScriptRunner | 1 - impl/test/pom.xml | 28 +++--- .../impl/auth/OAuthRequestBuilderTest.java | 14 +-- .../sdk/impl/test/A2AExecutorTest.java | 10 +- .../sdk/impl/test/AccessTokenProvider.java | 2 +- .../test/ActiveInstanceRegistrationTest.java | 20 ++-- .../sdk/impl/test/BasicAuthHttpTest.java | 12 +-- .../sdk/impl/test/CancelMetadataTest.java | 38 ++++---- .../sdk/impl/test/ConcurrentStartTest.java | 16 ++-- .../sdk/impl/test/CoreTaskTypesTest.java | 26 ++--- .../sdk/impl/test/CorrelationTest.java | 22 ++--- ...CustomAuthProviderFactoryOverrideTest.java | 22 ++--- .../sdk/impl/test/CustomFunctionTest.java | 10 +- .../sdk/impl/test/DBGenerator.java | 20 ++-- .../sdk/impl/test/DateTimeDescriptorTest.java | 6 +- .../sdk/impl/test/DigestAuthHttpTest.java | 14 +-- .../sdk/impl/test/EmitExecutorTest.java | 14 +-- .../sdk/impl/test/EventDefinitionTest.java | 16 ++-- .../sdk/impl/test/ForTaskMissingInTest.java | 8 +- .../sdk/impl/test/ForkWaitTest.java | 20 ++-- .../impl/test/HTTPWorkflowDefinitionTest.java | 22 ++--- .../sdk/impl/test/LifeCycleEventsTest.java | 50 +++++----- .../sdk/impl/test/MvStorePersistenceTest.java | 22 ++--- .../test/OAuthHTTPWorkflowDefinitionTest.java | 14 +-- .../sdk/impl/test/OAuthUtilsTest.java | 26 ++--- .../sdk/impl/test/OpenAPITest.java | 16 ++-- .../OpenIDCHTTPWorkflowDefinitionTest.java | 14 +-- .../sdk/impl/test/ResolvePolicyTest.java | 22 ++--- .../sdk/impl/test/RetryTimeoutTest.java | 22 ++--- .../impl/test/RunScriptJavaScriptTest.java | 12 +-- .../sdk/impl/test/RunShellExecutorTest.java | 12 +-- .../impl/test/ScheduleEventConsumerTest.java | 14 +-- .../sdk/impl/test/SchedulerTest.java | 10 +- .../sdk/impl/test/SecretExpressionTest.java | 10 +- .../sdk/impl/test/SubWorkflowTest.java | 12 +-- .../test/TaskCounterPerInstanceListener.java | 12 +-- .../impl/test/UndefinedAuthReferenceTest.java | 10 +- .../sdk/impl/test/WaitExecutorTest.java | 20 ++-- .../sdk/impl/test/WorkflowDefinitionTest.java | 18 ++-- .../WorkflowExecutionListenerOutputTest.java | 14 +-- .../sdk/impl/test/WorkflowInstanceIdTest.java | 10 +- .../grpc/GrpcBiDirectionalStreamingTest.java | 24 ++--- .../test/grpc/GrpcClientStreamingTest.java | 22 ++--- .../test/grpc/GrpcServerStreamingTest.java | 24 ++--- .../impl/test/grpc/GrpcUnaryArgsExprTest.java | 24 ++--- .../sdk/impl/test/grpc/GrpcUnaryTest.java | 24 ++--- .../ContributorBiDiStreamingHandler.java | 6 +- .../ContributorClientStreamingHandler.java | 6 +- .../ContributorServerStreamingHandler.java | 6 +- .../ContributorUnaryArgsExprHandler.java | 6 +- .../grpc/handlers/PersonUnaryHandler.java | 2 +- .../sdk/impl/test/junit/BinaryCheckUtil.java | 2 +- .../junit/DisabledIfProtocUnavailable.java | 2 +- .../junit/DisabledIfPythonUnavailable.java | 2 +- .../impl/test/junit/ProtocCheckCondition.java | 4 +- .../impl/test/junit/PythonCheckCondition.java | 4 +- .../grpc/proto/contributors.proto | 2 +- impl/validation/pom.xml | 8 +- .../jackson/schema/JsonSchemaValidator.java | 4 +- .../schema/JsonSchemaValidatorFactory.java | 12 +-- ...low.sdk.impl.schema.SchemaValidatorFactory | 1 + ...low.sdk.impl.schema.SchemaValidatorFactory | 1 - mermaid/README.md | 14 +-- mermaid/pom.xml | 8 +- .../openworkflow/sdk/mermaid/CallNode.java | 8 +- .../sdk/mermaid/DefaultNodeRenderer.java | 2 +- .../openworkflow/sdk/mermaid/Edge.java | 2 +- .../openworkflow/sdk/mermaid/EmitNode.java | 6 +- .../sdk/mermaid/EndpointStringify.java | 20 ++-- .../openworkflow/sdk/mermaid/ForNode.java | 6 +- .../openworkflow/sdk/mermaid/ForkNode.java | 6 +- .../openworkflow/sdk/mermaid/Ids.java | 4 +- .../sdk/mermaid/IteratorNode.java | 4 +- .../openworkflow/sdk/mermaid/ListenNode.java | 8 +- .../openworkflow/sdk/mermaid/Mermaid.java | 6 +- .../sdk/mermaid/MermaidGraph.java | 12 +-- .../openworkflow/sdk/mermaid/MermaidInk.java | 2 +- .../sdk/mermaid/MermaidRenderer.java | 2 +- .../openworkflow/sdk/mermaid/Node.java | 2 +- .../openworkflow/sdk/mermaid/NodeBuilder.java | 28 +++--- .../sdk/mermaid/NodeRenderer.java | 2 +- .../openworkflow/sdk/mermaid/NodeType.java | 2 +- .../openworkflow/sdk/mermaid/RaiseNode.java | 4 +- .../openworkflow/sdk/mermaid/RunNode.java | 6 +- .../sdk/mermaid/SubgraphNode.java | 2 +- .../sdk/mermaid/SubgraphNodeRenderer.java | 2 +- .../openworkflow/sdk/mermaid/SwitchNode.java | 6 +- .../openworkflow/sdk/mermaid/TaskNode.java | 4 +- .../sdk/mermaid/TaskSubgraphNode.java | 4 +- .../sdk/mermaid/TryCatchNode.java | 4 +- .../openworkflow/sdk/mermaid/WaitNode.java | 8 +- .../sdk/mermaid/ClasspathYamlFinder.java | 2 +- .../sdk/mermaid/MermaidSmokeTest.java | 6 +- pom.xml | 10 +- serialization/pom.xml | 4 +- .../sdk/serialization/DeserializeHelper.java | 4 +- .../sdk/serialization/SerializeHelper.java | 4 +- types/pom.xml | 12 +-- .../openworkflow/sdk/types/Defaults.java | 2 +- .../openworkflow/sdk/types/Errors.java | 2 +- 776 files changed, 3445 insertions(+), 3445 deletions(-) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/AdditionalProperties.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/ExclusiveUnion.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/InclusiveUnion.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/Item.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/ItemKey.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/ItemValue.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/OneOfSetter.java (95%) rename annotations/src/main/java/{org => cloud}/openworkflow/sdk/annotations/OneOfValueProvider.java (93%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/DirectReader.java (93%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/ObjectMapperFactory.java (89%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/ValidationReader.java (96%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/WorkflowFormat.java (98%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/WorkflowReader.java (98%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/WorkflowReaderOperations.java (91%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/api/WorkflowWriter.java (98%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java (96%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java (97%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/serialization/URIDeserializer.java (96%) rename api/src/main/java/{org => cloud}/openworkflow/sdk/serialization/URISerializer.java (95%) rename api/src/test/java/{org => cloud}/openworkflow/sdk/api/ApiTest.java (86%) rename api/src/test/java/{org => cloud}/openworkflow/sdk/api/FeaturesTest.java (88%) rename examples/simpleGet/src/main/java/{org => cloud}/openworkflow/sdk/impl/BlockingExample.java (93%) rename examples/simpleGet/src/main/java/{org => cloud}/openworkflow/sdk/impl/NotBlockingExample.java (93%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java (91%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java (88%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java (95%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java (84%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java (96%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java (91%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java (85%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java (83%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java (82%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java (78%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java (85%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/DoTaskBuilder.java (97%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/DocumentBuilder.java (93%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java (93%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java (95%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java (83%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/EventFilterBuilder.java (95%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java (94%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ExportBuilder.java (80%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/InputBuilder.java (88%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java (96%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ListenToBuilder.java (82%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java (98%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/OIDCBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java (85%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/OutputBuilder.java (80%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java (94%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java (93%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/ScheduleBuilder.java (96%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/SetTaskBuilder.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java (95%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java (94%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/TimeoutBuilder.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/TryTaskBuilder.java (95%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/UseBuilder.java (88%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/WorkflowBuilder.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java (81%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java (85%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java (81%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java (81%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java (80%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java (96%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java (93%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java (85%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/DSL.java (95%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java (80%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java (82%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java (93%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java (91%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java (78%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java (92%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/TrySpec.java (80%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/UseSpec.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java (88%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java (84%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/DoFluent.java (62%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/EmitFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java (88%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java (85%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java (80%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/ForkFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java (82%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/ListenFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/OutputFluent.java (84%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/SetFluent.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java (87%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java (86%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java (88%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java (83%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/WaitFluent.java (89%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java (90%) rename fluent/spec/src/main/java/{org => cloud}/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java (87%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/InputBuilderTest.java (99%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java (92%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java (98%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java (97%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java (92%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java (95%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java (94%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java (96%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java (89%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java (83%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/DSLTest.java (91%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java (90%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java (94%) rename fluent/spec/src/test/java/{org => cloud}/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java (97%) rename generators/jackson/src/main/java/{org => cloud}/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java (98%) rename generators/jackson/src/main/java/{org => cloud}/openworkflow/sdk/generator/jackson/GeneratorUtils.java (97%) rename generators/jackson/src/main/java/{org => cloud}/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java (96%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java (98%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/CustomAnnotator.java (93%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/EmptyObjectTypeRule.java (97%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/GeneratorUtils.java (97%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/JTypeWrapper.java (88%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/RefNameHelper.java (97%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java (95%) rename generators/types/src/main/java/{org => cloud}/openworkflow/sdk/generator/UnreferencedFactory.java (97%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java (88%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java (91%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java (83%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java (83%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/A2AUtils.java (91%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java (84%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java (84%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java (84%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java (85%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java (85%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java (88%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java (91%) rename impl/a2a/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java (90%) create mode 100644 impl/a2a/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder delete mode 100644 impl/a2a/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java (75%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java (81%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java (81%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/ContainerRunner.java (94%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java (81%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/NamePropertySetter.java (75%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java (89%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java (75%) rename impl/container/src/main/java/{org => cloud}/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java (85%) create mode 100644 impl/container/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder delete mode 100644 impl/container/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder rename impl/container/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ContainerTest.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/AbstractWorkflowModel.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/AuthorizationDescriptor.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/CollectionConversionUtils.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/CompositeExpressionFactory.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/ExecutorServiceFactory.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/FunctionReader.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/LifecycleEvents.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/LifecycleEventsUtils.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/MonotonicUlidWorkflowInstanceIdFactory.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/NamedObject.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/QueueWorkflowPosition.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/RuntimeDescriptorFactory.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/SchedulerListener.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/ServicePriority.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/StringBufferWorkflowPosition.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/TaskContext.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/TaskContextData.java (91%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowApplication.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowContext.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowContextData.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowDecorator.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowDefinition.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowDefinitionData.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowDefinitionId.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowError.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowException.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowFilter.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowInstance.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowInstanceData.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowModel.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowModelCollection.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowModelFactory.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowMutableInstance.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowMutablePosition.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowPosition.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowPositionFactory.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowPredicate.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowStatus.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowUtils.java (92%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/WorkflowValueResolver.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java (82%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AccessTokenProvider.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java (92%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AuthProvider.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AuthProviderFactory.java (81%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AuthRequestBuilder.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/AuthUtils.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/BasicAuthProvider.java (78%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/BearerAuthProvider.java (71%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/ClientSecretBasic.java (81%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/ClientSecretHandler.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/ClientSecretPost.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/CommonOAuthProvider.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/DigestAuthProvider.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/JWT.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/JWTConverter.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/JwtClientAssertion.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OAuthPolicyData.java (78%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OAuthScheme.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OAuthUtils.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/auth/TokenIntrospection.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/config/AbstractConfigManager.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/config/ConfigManager.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/config/ConfigSecretManager.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/config/SecretManager.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/AbstractTypeConsumer.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/CloudEventPredicate.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java (79%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/CloudEventUtils.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/CorrelationPredicate.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EmitSourceResolver.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EmittedEventDecorator.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventConsumer.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventPublisher.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventRegistration.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventRegistrationBuilder.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/EventRegistrationInfo.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/InMemoryEvents.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/TypeEventRegistration.java (92%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/CallTaskExecutor.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/CallableTask.java (81%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/CallableTaskBuilder.java (77%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/CallableTaskFactory.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java (74%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/DoExecutor.java (82%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/EmitExecutor.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/ForExecutor.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/ForkExecutor.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/ListenExecutor.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/ProcessResult.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RaiseExecutor.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RegularTaskExecutor.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunScriptExecutor.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunShellExecutor.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunTaskExecutor.java (82%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java (76%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/SetExecutor.java (76%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/SwitchExecutor.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TaskExecutor.java (78%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TaskExecutorFactory.java (73%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TaskExecutorHelper.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TransitionInfo.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/TryExecutor.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/WaitExecutor.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java (79%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/http/HttpExecutor.java (77%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java (76%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java (99%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java (99%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java (82%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java (82%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/RetryExecutor.java (82%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ExpressionFactory.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ExpressionUtils.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ExpressionValidationException.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ObjectExpression.java (79%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java (92%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ProxyCollection.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ProxyIterator.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/ProxyMap.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/TaskDescriptor.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java (81%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/DefaultHttpRequest.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java (91%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/DefaultHttpResponse.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java (99%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/URIDecodedBuilder.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/URITemplateResolver.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpContentType.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpHelper.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpRequest.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowHttpResponse.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/EventType.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java (86%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java (91%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java (99%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java (72%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java (80%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java (90%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java (62%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java (98%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/MarshallingUtils.java (99%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/TaskStatus.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/Type.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/CachedResource.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/ClasspathResource.java (92%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/DefaultResourceLoader.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java (91%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/ExternalResourceHandler.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/FileResource.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/GitHubHelper.java (91%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/HttpResource.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/ResourceContentConverter.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/ResourceLoader.java (85%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/Cancellable.java (93%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/CronResolver.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/CronResolverFactory.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java (83%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java (91%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java (95%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java (89%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/schema/SchemaValidator.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java (84%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scripts/ScriptContext.java (88%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scripts/ScriptLanguageId.java (96%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scripts/ScriptRunner.java (78%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scripts/ScriptUtils.java (87%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scripts/StreamSupplier.java (94%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/scripts/StreamSuppliers.java (97%) rename impl/core/src/main/java/{org => cloud}/openworkflow/sdk/impl/utils/RandomFactory.java (94%) rename impl/core/src/main/resources/META-INF/native-image/{org.openworkflow.sdk => cloud.openworkflow.sdk}/openworkflow-impl-core/reflect-config.json (85%) create mode 100644 impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder create mode 100644 impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder delete mode 100644 impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder delete mode 100644 impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java (95%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/LowestPriority.java (95%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/LowestPriorityListener.java (86%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/MediumPriority.java (94%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/MediumPriorityListener.java (90%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/ServicePriorityTest.java (96%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/TopPriority.java (95%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/TopPriorityListener.java (86%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java (94%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/WorkflowListenerTest.java (95%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/WorkflowUtilsTest.java (98%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/auth/JWTTest.java (96%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java (98%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java (97%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/marshaller/Employee.java (93%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java (98%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/marshaller/NonSerializableClass.java (93%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/marshaller/Person.java (93%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/marshaller/SerializableClass.java (94%) rename impl/core/src/test/java/{org => cloud}/openworkflow/sdk/impl/marshaller/Student.java (93%) create mode 100644 impl/core/src/test/resources/META-INF/services/cloud.openworkflow.sdk.impl.ServicePriority delete mode 100644 impl/core/src/test/resources/META-INF/services/org.openworkflow.sdk.impl.ServicePriority rename impl/cron/src/main/java/{org => cloud}/openworkflow/sdk/impl/cron/CronUtilsResolver.java (91%) rename impl/cron/src/main/java/{org => cloud}/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java (87%) create mode 100644 impl/cron/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scheduler.CronResolverFactory delete mode 100644 impl/cron/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scheduler.CronResolverFactory rename impl/function/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java (80%) create mode 100644 impl/function/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.FunctionReader delete mode 100644 impl/function/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.FunctionReader rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java (83%) rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java (99%) rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java (95%) rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java (79%) rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java (83%) rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java (81%) rename impl/grpc/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java (89%) create mode 100644 impl/grpc/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder delete mode 100644 impl/grpc/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder rename impl/http-jackson/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java (78%) create mode 100644 impl/http-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject delete mode 100644 impl/http-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java (91%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java (93%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java (85%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java (85%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java (89%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java (88%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java (91%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java (85%) rename impl/http/src/main/java/{org => cloud}/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java (89%) create mode 100644 impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.URITemplateResolver create mode 100644 impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory delete mode 100644 impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.URITemplateResolver delete mode 100644 impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory rename impl/javascript/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java (86%) create mode 100644 impl/javascript/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner delete mode 100644 impl/javascript/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner rename impl/jq/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/jq/JQExpression.java (84%) rename impl/jq/src/main/java/{org => cloud}/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java (90%) create mode 100644 impl/jq/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.expressions.ExpressionFactory delete mode 100644 impl/jq/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.expressions.ExpressionFactory rename impl/jq/src/test/java/{org => cloud}/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java (88%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java (98%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/FunctionJsonNode.java (96%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java (97%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/JsonUtils.java (99%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/MergeUtils.java (98%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java (89%) rename impl/json-utils/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java (95%) rename impl/json-utils/src/test/java/{org => cloud}/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java (99%) rename impl/json-utils/src/test/java/{org => cloud}/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java (97%) rename impl/lifecycleevent/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java (81%) create mode 100644 impl/lifecycleevent/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener delete mode 100644 impl/lifecycleevent/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener rename impl/lifecycleevent/src/test/java/{org => cloud}/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java (65%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java (77%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java (93%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModel.java (95%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java (94%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java (95%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java (94%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java (95%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java (95%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java (92%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java (89%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java (95%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java (94%) rename impl/model/src/main/java/{org => cloud}/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java (90%) rename impl/model/src/main/resources/META-INF/native-image/{org.openworkflow.sdk => cloud.openworkflow.sdk}/openworkflow-impl-model/reflect-config.json (82%) create mode 100644 impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.WorkflowModelFactory create mode 100644 impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.auth.JWTConverter create mode 100644 impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller delete mode 100644 impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.WorkflowModelFactory delete mode 100644 impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.auth.JWTConverter delete mode 100644 impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller rename impl/model/src/test/java/{org => cloud}/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java (96%) rename impl/model/src/test/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/Employee.java (92%) rename impl/model/src/test/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java (84%) rename impl/model/src/test/java/{org => cloud}/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java (93%) rename impl/openapi-jackson/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java (96%) rename impl/openapi-jackson/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java (93%) rename impl/openapi-jackson/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java (77%) rename impl/openapi-jackson/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java (80%) create mode 100644 impl/openapi-jackson/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json delete mode 100644 impl/openapi-jackson/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json create mode 100644 impl/openapi-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject delete mode 100644 impl/openapi-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject rename impl/openapi-jackson/src/test/java/{org => cloud}/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java (82%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java (95%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java (92%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java (94%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java (95%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java (93%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/CorrelationOperations.java (95%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java (94%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java (92%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java (94%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java (89%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java (82%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java (89%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceExecutor.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java (91%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java (84%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java (94%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java (88%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java (93%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java (88%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java (94%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java (91%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java (81%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java (92%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java (89%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java (76%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java (92%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java (95%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/HashFactory.java (91%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/HashIndex.java (92%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/HashItem.java (87%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java (99%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java (92%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java (86%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/LRUCache.java (99%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java (90%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java (94%) rename impl/persistence/api/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java (92%) rename impl/persistence/api/src/test/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java (98%) rename impl/persistence/api/src/test/java/{org => cloud}/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java (99%) rename impl/persistence/bigmap/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java (90%) rename impl/persistence/bigmap/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java (90%) rename impl/persistence/mvstore/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java (77%) rename impl/persistence/mvstore/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java (89%) rename impl/persistence/mvstore/src/test/java/{org => cloud}/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java (83%) rename impl/persistence/mvstore/src/test/java/{org => cloud}/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java (83%) rename impl/persistence/mvstore/src/test/java/{org => cloud}/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java (83%) rename impl/persistence/mvstore/src/test/java/{org => cloud}/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java (77%) rename impl/persistence/tests/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java (81%) rename impl/persistence/tests/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java (85%) rename impl/persistence/tests/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java (77%) rename impl/persistence/tests/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java (76%) rename impl/persistence/tests/src/main/java/{org => cloud}/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java (77%) rename impl/python/src/main/java/{org => cloud}/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java (81%) create mode 100644 impl/python/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner delete mode 100644 impl/python/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java (86%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/A2AExecutorTest.java (98%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/AccessTokenProvider.java (97%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java (85%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/BasicAuthHttpTest.java (89%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/CancelMetadataTest.java (92%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ConcurrentStartTest.java (88%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/CoreTaskTypesTest.java (96%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/CorrelationTest.java (94%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java (87%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/CustomFunctionTest.java (88%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/DBGenerator.java (74%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java (87%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/DigestAuthHttpTest.java (89%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/EmitExecutorTest.java (94%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/EventDefinitionTest.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ForTaskMissingInTest.java (87%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ForkWaitTest.java (88%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java (97%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/LifeCycleEventsTest.java (86%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/MvStorePersistenceTest.java (87%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java (98%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/OAuthUtilsTest.java (83%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/OpenAPITest.java (96%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java (98%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ResolvePolicyTest.java (83%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/RetryTimeoutTest.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/RunShellExecutorTest.java (96%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java (93%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/SchedulerTest.java (90%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/SecretExpressionTest.java (91%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/SubWorkflowTest.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java (83%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java (90%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/WaitExecutorTest.java (94%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java (94%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java (83%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java (84%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java (85%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java (84%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java (85%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java (84%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java (85%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java (86%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java (90%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java (84%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java (82%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java (97%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java (95%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java (93%) rename impl/test/src/test/java/{org => cloud}/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java (91%) rename impl/validation/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java (93%) rename impl/validation/src/main/java/{org => cloud}/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java (76%) create mode 100644 impl/validation/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory delete mode 100644 impl/validation/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.schema.SchemaValidatorFactory rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/CallNode.java (93%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/DefaultNodeRenderer.java (97%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/Edge.java (98%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/EmitNode.java (88%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/EndpointStringify.java (92%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/ForNode.java (93%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/ForkNode.java (94%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/Ids.java (96%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/IteratorNode.java (93%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/ListenNode.java (94%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/Mermaid.java (92%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/MermaidGraph.java (92%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/MermaidInk.java (98%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/MermaidRenderer.java (95%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/Node.java (98%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/NodeBuilder.java (83%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/NodeRenderer.java (96%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/NodeType.java (96%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/RaiseNode.java (92%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/RunNode.java (92%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/SubgraphNode.java (95%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java (97%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/SwitchNode.java (93%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/TaskNode.java (90%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/TaskSubgraphNode.java (93%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/TryCatchNode.java (94%) rename mermaid/src/main/java/{org => cloud}/openworkflow/sdk/mermaid/WaitNode.java (94%) rename mermaid/src/test/java/{org => cloud}/openworkflow/sdk/mermaid/ClasspathYamlFinder.java (99%) rename mermaid/src/test/java/{org => cloud}/openworkflow/sdk/mermaid/MermaidSmokeTest.java (91%) rename serialization/src/main/java/{org => cloud}/openworkflow/sdk/serialization/DeserializeHelper.java (97%) rename serialization/src/main/java/{org => cloud}/openworkflow/sdk/serialization/SerializeHelper.java (88%) rename types/src/main/java/{org => cloud}/openworkflow/sdk/types/Defaults.java (95%) rename types/src/main/java/{org => cloud}/openworkflow/sdk/types/Errors.java (99%) diff --git a/README.md b/README.md index ceb6bd900..e140529bd 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Add the following dependencies to your pom.xml `dependencies` section: ```xml - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api RELEASE_VERSION @@ -66,7 +66,7 @@ Add the following dependencies to your pom.xml `dependencies` section: Add the following dependencies to your build.gradle `dependencies` section: ```text -implementation("org.openworkflow.sdk:openworkflow-api:RELEASE_VERSION") +implementation("cloud.openworkflow.sdk:openworkflow-api:RELEASE_VERSION") ``` ## How to Use @@ -78,7 +78,7 @@ There are, roughly speaking, two kind of users of this SDK: ### Implementing your own runtime For those ones interested on implementing their own runtime, this SDK provides an easy way to load an in memory representation of a given workflow definition. -This in-memory representation consists of a hierarchy of POJOS directly generated from the Open Workflow specification [schema](api/src/main/resources/schema/workflow.yaml), which ensures the internal representation is aligned with the specification schema. The root of the hierarchy is `org.openworkflow.sdk.api.types.Workflow` class +This in-memory representation consists of a hierarchy of POJOS directly generated from the Open Workflow specification [schema](api/src/main/resources/schema/workflow.yaml), which ensures the internal representation is aligned with the specification schema. The root of the hierarchy is `cloud.openworkflow.sdk.api.types.Workflow` class ### Reading workflow definition from JSON/YAML source diff --git a/annotations/pom.xml b/annotations/pom.xml index abcac2081..a357b3bcc 100644 --- a/annotations/pom.xml +++ b/annotations/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/AdditionalProperties.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/AdditionalProperties.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/AdditionalProperties.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/AdditionalProperties.java index 4a185161b..9aedec215 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/AdditionalProperties.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/AdditionalProperties.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/ExclusiveUnion.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/ExclusiveUnion.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/ExclusiveUnion.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/ExclusiveUnion.java index d404647bb..b7bfada3d 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/ExclusiveUnion.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/ExclusiveUnion.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/InclusiveUnion.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/InclusiveUnion.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/InclusiveUnion.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/InclusiveUnion.java index 9bbb4793a..4140bbc66 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/InclusiveUnion.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/InclusiveUnion.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/Item.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/Item.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/Item.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/Item.java index fd15f610f..7bd562abd 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/Item.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/Item.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/ItemKey.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/ItemKey.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/ItemKey.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/ItemKey.java index 5348cda86..fefafb957 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/ItemKey.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/ItemKey.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/ItemValue.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/ItemValue.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/ItemValue.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/ItemValue.java index e10be20e4..b5f26836c 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/ItemValue.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/ItemValue.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/OneOfSetter.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/OneOfSetter.java similarity index 95% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/OneOfSetter.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/OneOfSetter.java index f0bb21bba..5ed1c93e3 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/OneOfSetter.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/OneOfSetter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/annotations/src/main/java/org/openworkflow/sdk/annotations/OneOfValueProvider.java b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/OneOfValueProvider.java similarity index 93% rename from annotations/src/main/java/org/openworkflow/sdk/annotations/OneOfValueProvider.java rename to annotations/src/main/java/cloud/openworkflow/sdk/annotations/OneOfValueProvider.java index 98dd80209..5d803b001 100644 --- a/annotations/src/main/java/org/openworkflow/sdk/annotations/OneOfValueProvider.java +++ b/annotations/src/main/java/cloud/openworkflow/sdk/annotations/OneOfValueProvider.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.annotations; +package cloud.openworkflow.sdk.annotations; public interface OneOfValueProvider { T get(); diff --git a/api/pom.xml b/api/pom.xml index 55bb6964c..ff0cf1c46 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT @@ -14,11 +14,11 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-serialization @@ -78,13 +78,13 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-jackson-generator ${project.version} - org.openworkflow.sdk.api.types - org.openworkflow.sdk.api.types.jackson + cloud.openworkflow.sdk.api.types + cloud.openworkflow.sdk.api.types.jackson diff --git a/api/src/main/java/org/openworkflow/sdk/api/DirectReader.java b/api/src/main/java/cloud/openworkflow/sdk/api/DirectReader.java similarity index 93% rename from api/src/main/java/org/openworkflow/sdk/api/DirectReader.java rename to api/src/main/java/cloud/openworkflow/sdk/api/DirectReader.java index a60a156be..bceea8e54 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/DirectReader.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/DirectReader.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.InputStream; import java.io.Reader; -import org.openworkflow.sdk.api.types.Workflow; class DirectReader implements WorkflowReaderOperations { diff --git a/api/src/main/java/org/openworkflow/sdk/api/ObjectMapperFactory.java b/api/src/main/java/cloud/openworkflow/sdk/api/ObjectMapperFactory.java similarity index 89% rename from api/src/main/java/org/openworkflow/sdk/api/ObjectMapperFactory.java rename to api/src/main/java/cloud/openworkflow/sdk/api/ObjectMapperFactory.java index 36a8f038d..a81c1b93e 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/ObjectMapperFactory.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/ObjectMapperFactory.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import cloud.openworkflow.sdk.api.types.jackson.JacksonMixInModule; +import cloud.openworkflow.sdk.serialization.BeanDeserializerModifierWithValidation; +import cloud.openworkflow.sdk.serialization.URIDeserializer; +import cloud.openworkflow.sdk.serialization.URISerializer; import com.fasterxml.jackson.annotation.JsonInclude; import java.net.URI; -import org.openworkflow.sdk.api.types.jackson.JacksonMixInModule; -import org.openworkflow.sdk.serialization.BeanDeserializerModifierWithValidation; -import org.openworkflow.sdk.serialization.URIDeserializer; -import org.openworkflow.sdk.serialization.URISerializer; import tools.jackson.databind.DeserializationFeature; import tools.jackson.databind.ObjectMapper; import tools.jackson.databind.SerializationFeature; diff --git a/api/src/main/java/org/openworkflow/sdk/api/ValidationReader.java b/api/src/main/java/cloud/openworkflow/sdk/api/ValidationReader.java similarity index 96% rename from api/src/main/java/org/openworkflow/sdk/api/ValidationReader.java rename to api/src/main/java/cloud/openworkflow/sdk/api/ValidationReader.java index 89703c7d2..c7d671b46 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/ValidationReader.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/ValidationReader.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import cloud.openworkflow.sdk.api.types.Workflow; import com.networknt.schema.Error; import com.networknt.schema.InputFormat; import com.networknt.schema.Schema; @@ -26,7 +27,6 @@ import java.io.UncheckedIOException; import java.util.Collection; import java.util.stream.Collectors; -import org.openworkflow.sdk.api.types.Workflow; import tools.jackson.databind.JsonNode; class ValidationReader implements WorkflowReaderOperations { diff --git a/api/src/main/java/org/openworkflow/sdk/api/WorkflowFormat.java b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowFormat.java similarity index 98% rename from api/src/main/java/org/openworkflow/sdk/api/WorkflowFormat.java rename to api/src/main/java/cloud/openworkflow/sdk/api/WorkflowFormat.java index b4f0aa25d..e2c2bc6b8 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/WorkflowFormat.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowFormat.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; import java.nio.file.Path; import tools.jackson.databind.ObjectMapper; diff --git a/api/src/main/java/org/openworkflow/sdk/api/WorkflowReader.java b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowReader.java similarity index 98% rename from api/src/main/java/org/openworkflow/sdk/api/WorkflowReader.java rename to api/src/main/java/cloud/openworkflow/sdk/api/WorkflowReader.java index 7149aafcd..be510cfe1 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/WorkflowReader.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowReader.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.nio.file.Files; import java.nio.file.Path; -import org.openworkflow.sdk.api.types.Workflow; /** Utility class for reading and parsing Open Workflow definitions from various sources. */ public class WorkflowReader { diff --git a/api/src/main/java/org/openworkflow/sdk/api/WorkflowReaderOperations.java b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowReaderOperations.java similarity index 91% rename from api/src/main/java/org/openworkflow/sdk/api/WorkflowReaderOperations.java rename to api/src/main/java/cloud/openworkflow/sdk/api/WorkflowReaderOperations.java index 578156cee..91a12f0ad 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/WorkflowReaderOperations.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowReaderOperations.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.InputStream; import java.io.Reader; -import org.openworkflow.sdk.api.types.Workflow; public interface WorkflowReaderOperations { Workflow read(InputStream input, WorkflowFormat format); diff --git a/api/src/main/java/org/openworkflow/sdk/api/WorkflowWriter.java b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowWriter.java similarity index 98% rename from api/src/main/java/org/openworkflow/sdk/api/WorkflowWriter.java rename to api/src/main/java/cloud/openworkflow/sdk/api/WorkflowWriter.java index 1c8e77723..36962f71a 100644 --- a/api/src/main/java/org/openworkflow/sdk/api/WorkflowWriter.java +++ b/api/src/main/java/cloud/openworkflow/sdk/api/WorkflowWriter.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.Writer; import java.nio.file.Files; import java.nio.file.Path; -import org.openworkflow.sdk.api.types.Workflow; /** * Utility class for writing Open Workflow definitions to various outputs and formats. diff --git a/api/src/main/java/org/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java b/api/src/main/java/cloud/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java similarity index 96% rename from api/src/main/java/org/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java rename to api/src/main/java/cloud/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java index fe3a4d155..9100ec0c4 100644 --- a/api/src/main/java/org/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java +++ b/api/src/main/java/cloud/openworkflow/sdk/serialization/BeanDeserializerModifierWithValidation.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.serialization; +package cloud.openworkflow.sdk.serialization; import tools.jackson.databind.BeanDescription; import tools.jackson.databind.DeserializationConfig; diff --git a/api/src/main/java/org/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java b/api/src/main/java/cloud/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java similarity index 97% rename from api/src/main/java/org/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java rename to api/src/main/java/cloud/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java index c0f9bb118..931f0fb5b 100644 --- a/api/src/main/java/org/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java +++ b/api/src/main/java/cloud/openworkflow/sdk/serialization/BeanDeserializerWithValidation.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.serialization; +package cloud.openworkflow.sdk.serialization; import jakarta.validation.ConstraintViolation; import jakarta.validation.ConstraintViolationException; diff --git a/api/src/main/java/org/openworkflow/sdk/serialization/URIDeserializer.java b/api/src/main/java/cloud/openworkflow/sdk/serialization/URIDeserializer.java similarity index 96% rename from api/src/main/java/org/openworkflow/sdk/serialization/URIDeserializer.java rename to api/src/main/java/cloud/openworkflow/sdk/serialization/URIDeserializer.java index c57f4e31d..064e763bc 100644 --- a/api/src/main/java/org/openworkflow/sdk/serialization/URIDeserializer.java +++ b/api/src/main/java/cloud/openworkflow/sdk/serialization/URIDeserializer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.serialization; +package cloud.openworkflow.sdk.serialization; import java.net.URI; import java.net.URISyntaxException; diff --git a/api/src/main/java/org/openworkflow/sdk/serialization/URISerializer.java b/api/src/main/java/cloud/openworkflow/sdk/serialization/URISerializer.java similarity index 95% rename from api/src/main/java/org/openworkflow/sdk/serialization/URISerializer.java rename to api/src/main/java/cloud/openworkflow/sdk/serialization/URISerializer.java index fde3c0e81..d6af6ff1e 100644 --- a/api/src/main/java/org/openworkflow/sdk/serialization/URISerializer.java +++ b/api/src/main/java/cloud/openworkflow/sdk/serialization/URISerializer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.serialization; +package cloud.openworkflow.sdk.serialization; import java.net.URI; import tools.jackson.core.JsonGenerator; diff --git a/api/src/test/java/org/openworkflow/sdk/api/ApiTest.java b/api/src/test/java/cloud/openworkflow/sdk/api/ApiTest.java similarity index 86% rename from api/src/test/java/org/openworkflow/sdk/api/ApiTest.java rename to api/src/test/java/cloud/openworkflow/sdk/api/ApiTest.java index 7055d3ffb..f158a27c7 100644 --- a/api/src/test/java/org/openworkflow/sdk/api/ApiTest.java +++ b/api/src/test/java/cloud/openworkflow/sdk/api/ApiTest.java @@ -13,25 +13,25 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.CallFunction; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.CallTask; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; +import cloud.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.IOException; import java.net.URI; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicy; -import org.openworkflow.sdk.api.types.CallFunction; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.CallTask; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; -import org.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.api.types.Workflow; public class ApiTest { diff --git a/api/src/test/java/org/openworkflow/sdk/api/FeaturesTest.java b/api/src/test/java/cloud/openworkflow/sdk/api/FeaturesTest.java similarity index 88% rename from api/src/test/java/org/openworkflow/sdk/api/FeaturesTest.java rename to api/src/test/java/cloud/openworkflow/sdk/api/FeaturesTest.java index 3a65508a7..7a7f2d873 100644 --- a/api/src/test/java/org/openworkflow/sdk/api/FeaturesTest.java +++ b/api/src/test/java/cloud/openworkflow/sdk/api/FeaturesTest.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.api; +package cloud.openworkflow.sdk.api; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.api.WorkflowReader.validation; +import static cloud.openworkflow.sdk.api.WorkflowWriter.workflowAsBytes; +import static cloud.openworkflow.sdk.api.WorkflowWriter.workflowAsString; +import static cloud.openworkflow.sdk.api.WorkflowWriter.writeWorkflow; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.api.WorkflowReader.validation; -import static org.openworkflow.sdk.api.WorkflowWriter.workflowAsBytes; -import static org.openworkflow.sdk.api.WorkflowWriter.workflowAsString; -import static org.openworkflow.sdk.api.WorkflowWriter.writeWorkflow; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import org.openworkflow.sdk.api.types.Workflow; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/bom/pom.xml b/bom/pom.xml index a5d8896d3..d4b9b4840 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT diff --git a/examples/events/pom.xml b/examples/events/pom.xml index f7534e2ef..28c0dc0c9 100644 --- a/examples/events/pom.xml +++ b/examples/events/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-examples 8.0.0-SNAPSHOT @@ -15,7 +15,7 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson diff --git a/examples/events/src/main/java/events/EventExample.java b/examples/events/src/main/java/events/EventExample.java index bbde3a624..ee71b35ff 100644 --- a/examples/events/src/main/java/events/EventExample.java +++ b/examples/events/src/main/java/events/EventExample.java @@ -15,12 +15,12 @@ */ package events; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.io.IOException; import java.util.Map; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/examples/pom.xml b/examples/pom.xml index 5d3d1b85b..b598775d8 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT ../pom.xml @@ -15,17 +15,17 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-http ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson ${project.version} diff --git a/examples/simpleGet/pom.xml b/examples/simpleGet/pom.xml index ab0d158ca..72a4d3138 100644 --- a/examples/simpleGet/pom.xml +++ b/examples/simpleGet/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-examples 8.0.0-SNAPSHOT @@ -9,12 +9,12 @@ Open Workflow :: Examples :: SimpleGet - org.openworkflow.sdk.impl.BlockingExample + cloud.openworkflow.sdk.impl.BlockingExample - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson diff --git a/examples/simpleGet/src/main/java/org/openworkflow/sdk/impl/BlockingExample.java b/examples/simpleGet/src/main/java/cloud/openworkflow/sdk/impl/BlockingExample.java similarity index 93% rename from examples/simpleGet/src/main/java/org/openworkflow/sdk/impl/BlockingExample.java rename to examples/simpleGet/src/main/java/cloud/openworkflow/sdk/impl/BlockingExample.java index abed8d0d1..a4e0fe53e 100644 --- a/examples/simpleGet/src/main/java/org/openworkflow/sdk/impl/BlockingExample.java +++ b/examples/simpleGet/src/main/java/cloud/openworkflow/sdk/impl/BlockingExample.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.api.WorkflowReader; import java.io.IOException; import java.util.Map; -import org.openworkflow.sdk.api.WorkflowReader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/examples/simpleGet/src/main/java/org/openworkflow/sdk/impl/NotBlockingExample.java b/examples/simpleGet/src/main/java/cloud/openworkflow/sdk/impl/NotBlockingExample.java similarity index 93% rename from examples/simpleGet/src/main/java/org/openworkflow/sdk/impl/NotBlockingExample.java rename to examples/simpleGet/src/main/java/cloud/openworkflow/sdk/impl/NotBlockingExample.java index 926ee63ef..3dee68412 100644 --- a/examples/simpleGet/src/main/java/org/openworkflow/sdk/impl/NotBlockingExample.java +++ b/examples/simpleGet/src/main/java/cloud/openworkflow/sdk/impl/NotBlockingExample.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.api.WorkflowReader; import java.io.IOException; import java.util.Map; -import org.openworkflow.sdk.api.WorkflowReader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/fluent/README.md b/fluent/README.md index 751456cf4..ad7c5ccc2 100644 --- a/fluent/README.md +++ b/fluent/README.md @@ -20,23 +20,23 @@ Add the modules you need to your Maven `pom.xml` (replace versions as appropriat ```xml - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-fluent-spec - ${version.org.openworkflow.sdk} + ${version.cloud.openworkflow.sdk} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-fluent-func - ${version.org.openworkflow.sdk} + ${version.cloud.openworkflow.sdk} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-fluent-agentic - ${version.org.openworkflow.sdk} + ${version.cloud.openworkflow.sdk} ``` @@ -50,8 +50,8 @@ Fully compliant with the CNCF Open Workflow spec.\ Use it when you want a 1:1 mapping of the YAML DSL in Java. ```java -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; Workflow wf = WorkflowBuilder .workflow("flowDo") @@ -82,7 +82,7 @@ The spec fluent DSL supports all three call task types defined by the specificat **HTTP call:** ```java -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; Workflow wf = WorkflowBuilder.workflow("myFlow", "myNs", "1.0") .tasks(call( @@ -182,8 +182,8 @@ A Java‑first DSL that builds on **spec**, adding: - Built‑in `Function`/`Predicate` support instead of JQ expressions ```java -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.func.FuncWorkflowBuilder; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.func.FuncWorkflowBuilder; Workflow wf = FuncWorkflowBuilder .workflow("callJavaFlow") @@ -215,8 +215,8 @@ Built on **func** for LangChain4j agentic workflows. Adds: - `parallel(...)`: fork agent calls concurrently ```java -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.agentic.AgentWorkflowBuilder; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.agentic.AgentWorkflowBuilder; var scorer = AgentsUtils.newMovieExpert(); var editor = AgentsUtils.newMovieExpert(); @@ -238,8 +238,8 @@ Workflow wf = AgentWorkflowBuilder ## 🚀 Real‑World Example: Order Fulfillment ```java -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.agentic.AgentWorkflowBuilder; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.agentic.AgentWorkflowBuilder; import java.util.function.Predicate; public class OrderFulfillment { diff --git a/fluent/pom.xml b/fluent/pom.xml index 2e6a8793b..7687fc286 100644 --- a/fluent/pom.xml +++ b/fluent/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT diff --git a/fluent/spec/pom.xml b/fluent/spec/pom.xml index 50e09a326..ba06a353d 100644 --- a/fluent/spec/pom.xml +++ b/fluent/spec/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-fluent 8.0.0-SNAPSHOT @@ -17,7 +17,7 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java index ec9e55b9d..65cebb6c7 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEmitTaskBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.EmitEventDefinition; +import cloud.openworkflow.sdk.api.types.EmitTask; +import cloud.openworkflow.sdk.api.types.EmitTaskConfiguration; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.EmitEventDefinition; -import org.openworkflow.sdk.api.types.EmitTask; -import org.openworkflow.sdk.api.types.EmitTaskConfiguration; public abstract class AbstractEmitTaskBuilder< SELF extends AbstractEmitTaskBuilder, F extends AbstractEventPropertiesBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java index 9b54d951b..4780a2115 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventConsumptionStrategyBuilder.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.AllEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.EventFilter; +import cloud.openworkflow.sdk.api.types.OneEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.Until; +import cloud.openworkflow.sdk.fluent.spec.spi.EventConsumptionStrategyFluent; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.AllEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.EventFilter; -import org.openworkflow.sdk.api.types.OneEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.Until; -import org.openworkflow.sdk.fluent.spec.spi.EventConsumptionStrategyFluent; public abstract class AbstractEventConsumptionStrategyBuilder< SELF extends EventConsumptionStrategyFluent, diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java similarity index 91% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java index e98decd58..1274b1b97 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventFilterBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.EventFilter; +import cloud.openworkflow.sdk.api.types.EventFilterCorrelate; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.EventFilter; -import org.openworkflow.sdk.api.types.EventFilterCorrelate; public abstract class AbstractEventFilterBuilder< SELF extends AbstractEventFilterBuilder, P extends AbstractEventPropertiesBuilder> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java index 4b1403f9a..4d8681bde 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractEventPropertiesBuilder.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.EventData; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.api.types.EventSource; +import cloud.openworkflow.sdk.api.types.EventTime; +import cloud.openworkflow.sdk.api.types.UriTemplate; import java.net.URI; import java.net.URISyntaxException; import java.util.Date; -import org.openworkflow.sdk.api.types.EventData; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.api.types.EventSource; -import org.openworkflow.sdk.api.types.EventTime; -import org.openworkflow.sdk.api.types.UriTemplate; public abstract class AbstractEventPropertiesBuilder< SELF extends AbstractEventPropertiesBuilder> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java index cff465df9..5b89e2ffd 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractForkTaskBuilder.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.DoTask; +import cloud.openworkflow.sdk.api.types.ForkTask; +import cloud.openworkflow.sdk.api.types.ForkTaskConfiguration; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.fluent.spec.spi.ForkTaskFluent; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.DoTask; -import org.openworkflow.sdk.api.types.ForkTask; -import org.openworkflow.sdk.api.types.ForkTaskConfiguration; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.fluent.spec.spi.ForkTaskFluent; public abstract class AbstractForkTaskBuilder< SELF extends AbstractForkTaskBuilder, L extends BaseTaskItemListBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java similarity index 88% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java index ee1d1bf08..03fd676ce 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/AbstractListenTaskBuilder.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.CorrelateProperty; +import cloud.openworkflow.sdk.api.types.ListenTask; +import cloud.openworkflow.sdk.api.types.ListenTaskConfiguration; +import cloud.openworkflow.sdk.api.types.ListenTo; +import cloud.openworkflow.sdk.api.types.TaskTimeout; +import cloud.openworkflow.sdk.api.types.Timeout; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.CorrelateProperty; -import org.openworkflow.sdk.api.types.ListenTask; -import org.openworkflow.sdk.api.types.ListenTaskConfiguration; -import org.openworkflow.sdk.api.types.ListenTo; -import org.openworkflow.sdk.api.types.TaskTimeout; -import org.openworkflow.sdk.api.types.Timeout; -import org.openworkflow.sdk.api.types.TimeoutAfter; public abstract class AbstractListenTaskBuilder< T extends BaseTaskItemListBuilder, diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java similarity index 95% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java index f880deb52..f2f47a50a 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseDoTaskBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.DoTask; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.DoTask; public abstract class BaseDoTaskBuilder< SELF extends BaseDoTaskBuilder, LIST extends BaseTaskItemListBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java similarity index 84% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java index 9b9d21aa1..d79fe55e2 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseRaiseTaskBuilder.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.ErrorDetails; +import cloud.openworkflow.sdk.api.types.ErrorTitle; +import cloud.openworkflow.sdk.api.types.ErrorType; +import cloud.openworkflow.sdk.api.types.RaiseTask; +import cloud.openworkflow.sdk.api.types.RaiseTaskConfiguration; +import cloud.openworkflow.sdk.api.types.RaiseTaskError; +import cloud.openworkflow.sdk.api.types.UriTemplate; import java.net.URI; import java.net.URISyntaxException; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.ErrorDetails; -import org.openworkflow.sdk.api.types.ErrorTitle; -import org.openworkflow.sdk.api.types.ErrorType; -import org.openworkflow.sdk.api.types.RaiseTask; -import org.openworkflow.sdk.api.types.RaiseTaskConfiguration; -import org.openworkflow.sdk.api.types.RaiseTaskError; -import org.openworkflow.sdk.api.types.UriTemplate; public abstract class BaseRaiseTaskBuilder> extends TaskBaseBuilder { @@ -57,10 +57,10 @@ public RaiseTask build() { } public static final class RaiseTaskErrorBuilder { - private final org.openworkflow.sdk.api.types.Error error; + private final cloud.openworkflow.sdk.api.types.Error error; private RaiseTaskErrorBuilder() { - this.error = new org.openworkflow.sdk.api.types.Error(); + this.error = new cloud.openworkflow.sdk.api.types.Error(); } public RaiseTaskErrorBuilder type(String expression) { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java similarity index 96% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java index fea49c26e..3d02efa16 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseTaskItemListBuilder.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.TaskItem; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.TaskItem; /** * A builder for an ordered {@link TaskItem} list. diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java index 42843ae01..49b22b365 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseTryTaskBuilder.java @@ -13,29 +13,29 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.CatchErrors; +import cloud.openworkflow.sdk.api.types.Constant; +import cloud.openworkflow.sdk.api.types.ConstantBackoff; +import cloud.openworkflow.sdk.api.types.ErrorFilter; +import cloud.openworkflow.sdk.api.types.Exponential; +import cloud.openworkflow.sdk.api.types.ExponentialBackOff; +import cloud.openworkflow.sdk.api.types.Linear; +import cloud.openworkflow.sdk.api.types.LinearBackoff; +import cloud.openworkflow.sdk.api.types.Retry; +import cloud.openworkflow.sdk.api.types.RetryBackoff; +import cloud.openworkflow.sdk.api.types.RetryLimit; +import cloud.openworkflow.sdk.api.types.RetryLimitAttempt; +import cloud.openworkflow.sdk.api.types.RetryPolicy; +import cloud.openworkflow.sdk.api.types.RetryPolicyJitter; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.api.types.TryTaskCatch; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.CatchErrors; -import org.openworkflow.sdk.api.types.Constant; -import org.openworkflow.sdk.api.types.ConstantBackoff; -import org.openworkflow.sdk.api.types.ErrorFilter; -import org.openworkflow.sdk.api.types.Exponential; -import org.openworkflow.sdk.api.types.ExponentialBackOff; -import org.openworkflow.sdk.api.types.Linear; -import org.openworkflow.sdk.api.types.LinearBackoff; -import org.openworkflow.sdk.api.types.Retry; -import org.openworkflow.sdk.api.types.RetryBackoff; -import org.openworkflow.sdk.api.types.RetryLimit; -import org.openworkflow.sdk.api.types.RetryLimitAttempt; -import org.openworkflow.sdk.api.types.RetryPolicy; -import org.openworkflow.sdk.api.types.RetryPolicyJitter; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.api.types.TryTaskCatch; public abstract class BaseTryTaskBuilder< B extends BaseTryTaskBuilder, T extends BaseTaskItemListBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java similarity index 91% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java index fac13e771..811989b5a 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BaseWorkflowBuilder.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - -import static org.openworkflow.sdk.types.Defaults.DSL; - +package cloud.openworkflow.sdk.fluent.spec; + +import static cloud.openworkflow.sdk.types.Defaults.DSL; + +import cloud.openworkflow.sdk.api.types.DoTimeout; +import cloud.openworkflow.sdk.api.types.Document; +import cloud.openworkflow.sdk.api.types.Input; +import cloud.openworkflow.sdk.api.types.Output; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.Timeout; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.spi.TransformationHandlers; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.DoTimeout; -import org.openworkflow.sdk.api.types.Document; -import org.openworkflow.sdk.api.types.Input; -import org.openworkflow.sdk.api.types.Output; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.Timeout; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.spi.TransformationHandlers; public abstract class BaseWorkflowBuilder< SELF extends BaseWorkflowBuilder, diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java similarity index 85% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java index cb3a5a718..22e8a3e85 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BasicAuthenticationPolicyBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.BasicAuthenticationPolicy; -import org.openworkflow.sdk.api.types.BasicAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.BasicAuthenticationProperties; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BasicAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BasicAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.BasicAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; public final class BasicAuthenticationPolicyBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java similarity index 83% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java index 27704246e..57e97bdf1 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/BearerAuthenticationPolicyBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicy; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.BearerAuthenticationProperties; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; public final class BearerAuthenticationPolicyBuilder { private BearerAuthenticationProperties bearerAuthenticationProperties; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java similarity index 82% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java index bda9eb062..b5a36ee0a 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallGrpcTaskBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.CallGRPC; -import org.openworkflow.sdk.api.types.GRPCArguments; -import org.openworkflow.sdk.fluent.spec.spi.CallGrpcTaskFluent; +import cloud.openworkflow.sdk.api.types.CallGRPC; +import cloud.openworkflow.sdk.api.types.GRPCArguments; +import cloud.openworkflow.sdk.fluent.spec.spi.CallGrpcTaskFluent; public class CallGrpcTaskBuilder extends TaskBaseBuilder implements CallGrpcTaskFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java index ad0070f30..a8242e5d2 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallHttpTaskBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.fluent.spec.spi.CallHttpTaskFluent; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.fluent.spec.spi.CallHttpTaskFluent; public class CallHttpTaskBuilder extends TaskBaseBuilder implements CallHttpTaskFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java similarity index 78% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java index 1eb086777..fa0b26c3f 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/CallOpenAPITaskBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.CallOpenAPI; -import org.openworkflow.sdk.api.types.OpenAPIArguments; -import org.openworkflow.sdk.api.types.WithOpenAPIParameters; -import org.openworkflow.sdk.fluent.spec.spi.CallOpenAPITaskFluent; +import cloud.openworkflow.sdk.api.types.CallOpenAPI; +import cloud.openworkflow.sdk.api.types.OpenAPIArguments; +import cloud.openworkflow.sdk.api.types.WithOpenAPIParameters; +import cloud.openworkflow.sdk.fluent.spec.spi.CallOpenAPITaskFluent; public class CallOpenAPITaskBuilder extends TaskBaseBuilder implements CallOpenAPITaskFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java similarity index 85% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java index 8a1e25f3a..08dd91164 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DigestAuthenticationPolicyBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.DigestAuthenticationPolicy; -import org.openworkflow.sdk.api.types.DigestAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.DigestAuthenticationProperties; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.DigestAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.DigestAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.DigestAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; public final class DigestAuthenticationPolicyBuilder { private final DigestAuthenticationProperties digestAuthenticationProperties; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DoTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DoTaskBuilder.java similarity index 97% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DoTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DoTaskBuilder.java index a78913c04..ae742b0fa 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DoTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DoTaskBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.fluent.spec.spi.DoFluent; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.spi.DoFluent; public class DoTaskBuilder extends BaseDoTaskBuilder implements DoFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DocumentBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DocumentBuilder.java similarity index 93% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DocumentBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DocumentBuilder.java index e8c5c5d8c..427123558 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DocumentBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DocumentBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.Document; +import cloud.openworkflow.sdk.api.types.WorkflowMetadata; +import cloud.openworkflow.sdk.api.types.WorkflowTags; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.Document; -import org.openworkflow.sdk.api.types.WorkflowMetadata; -import org.openworkflow.sdk.api.types.WorkflowTags; public class DocumentBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java similarity index 93% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java index 42d50c378..c70a67804 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/DurationInlineBuilder.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.DurationInline; +import cloud.openworkflow.sdk.api.types.DurationInline; public class DurationInlineBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java similarity index 95% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java index f38b4e11d..4edc7aa9e 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EmitTaskBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; public class EmitTaskBuilder extends AbstractEmitTaskBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java similarity index 83% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java index 36e820887..7632523d5 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventConsumptionStrategyBuilder.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.AllEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.EventConsumptionStrategy; -import org.openworkflow.sdk.api.types.OneEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.Until; +import cloud.openworkflow.sdk.api.types.AllEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.EventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.OneEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.Until; public class EventConsumptionStrategyBuilder extends AbstractEventConsumptionStrategyBuilder< diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventFilterBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventFilterBuilder.java similarity index 95% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventFilterBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventFilterBuilder.java index 174cfe57b..3b167b7b2 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventFilterBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventFilterBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; public class EventFilterBuilder extends AbstractEventFilterBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java similarity index 94% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java index 9343ae7d2..5c886a33f 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/EventPropertiesBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; public class EventPropertiesBuilder extends AbstractEventPropertiesBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ExportBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ExportBuilder.java similarity index 80% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ExportBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ExportBuilder.java index 081cc3ed6..7c5dd40a1 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ExportBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ExportBuilder.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.Export; -import org.openworkflow.sdk.api.types.ExportAs; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.SchemaExternal; -import org.openworkflow.sdk.api.types.SchemaInline; -import org.openworkflow.sdk.api.types.SchemaUnion; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.Export; +import cloud.openworkflow.sdk.api.types.ExportAs; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.SchemaExternal; +import cloud.openworkflow.sdk.api.types.SchemaInline; +import cloud.openworkflow.sdk.api.types.SchemaUnion; public final class ExportBuilder { private final Export export; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java index d20fa1039..6bba1faf6 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ForEachTaskBuilder.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.ForIn; +import cloud.openworkflow.sdk.api.types.ForTask; +import cloud.openworkflow.sdk.api.types.ForTaskConfiguration; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.fluent.spec.spi.ForEachTaskFluent; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.ForIn; -import org.openworkflow.sdk.api.types.ForTask; -import org.openworkflow.sdk.api.types.ForTaskConfiguration; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.fluent.spec.spi.ForEachTaskFluent; public class ForEachTaskBuilder> extends TaskBaseBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java index 7347a3a1a..2d02864ab 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ForkTaskBuilder.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.fluent.spec.spi.ForkTaskFluent; +import cloud.openworkflow.sdk.fluent.spec.spi.ForkTaskFluent; public class ForkTaskBuilder extends AbstractForkTaskBuilder implements ForkTaskFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/InputBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/InputBuilder.java similarity index 88% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/InputBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/InputBuilder.java index dd4d3b6af..f6836d4df 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/InputBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/InputBuilder.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.Input; -import org.openworkflow.sdk.api.types.InputFrom; -import org.openworkflow.sdk.api.types.SchemaExternal; -import org.openworkflow.sdk.api.types.SchemaInline; -import org.openworkflow.sdk.api.types.SchemaUnion; +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.Input; +import cloud.openworkflow.sdk.api.types.InputFrom; +import cloud.openworkflow.sdk.api.types.SchemaExternal; +import cloud.openworkflow.sdk.api.types.SchemaInline; +import cloud.openworkflow.sdk.api.types.SchemaUnion; public class InputBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java similarity index 96% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java index 2443d6e90..01896cbee 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenTaskBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; /** * Fluent builder for a "listen" task in a Open Workflow. Enforces exactly one consumption strategy: diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenToBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenToBuilder.java similarity index 82% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenToBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenToBuilder.java index adf0bb901..a58ab036d 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenToBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenToBuilder.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.AllEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.ListenTo; -import org.openworkflow.sdk.api.types.OneEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.Until; +import cloud.openworkflow.sdk.api.types.AllEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.ListenTo; +import cloud.openworkflow.sdk.api.types.OneEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.Until; public class ListenToBuilder extends AbstractEventConsumptionStrategyBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java similarity index 98% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java index cdadde82e..2ecc86d51 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ListenToConfigurerBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; import java.util.function.Consumer; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java index 9fe01da3a..fd5cd48ac 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OAuth2AuthenticationPolicyBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; public final class OAuth2AuthenticationPolicyBuilder extends OIDCBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OIDCBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OIDCBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OIDCBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OIDCBuilder.java index c10290475..5429433a1 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OIDCBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OIDCBuilder.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.AuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient; +import cloud.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.OAuth2TokenDefinition; +import cloud.openworkflow.sdk.api.types.OAuth2TokenRequest; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.AuthenticationPolicy; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient; -import org.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; -import org.openworkflow.sdk.api.types.OAuth2TokenDefinition; -import org.openworkflow.sdk.api.types.OAuth2TokenRequest; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; public abstract class OIDCBuilder { protected final OAuth2ConnectAuthenticationProperties authenticationData; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java similarity index 85% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java index 5a531344c..d77944aca 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OpenIdConnectAuthenticationPolicyBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicy; -import org.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicyConfiguration; public final class OpenIdConnectAuthenticationPolicyBuilder extends OIDCBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OutputBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OutputBuilder.java similarity index 80% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OutputBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OutputBuilder.java index cee274593..64b4f3704 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/OutputBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/OutputBuilder.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.Output; -import org.openworkflow.sdk.api.types.OutputAs; -import org.openworkflow.sdk.api.types.SchemaExternal; -import org.openworkflow.sdk.api.types.SchemaInline; -import org.openworkflow.sdk.api.types.SchemaUnion; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.Output; +import cloud.openworkflow.sdk.api.types.OutputAs; +import cloud.openworkflow.sdk.api.types.SchemaExternal; +import cloud.openworkflow.sdk.api.types.SchemaInline; +import cloud.openworkflow.sdk.api.types.SchemaUnion; public class OutputBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java similarity index 94% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java index 4381318f4..db9464743 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/RaiseTaskBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; public class RaiseTaskBuilder extends BaseRaiseTaskBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java similarity index 93% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java index 246359306..170944f12 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ReferenceableAuthenticationPolicyBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyReference; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.AuthenticationPolicyReference; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; public class ReferenceableAuthenticationPolicyBuilder { private AuthenticationPolicyUnion authenticationPolicy; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ScheduleBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ScheduleBuilder.java similarity index 96% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ScheduleBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ScheduleBuilder.java index 64a25f3af..7e1d8c62b 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/ScheduleBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/ScheduleBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.Schedule; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.Schedule; -import org.openworkflow.sdk.api.types.TimeoutAfter; public class ScheduleBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SetTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SetTaskBuilder.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SetTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SetTaskBuilder.java index 17c5f9c49..a157662f1 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SetTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SetTaskBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.Set; -import org.openworkflow.sdk.api.types.SetTask; -import org.openworkflow.sdk.api.types.SetTaskConfiguration; +import cloud.openworkflow.sdk.api.types.Set; +import cloud.openworkflow.sdk.api.types.SetTask; +import cloud.openworkflow.sdk.api.types.SetTaskConfiguration; public class SetTaskBuilder extends TaskBaseBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java index 908a44753..c9e547175 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SubscriptionIteratorBuilder.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.SubscriptionIterator; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.fluent.spec.spi.SubscriptionIteratorFluent; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.SubscriptionIterator; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.fluent.spec.spi.SubscriptionIteratorFluent; public class SubscriptionIteratorBuilder> implements SubscriptionIteratorFluent, T> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java index e267ee966..f731fc172 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/SwitchTaskBuilder.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.SwitchItem; +import cloud.openworkflow.sdk.api.types.SwitchTask; +import cloud.openworkflow.sdk.fluent.spec.spi.SwitchTaskFluent; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.SwitchItem; -import org.openworkflow.sdk.api.types.SwitchTask; -import org.openworkflow.sdk.fluent.spec.spi.SwitchTaskFluent; public class SwitchTaskBuilder extends TaskBaseBuilder implements SwitchTaskFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java index 201677aa9..b3941c362 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskBaseBuilder.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.Export; +import cloud.openworkflow.sdk.api.types.FlowDirective; +import cloud.openworkflow.sdk.api.types.FlowDirectiveEnum; +import cloud.openworkflow.sdk.api.types.Input; +import cloud.openworkflow.sdk.api.types.Output; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.TaskTimeout; +import cloud.openworkflow.sdk.api.types.Timeout; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.fluent.spec.spi.OutputFluent; +import cloud.openworkflow.sdk.fluent.spec.spi.TaskTransformationHandlers; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.Export; -import org.openworkflow.sdk.api.types.FlowDirective; -import org.openworkflow.sdk.api.types.FlowDirectiveEnum; -import org.openworkflow.sdk.api.types.Input; -import org.openworkflow.sdk.api.types.Output; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.TaskTimeout; -import org.openworkflow.sdk.api.types.Timeout; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.fluent.spec.spi.OutputFluent; -import org.openworkflow.sdk.fluent.spec.spi.TaskTransformationHandlers; public abstract class TaskBaseBuilder> implements TaskTransformationHandlers, OutputFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java similarity index 95% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java index 90d52ef43..d999a56fa 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskItemListBuilder.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.CallTask; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; +import cloud.openworkflow.sdk.fluent.spec.spi.DoFluent; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.CallTask; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; -import org.openworkflow.sdk.fluent.spec.spi.DoFluent; public class TaskItemListBuilder extends BaseTaskItemListBuilder implements DoFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java similarity index 94% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java index cbc0c2f11..05b1214c1 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TaskMetadataBuilder.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.TaskMetadata; +import cloud.openworkflow.sdk.api.types.TaskMetadata; /** * Fluent builder for {@link TaskMetadata}, which holds additional information about a task (for diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TimeoutBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TimeoutBuilder.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TimeoutBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TimeoutBuilder.java index 5499b082a..e9fed1c9c 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TimeoutBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TimeoutBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.Timeout; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.Timeout; -import org.openworkflow.sdk.api.types.TimeoutAfter; public class TimeoutBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TryTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TryTaskBuilder.java similarity index 95% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TryTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TryTaskBuilder.java index 2e3bba531..614d42363 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/TryTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/TryTaskBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; public class TryTaskBuilder> extends BaseTryTaskBuilder, T> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java index 74ce034c9..e4aa93dde 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UriTemplateBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.UriTemplate; import java.net.URI; import java.net.URISyntaxException; -import org.openworkflow.sdk.api.types.UriTemplate; public final class UriTemplateBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java index 730af0d03..d2b9446c2 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilder.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.UseAuthentications; +import cloud.openworkflow.sdk.fluent.spec.OAuth2AuthenticationPolicyBuilder.OAuth2AuthenticationPropertiesEndpointsBuilder; +import cloud.openworkflow.sdk.fluent.spec.dsl.DSL; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.UseAuthentications; -import org.openworkflow.sdk.fluent.spec.OAuth2AuthenticationPolicyBuilder.OAuth2AuthenticationPropertiesEndpointsBuilder; -import org.openworkflow.sdk.fluent.spec.dsl.DSL; public class UseAuthenticationsBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UseBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UseBuilder.java similarity index 88% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UseBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UseBuilder.java index 7a08c46bf..75cca2c69 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/UseBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/UseBuilder.java @@ -13,25 +13,25 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import cloud.openworkflow.sdk.api.types.Error; +import cloud.openworkflow.sdk.api.types.ErrorDetails; +import cloud.openworkflow.sdk.api.types.ErrorTitle; +import cloud.openworkflow.sdk.api.types.ErrorType; +import cloud.openworkflow.sdk.api.types.RetryPolicy; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.api.types.Use; +import cloud.openworkflow.sdk.api.types.UseAuthentications; +import cloud.openworkflow.sdk.api.types.UseErrors; +import cloud.openworkflow.sdk.api.types.UseRetries; +import cloud.openworkflow.sdk.fluent.spec.BaseTryTaskBuilder.RetryPolicyBuilder; import java.net.URI; import java.net.URISyntaxException; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.Error; -import org.openworkflow.sdk.api.types.ErrorDetails; -import org.openworkflow.sdk.api.types.ErrorTitle; -import org.openworkflow.sdk.api.types.ErrorType; -import org.openworkflow.sdk.api.types.RetryPolicy; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.api.types.Use; -import org.openworkflow.sdk.api.types.UseAuthentications; -import org.openworkflow.sdk.api.types.UseErrors; -import org.openworkflow.sdk.api.types.UseRetries; -import org.openworkflow.sdk.fluent.spec.BaseTryTaskBuilder.RetryPolicyBuilder; public class UseBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java index 865527cd6..4308a6d97 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WaitTaskBuilder.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import cloud.openworkflow.sdk.api.types.DurationInline; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.api.types.WaitTask; import java.time.Duration; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.DurationInline; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.api.types.WaitTask; public class WaitTaskBuilder extends TaskBaseBuilder { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WorkflowBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WorkflowBuilder.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WorkflowBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WorkflowBuilder.java index 9123bb7ee..096b0fbec 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WorkflowBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WorkflowBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import static org.openworkflow.sdk.types.Defaults.DEFAULT_NAMESPACE; -import static org.openworkflow.sdk.types.Defaults.DEFAULT_VERSION; +import static cloud.openworkflow.sdk.types.Defaults.DEFAULT_NAMESPACE; +import static cloud.openworkflow.sdk.types.Defaults.DEFAULT_VERSION; import java.util.UUID; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java similarity index 81% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java index 346b36eab..89fba1f73 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/WorkflowTaskBuilder.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; -import org.openworkflow.sdk.api.types.RunTask; -import org.openworkflow.sdk.api.types.RunTaskConfigurationUnion; -import org.openworkflow.sdk.api.types.RunWorkflow; -import org.openworkflow.sdk.api.types.SubflowConfiguration; -import org.openworkflow.sdk.fluent.spec.spi.WorkflowTaskFluent; +import cloud.openworkflow.sdk.api.types.RunTask; +import cloud.openworkflow.sdk.api.types.RunTaskConfigurationUnion; +import cloud.openworkflow.sdk.api.types.RunWorkflow; +import cloud.openworkflow.sdk.api.types.SubflowConfiguration; +import cloud.openworkflow.sdk.fluent.spec.spi.WorkflowTaskFluent; public class WorkflowTaskBuilder extends TaskBaseBuilder implements WorkflowTaskFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java similarity index 85% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java index b9b375694..501aa8c07 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/AuthenticationConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; @FunctionalInterface public interface AuthenticationConfigurer diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java index 3a04c67f5..0d07fd52e 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallGrpcConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.CallGrpcTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.CallGrpcTaskBuilder; @FunctionalInterface public interface CallGrpcConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java index 8c569e790..d124e3f5d 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallHttpConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.CallHttpTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.CallHttpTaskBuilder; @FunctionalInterface public interface CallHttpConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java index 9556b0ad0..fd1c34c99 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/CallOpenAPIConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.CallOpenAPITaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.CallOpenAPITaskBuilder; @FunctionalInterface public interface CallOpenAPIConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java index 9d4348ea8..611f5140f 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/EmitConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.EmitTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.EmitTaskBuilder; @FunctionalInterface public interface EmitConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java index 1a710b8b7..9f7ea343b 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/EventPropertiesConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; @FunctionalInterface public interface EventPropertiesConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java similarity index 81% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java index 30915c7c0..876229bf5 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/ForEachConfigurer.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.ForEachTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.ForEachTaskBuilder; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; @FunctionalInterface public interface ForEachConfigurer extends Consumer> {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java index 46e6b82b4..c85cb3805 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/ListenConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.ListenTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.ListenTaskBuilder; @FunctionalInterface public interface ListenConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java index 32af6fabb..74d6440d6 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/RaiseConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.RaiseTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.RaiseTaskBuilder; @FunctionalInterface public interface RaiseConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java index 54f7d248c..6f61d107e 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/RetryConfigurer.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; public interface RetryConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java index 7c0d6feef..1b543a3bf 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/SetConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.SetTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.SetTaskBuilder; @FunctionalInterface public interface SetConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java index a817c182f..cd3b1951c 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/SwitchConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.SwitchTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.SwitchTaskBuilder; @FunctionalInterface public interface SwitchConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java index 84aa70446..970e738b5 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TasksConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; @FunctionalInterface public interface TasksConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java similarity index 81% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java index ef56d7574..8a44697f8 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TryCatchConfigurer.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; public interface TryCatchConfigurer extends Consumer> {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java similarity index 80% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java index dc3c56bcd..7431da332 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/TryConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; public interface TryConfigurer extends Consumer> {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java index 7d1e1b6ad..59eee1ef5 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/UseConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.UseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.UseBuilder; @FunctionalInterface public interface UseConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java index 2ba80b746..f7213ea8e 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/configurers/WorkflowConfigurer.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.configurers; +package cloud.openworkflow.sdk.fluent.spec.configurers; +import cloud.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; @FunctionalInterface public interface WorkflowConfigurer extends Consumer {} diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java index 2f3524fda..9a9678ec9 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/AbstractEventFilterSpec.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventFilterBuilder; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; +import cloud.openworkflow.sdk.fluent.spec.AbstractListenTaskBuilder; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.AbstractEventFilterBuilder; -import org.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; -import org.openworkflow.sdk.fluent.spec.AbstractListenTaskBuilder; public abstract class AbstractEventFilterSpec< SELF, diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java similarity index 96% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java index 1b8758351..d73e550ce 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/BaseCallHttpSpec.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; +import cloud.openworkflow.sdk.fluent.spec.spi.CallHttpTaskFluent; import java.net.URI; import java.util.List; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; -import org.openworkflow.sdk.fluent.spec.spi.CallHttpTaskFluent; public interface BaseCallHttpSpec> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java similarity index 93% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java index 31a4ec940..32d7c993e 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/BaseListenSpec.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; import java.util.Objects; import java.util.function.Consumer; @@ -22,9 +22,9 @@ * Generic base for Listen specs. * *

Type params: SELF - fluent self type (the concrete spec) LISTEN_TASK - {@link - * org.openworkflow.sdk.fluent.spec.ListenTaskBuilder} type LISTEN_TO - {@link - * org.openworkflow.sdk.fluent.spec.ListenToBuilder} type EVENT_FILTER - {@link - * org.openworkflow.sdk.fluent.spec.EventFilterBuilder} type + * cloud.openworkflow.sdk.fluent.spec.ListenTaskBuilder} type LISTEN_TO - {@link + * cloud.openworkflow.sdk.fluent.spec.ListenToBuilder} type EVENT_FILTER - {@link + * cloud.openworkflow.sdk.fluent.spec.EventFilterBuilder} type */ public abstract class BaseListenSpec { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java index ef6716c8b..4750941d5 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallGrpcSpec.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.CallGrpcTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; +import cloud.openworkflow.sdk.fluent.spec.spi.CallGrpcTaskFluent; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.CallGrpcTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; -import org.openworkflow.sdk.fluent.spec.spi.CallGrpcTaskFluent; public final class CallGrpcSpec implements CallGrpcConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java index 960ffa521..bde8fe4a6 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpSpec.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.CallHttpTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallHttpConfigurer; +import cloud.openworkflow.sdk.fluent.spec.spi.CallHttpTaskFluent; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.CallHttpTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.CallHttpConfigurer; -import org.openworkflow.sdk.fluent.spec.spi.CallHttpTaskFluent; public final class CallHttpSpec implements BaseCallHttpSpec, CallHttpConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java similarity index 85% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java index 8def35416..b28efb33a 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallOpenAPISpec.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.api.types.OpenAPIArguments; +import cloud.openworkflow.sdk.fluent.spec.CallOpenAPITaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallOpenAPIConfigurer; +import cloud.openworkflow.sdk.fluent.spec.spi.CallOpenAPITaskFluent; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.OpenAPIArguments; -import org.openworkflow.sdk.fluent.spec.CallOpenAPITaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.CallOpenAPIConfigurer; -import org.openworkflow.sdk.fluent.spec.spi.CallOpenAPITaskFluent; public final class CallOpenAPISpec implements CallOpenAPIConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/DSL.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSL.java similarity index 95% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/DSL.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSL.java index 12a9fad36..83252dc5a 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/DSL.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSL.java @@ -13,40 +13,40 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; - +package cloud.openworkflow.sdk.fluent.spec.dsl; + +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventConsumptionStrategyBuilder; +import cloud.openworkflow.sdk.fluent.spec.DoTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.EmitTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.EventFilterBuilder; +import cloud.openworkflow.sdk.fluent.spec.ForkTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.OAuth2AuthenticationPolicyBuilder; +import cloud.openworkflow.sdk.fluent.spec.OAuth2AuthenticationPolicyBuilder.OAuth2AuthenticationPropertiesEndpointsBuilder; +import cloud.openworkflow.sdk.fluent.spec.ScheduleBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TimeoutBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallHttpConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallOpenAPIConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.ForEachConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.ListenConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.RaiseConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.RetryConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.SetConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.SwitchConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.TasksConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.TryCatchConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.TryConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.WorkflowConfigurer; +import cloud.openworkflow.sdk.types.Errors; import java.net.URI; import java.time.Duration; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.fluent.spec.AbstractEventConsumptionStrategyBuilder; -import org.openworkflow.sdk.fluent.spec.DoTaskBuilder; -import org.openworkflow.sdk.fluent.spec.EmitTaskBuilder; -import org.openworkflow.sdk.fluent.spec.EventFilterBuilder; -import org.openworkflow.sdk.fluent.spec.ForkTaskBuilder; -import org.openworkflow.sdk.fluent.spec.OAuth2AuthenticationPolicyBuilder; -import org.openworkflow.sdk.fluent.spec.OAuth2AuthenticationPolicyBuilder.OAuth2AuthenticationPropertiesEndpointsBuilder; -import org.openworkflow.sdk.fluent.spec.ScheduleBuilder; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TimeoutBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.CallHttpConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.CallOpenAPIConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.ForEachConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.ListenConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.RaiseConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.RetryConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.SetConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.SwitchConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.TasksConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.TryCatchConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.TryConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.WorkflowConfigurer; -import org.openworkflow.sdk.types.Errors; /** * High-level Java DSL shortcuts for building workflows. @@ -527,7 +527,7 @@ public static AuthenticationConfigurer oauth2( * *

Because the OAuth2-only {@code endpoints(...)} method is declared on {@link * OAuth2AuthenticationPolicyBuilder} (not on the shared {@link - * org.openworkflow.sdk.fluent.spec.OIDCBuilder}), call it first when chaining fluently: + * cloud.openworkflow.sdk.fluent.spec.OIDCBuilder}), call it first when chaining fluently: * *

{@code
    * oauth2(o -> o.endpoints(e -> e.token("/custom/token"))
@@ -1242,7 +1242,7 @@ public static ForEachConfigurer forEach(TasksConfigurer... steps) {
   }
 
   /**
-   * Recipe for {@link org.openworkflow.sdk.api.types.ForkTask} where branches compete (first to
+   * Recipe for {@link cloud.openworkflow.sdk.api.types.ForkTask} where branches compete (first to
    * complete "wins").
    *
    * 

Configures {@code compete(true)} and sets the branches tasks list. @@ -1256,7 +1256,7 @@ public static Consumer branchesCompete(TasksConfigurer... steps } /** - * Recipe for {@link org.openworkflow.sdk.api.types.ForkTask} where branches do not compete (all + * Recipe for {@link cloud.openworkflow.sdk.api.types.ForkTask} where branches do not compete (all * branches are executed). * *

Configures {@code compete(false)} and sets the branches tasks list. diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java similarity index 80% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java index 1303742c1..831d141d3 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EmitSpec.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; -import org.openworkflow.sdk.fluent.spec.EmitTaskBuilder; -import org.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.EmitConfigurer; +import cloud.openworkflow.sdk.fluent.spec.EmitTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.EmitConfigurer; public final class EmitSpec extends ExprEventEmitPropertiesSpec implements EmitConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java index cc7f3a559..765bddd59 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventEmitPropertiesSpec.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; import java.time.Instant; import java.util.Date; import java.util.UUID; -import org.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; /** Event properties handlers for emit tasks (setting attributes). */ public abstract class EventEmitPropertiesSpec< diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java similarity index 82% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java index ee735b897..5ce1e1729 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventFilterSpec.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; -import org.openworkflow.sdk.fluent.spec.EventFilterBuilder; -import org.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; +import cloud.openworkflow.sdk.fluent.spec.EventFilterBuilder; +import cloud.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; public final class EventFilterSpec extends AbstractEventFilterSpec { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java similarity index 93% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java index e8e054368..8b67b1738 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/EventPropertiesSpec.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; /** * Base class for defining events properties used either on filter (consume) use cases or emit diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java index 7f330e352..0da65681b 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ExprEventEmitPropertiesSpec.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; import java.util.Map; -import org.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; public abstract class ExprEventEmitPropertiesSpec< SELF, EVENT_PROPS extends AbstractEventPropertiesBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java similarity index 91% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java index dd51feb52..45b2abfe8 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ExprEventFilterSpec.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; -import org.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventPropertiesBuilder; public abstract class ExprEventFilterSpec< SELF, EVENT_PROPS extends AbstractEventPropertiesBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java similarity index 78% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java index 255c590b7..57f0c46cd 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/ListenSpec.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventConsumptionStrategyBuilder; +import cloud.openworkflow.sdk.fluent.spec.AbstractListenTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.EventFilterBuilder; +import cloud.openworkflow.sdk.fluent.spec.ListenTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.ListenToBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.ListenConfigurer; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.AbstractEventConsumptionStrategyBuilder; -import org.openworkflow.sdk.fluent.spec.AbstractListenTaskBuilder; -import org.openworkflow.sdk.fluent.spec.EventFilterBuilder; -import org.openworkflow.sdk.fluent.spec.ListenTaskBuilder; -import org.openworkflow.sdk.fluent.spec.ListenToBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.ListenConfigurer; public final class ListenSpec extends BaseListenSpec diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java index 4d92b402b..a726427f3 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/RaiseSpec.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.RaiseTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.RaiseConfigurer; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.RaiseTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.RaiseConfigurer; public final class RaiseSpec implements RaiseConfigurer { private final List> steps = new ArrayList<>(); diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java similarity index 92% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java index c11bad7d7..5ded1c8f0 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/RetrySpec.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.DurationInlineBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.RetryConfigurer; import java.util.LinkedList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.DurationInlineBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.RetryConfigurer; public final class RetrySpec implements RetryConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java index 14baf7abc..83fcc0e0d 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/SwitchSpec.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.api.types.FlowDirectiveEnum; +import cloud.openworkflow.sdk.fluent.spec.SwitchTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.SwitchConfigurer; +import cloud.openworkflow.sdk.fluent.spec.spi.SwitchTaskFluent; import java.util.LinkedHashMap; import java.util.Map; import java.util.Objects; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.FlowDirectiveEnum; -import org.openworkflow.sdk.fluent.spec.SwitchTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.SwitchConfigurer; -import org.openworkflow.sdk.fluent.spec.spi.SwitchTaskFluent; public final class SwitchSpec implements SwitchConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java index a46392e67..8856fca68 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/TryCatchSpec.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.TasksConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.TryCatchConfigurer; +import cloud.openworkflow.sdk.types.Errors; import java.net.URI; import java.util.LinkedList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.TasksConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.TryCatchConfigurer; -import org.openworkflow.sdk.types.Errors; public final class TryCatchSpec implements TryCatchConfigurer { private final List steps = new LinkedList<>(); diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/TrySpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/TrySpec.java similarity index 80% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/TrySpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/TrySpec.java index 809a707bc..db4733081 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/TrySpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/TrySpec.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.TasksConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.TryConfigurer; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.TasksConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.TryConfigurer; public final class TrySpec implements TryConfigurer { private TryConfigurer tryConfigurer; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/UseSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/UseSpec.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/UseSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/UseSpec.java index 0035f5bdb..6ba218101 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/UseSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/UseSpec.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.fluent.spec.UseBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; +import cloud.openworkflow.sdk.fluent.spec.configurers.UseConfigurer; import java.util.LinkedList; import java.util.List; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.UseBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; -import org.openworkflow.sdk.fluent.spec.configurers.UseConfigurer; public class UseSpec implements UseConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java similarity index 88% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java index 811518496..d6dc9b496 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/dsl/WorkflowSpec.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.WorkflowConfigurer; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.WorkflowConfigurer; public final class WorkflowSpec implements WorkflowConfigurer { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java index c89f7184c..fe9365d7c 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallGrpcFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface CallGrpcFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java similarity index 84% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java index 84fc99b98..a392af942 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallGrpcTaskFluent.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.api.types.CallGRPC; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.EndpointUri; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.GRPCArguments; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.api.types.WithGRPCArguments; +import cloud.openworkflow.sdk.api.types.WithGRPCService; +import cloud.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; import java.net.URI; import java.util.Map; -import org.openworkflow.sdk.api.types.CallGRPC; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.EndpointUri; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.GRPCArguments; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.api.types.WithGRPCArguments; -import org.openworkflow.sdk.api.types.WithGRPCService; -import org.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; public interface CallGrpcTaskFluent> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java index a0ce5b143..9b213c24f 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallHttpFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface CallHttpFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java index ec20b0581..dd32e89d6 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallHttpTaskFluent.java @@ -13,25 +13,25 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; - +package cloud.openworkflow.sdk.fluent.spec.spi; + +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyReference; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.EndpointUri; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.api.types.HTTPHeaders; +import cloud.openworkflow.sdk.api.types.HTTPQuery; +import cloud.openworkflow.sdk.api.types.Headers; +import cloud.openworkflow.sdk.api.types.Query; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.net.URI; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.AuthenticationPolicyReference; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.EndpointUri; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.api.types.HTTPHeaders; -import org.openworkflow.sdk.api.types.HTTPQuery; -import org.openworkflow.sdk.api.types.Headers; -import org.openworkflow.sdk.api.types.Query; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface CallHttpTaskFluent> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java index 39cbe1781..a902e4179 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallOpenAPIFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface CallOpenAPIFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java index 0452d403e..dd31cdd2d 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/CallOpenAPITaskFluent.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.api.types.CallOpenAPI; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.EndpointUri; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.OpenAPIArguments; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; import java.net.URI; import java.util.Map; -import org.openworkflow.sdk.api.types.CallOpenAPI; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.EndpointUri; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.OpenAPIArguments; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.fluent.spec.ReferenceableAuthenticationPolicyBuilder; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.AuthenticationConfigurer; public interface CallOpenAPITaskFluent> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/DoFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/DoFluent.java similarity index 62% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/DoFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/DoFluent.java index 2a3a9c934..1f43c20d4 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/DoFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/DoFluent.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; -import org.openworkflow.sdk.fluent.spec.CallGrpcTaskBuilder; -import org.openworkflow.sdk.fluent.spec.CallHttpTaskBuilder; -import org.openworkflow.sdk.fluent.spec.CallOpenAPITaskBuilder; -import org.openworkflow.sdk.fluent.spec.EmitTaskBuilder; -import org.openworkflow.sdk.fluent.spec.ForEachTaskBuilder; -import org.openworkflow.sdk.fluent.spec.ForkTaskBuilder; -import org.openworkflow.sdk.fluent.spec.ListenTaskBuilder; -import org.openworkflow.sdk.fluent.spec.RaiseTaskBuilder; -import org.openworkflow.sdk.fluent.spec.SetTaskBuilder; -import org.openworkflow.sdk.fluent.spec.SwitchTaskBuilder; -import org.openworkflow.sdk.fluent.spec.TaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TryTaskBuilder; -import org.openworkflow.sdk.fluent.spec.WaitTaskBuilder; -import org.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.CallGrpcTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.CallHttpTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.CallOpenAPITaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.EmitTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.ForEachTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.ForkTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.ListenTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.RaiseTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.SetTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.SwitchTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TryTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.WaitTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; /** * Documents the exposed fluent `do` DSL. diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EmitFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EmitFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EmitFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EmitFluent.java index 71cbb3693..e661d6765 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EmitFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EmitFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface EmitFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java similarity index 88% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java index eaf69cfb2..d873eb91a 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EndpointUtil.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.EndpointUri; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.UriTemplate; import java.net.URI; import java.util.Objects; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.EndpointUri; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.UriTemplate; public final class EndpointUtil { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java similarity index 85% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java index f3e212649..502c0d7e0 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/EventConsumptionStrategyFluent.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.AbstractEventFilterBuilder; +import cloud.openworkflow.sdk.fluent.spec.EventConsumptionStrategyBuilder; import java.io.Serializable; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.AbstractEventFilterBuilder; -import org.openworkflow.sdk.fluent.spec.EventConsumptionStrategyBuilder; public interface EventConsumptionStrategyFluent< SELF extends EventConsumptionStrategyFluent, diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java index 1c3eba205..9852fd263 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForEachFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface ForEachFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java similarity index 80% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java index 8eef6165e..adca78a42 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForEachTaskFluent.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; -import org.openworkflow.sdk.api.types.ForTask; -import org.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; +import cloud.openworkflow.sdk.api.types.ForTask; +import cloud.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface ForEachTaskFluent< SELF extends TaskBaseBuilder, L extends BaseTaskItemListBuilder> diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForkFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForkFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForkFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForkFluent.java index d4fd01efb..be3944a1b 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForkFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForkFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface ForkFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java similarity index 82% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java index 691a1c63d..197177e89 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ForkTaskFluent.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.api.types.ForkTask; +import cloud.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.ForkTask; -import org.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface ForkTaskFluent< SELF extends TaskBaseBuilder, L extends BaseTaskItemListBuilder> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java index 886e07f4b..237d09cf1 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/IteratorFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; public interface IteratorFluent> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ListenFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ListenFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ListenFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ListenFluent.java index 3b17b159f..ee56dc4d4 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/ListenFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/ListenFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface ListenFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/OutputFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/OutputFluent.java similarity index 84% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/OutputFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/OutputFluent.java index e1d9116fd..a898cfea4 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/OutputFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/OutputFluent.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.ExportBuilder; +import cloud.openworkflow.sdk.fluent.spec.OutputBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.ExportBuilder; -import org.openworkflow.sdk.fluent.spec.OutputBuilder; public interface OutputFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java index c5eec55b2..f4e852314 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/RaiseFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface RaiseFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SetFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SetFluent.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SetFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SetFluent.java index 26463e118..876a4db36 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SetFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SetFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface SetFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java index 019ad10c5..2bc78566f 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SubscriptionIteratorFluent.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; -import org.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; +import cloud.openworkflow.sdk.fluent.spec.BaseTaskItemListBuilder; public interface SubscriptionIteratorFluent> extends IteratorFluent, OutputFluent { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java index b51fd5c61..77fd54c79 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SwitchFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface SwitchFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java similarity index 86% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java index 9e47f79d0..23f5d1d32 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/SwitchTaskFluent.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.api.types.FlowDirective; +import cloud.openworkflow.sdk.api.types.FlowDirectiveEnum; +import cloud.openworkflow.sdk.api.types.SwitchCase; +import cloud.openworkflow.sdk.api.types.SwitchTask; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.FlowDirective; -import org.openworkflow.sdk.api.types.FlowDirectiveEnum; -import org.openworkflow.sdk.api.types.SwitchCase; -import org.openworkflow.sdk.api.types.SwitchTask; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface SwitchTaskFluent> { String DEFAULT_CASE = "default"; diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java similarity index 88% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java index 9f6fb8ca2..fa010b372 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TaskTransformationHandlers.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; -import org.openworkflow.sdk.api.types.Export; +import cloud.openworkflow.sdk.api.types.Export; public interface TaskTransformationHandlers extends TransformationHandlers { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java similarity index 83% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java index 65a64aee7..9dd952535 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TransformationHandlers.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; -import org.openworkflow.sdk.api.types.Input; -import org.openworkflow.sdk.api.types.Output; +import cloud.openworkflow.sdk.api.types.Input; +import cloud.openworkflow.sdk.api.types.Output; public interface TransformationHandlers { void setOutput(final Output output); diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java index 25d6dd9a3..18357513f 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/TryCatchFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface TryCatchFluent, LIST> { LIST tryCatch(String name, Consumer itemsConfigurer); diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WaitFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WaitFluent.java similarity index 89% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WaitFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WaitFluent.java index 58776efb7..36ad31d68 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WaitFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WaitFluent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface WaitFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java similarity index 90% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java index 7c0b38c2b..d0f23590e 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WorkflowFluent.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; import java.util.UUID; import java.util.function.Consumer; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; public interface WorkflowFluent, LIST> { diff --git a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java similarity index 87% rename from fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java rename to fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java index 0d27f818c..0881f60f9 100644 --- a/fluent/spec/src/main/java/org/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java +++ b/fluent/spec/src/main/java/cloud/openworkflow/sdk/fluent/spec/spi/WorkflowTaskFluent.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.spi; +package cloud.openworkflow.sdk.fluent.spec.spi; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.SubflowInput; +import cloud.openworkflow.sdk.fluent.spec.TaskBaseBuilder; +import cloud.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; import java.util.Map; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.SubflowInput; -import org.openworkflow.sdk.fluent.spec.TaskBaseBuilder; -import org.openworkflow.sdk.fluent.spec.WorkflowTaskBuilder; public interface WorkflowTaskFluent> { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/InputBuilderTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/InputBuilderTest.java similarity index 99% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/InputBuilderTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/InputBuilderTest.java index 95b2ba2c2..3422df831 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/InputBuilderTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/InputBuilderTest.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.api.types.Input; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Input; /** Unit tests for InputBuilder to verify lazy initialization and proper field handling. */ public class InputBuilderTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java similarity index 92% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java index 7e42141cf..cde155935 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/ScheduleBuilderTest.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutMinutes; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutSeconds; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutMinutes; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutSeconds; +import cloud.openworkflow.sdk.api.types.Schedule; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Schedule; public class ScheduleBuilderTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java similarity index 98% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java index 1f9132036..21751e9a6 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/TaskItemDefaultNamingTest.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.http; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.http; +import cloud.openworkflow.sdk.api.types.ForkTaskConfiguration; +import cloud.openworkflow.sdk.api.types.SubscriptionIterator; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.api.types.TryTaskCatch; +import cloud.openworkflow.sdk.api.types.Workflow; import java.time.Duration; import java.util.List; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.ForkTaskConfiguration; -import org.openworkflow.sdk.api.types.SubscriptionIterator; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.api.types.TryTaskCatch; -import org.openworkflow.sdk.api.types.Workflow; /** * Unit tests to verify that TaskItems without explicit names are automatically assigned a diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java similarity index 97% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java index 590996be8..a6a22a014 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/UseAuthenticationsBuilderTest.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; +package cloud.openworkflow.sdk.fluent.spec; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant; +import cloud.openworkflow.sdk.api.types.UseAuthentications; +import cloud.openworkflow.sdk.api.types.Workflow; import java.net.URI; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant; -import org.openworkflow.sdk.api.types.UseAuthentications; -import org.openworkflow.sdk.api.types.Workflow; public class UseAuthenticationsBuilderTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java similarity index 92% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java index c3999e521..b00eac490 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/WorkflowBuilderTest.java @@ -13,57 +13,57 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec; - +package cloud.openworkflow.sdk.fluent.spec; + +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.basic; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.cases; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.doTasks; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.emit; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.event; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.forEach; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.fork; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.http; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.listen; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.produced; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.raise; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.set; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.switchCase; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.tryCatch; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.basic; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.cases; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.doTasks; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.emit; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.event; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.forEach; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.fork; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.http; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.listen; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.produced; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.raise; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.set; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.switchCase; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.tryCatch; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.CatchErrors; +import cloud.openworkflow.sdk.api.types.CorrelateProperty; +import cloud.openworkflow.sdk.api.types.Document; +import cloud.openworkflow.sdk.api.types.EmitEventDefinition; +import cloud.openworkflow.sdk.api.types.EmitTask; +import cloud.openworkflow.sdk.api.types.ErrorFilter; +import cloud.openworkflow.sdk.api.types.EventFilter; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.api.types.FlowDirectiveEnum; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.api.types.HTTPHeaders; +import cloud.openworkflow.sdk.api.types.HTTPQuery; +import cloud.openworkflow.sdk.api.types.ListenTask; +import cloud.openworkflow.sdk.api.types.OneEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.RetryLimitAttempt; +import cloud.openworkflow.sdk.api.types.RetryPolicy; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.SetTask; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TaskMetadata; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.api.types.TryTaskCatch; +import cloud.openworkflow.sdk.api.types.Use; +import cloud.openworkflow.sdk.api.types.UseAuthentications; +import cloud.openworkflow.sdk.api.types.Workflow; import java.net.URI; import java.util.List; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.CatchErrors; -import org.openworkflow.sdk.api.types.CorrelateProperty; -import org.openworkflow.sdk.api.types.Document; -import org.openworkflow.sdk.api.types.EmitEventDefinition; -import org.openworkflow.sdk.api.types.EmitTask; -import org.openworkflow.sdk.api.types.ErrorFilter; -import org.openworkflow.sdk.api.types.EventFilter; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.api.types.FlowDirectiveEnum; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.api.types.HTTPHeaders; -import org.openworkflow.sdk.api.types.HTTPQuery; -import org.openworkflow.sdk.api.types.ListenTask; -import org.openworkflow.sdk.api.types.OneEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.RetryLimitAttempt; -import org.openworkflow.sdk.api.types.RetryPolicy; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.SetTask; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.TaskMetadata; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.api.types.TryTaskCatch; -import org.openworkflow.sdk.api.types.Use; -import org.openworkflow.sdk.api.types.UseAuthentications; -import org.openworkflow.sdk.api.types.Workflow; /** Unit tests for the fluent WorkflowBuilder API (using static consumers). */ public class WorkflowBuilderTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java similarity index 95% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java index 541629884..005749bb3 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallGrpcDslTest.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.basic; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.grpc; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.basic; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.grpc; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.CallGrpcConfigurer; public class CallGrpcDslTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java similarity index 94% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java index ab9492e76..a9000a699 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpAuthDslTest.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; - +package cloud.openworkflow.sdk.fluent.spec.dsl; + +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.basic; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.bearer; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.digest; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.http; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.oauth2; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.oidc; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.basic; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.bearer; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.digest; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.http; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.oauth2; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.oidc; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; import java.net.URI; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; public class CallHttpAuthDslTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java similarity index 96% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java index a553ac086..40a47169c 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallHttpDslExtensionsTest.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.http; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.http; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; class CallHttpDslExtensionsTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java similarity index 89% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java index e0650e9ab..33f4d3b0d 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/CallOpenApiDslTest.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.basic; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.openapi; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.basic; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.openapi; +import cloud.openworkflow.sdk.api.types.OpenAPIArguments; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.OpenAPIArguments; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; public class CallOpenApiDslTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java similarity index 83% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java index 110501aa9..e0dc7ba2f 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLScheduleTest.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.after; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.cron; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.event; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.every; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.on; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.one; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutHours; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutMinutes; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.after; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.cron; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.event; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.every; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.on; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.one; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutHours; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutMinutes; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; public class DSLScheduleTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLTest.java similarity index 91% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLTest.java index e594a16b6..89b22e1d5 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLTest.java @@ -13,33 +13,33 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; - +package cloud.openworkflow.sdk.fluent.spec.dsl; + +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.auth; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.basic; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.bearer; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.error; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.event; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.http; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.openapi; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.produced; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.secrets; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.subflow; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.to; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.workflow; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.auth; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.basic; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.bearer; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.error; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.event; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.http; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.openapi; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.produced; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.secrets; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.subflow; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.to; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.workflow; +import cloud.openworkflow.sdk.api.types.CorrelateProperty; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.api.types.ListenTaskConfiguration; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.types.Errors; import java.net.URI; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.CorrelateProperty; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.api.types.ListenTaskConfiguration; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.types.Errors; public class DSLTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java similarity index 90% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java index 9163f65c1..da7334f47 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLTimeoutTest.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutMinutes; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutSeconds; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutMinutes; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.timeoutSeconds; +import cloud.openworkflow.sdk.api.types.DurationInline; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.configurers.CallHttpConfigurer; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.DurationInline; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.configurers.CallHttpConfigurer; public class DSLTimeoutTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java similarity index 94% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java index a9960f602..ab6e99846 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/DSLWaitTest.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; +package cloud.openworkflow.sdk.fluent.spec.dsl; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.waitMinutes; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.waitSeconds; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.waitMinutes; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.waitSeconds; +import cloud.openworkflow.sdk.api.types.DurationInline; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; import java.time.Duration; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.DurationInline; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; public class DSLWaitTest { diff --git a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java similarity index 97% rename from fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java rename to fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java index aac95f588..9ac59fbe7 100644 --- a/fluent/spec/src/test/java/org/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java +++ b/fluent/spec/src/test/java/cloud/openworkflow/sdk/fluent/spec/dsl/TryCatchDslTest.java @@ -13,24 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.fluent.spec.dsl; - +package cloud.openworkflow.sdk.fluent.spec.dsl; + +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.call; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.emit; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.error; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.http; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.raise; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.set; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.tryCatch; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.use; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.call; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.emit; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.error; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.http; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.raise; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.set; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.tryCatch; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.use; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.types.Errors; import java.net.URI; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.types.Errors; public class TryCatchDslTest { diff --git a/generators/jackson/pom.xml b/generators/jackson/pom.xml index 3b36c95bb..52cc9ac8c 100644 --- a/generators/jackson/pom.xml +++ b/generators/jackson/pom.xml @@ -2,7 +2,7 @@ 4.0.0 maven-plugin - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-generators 8.0.0-SNAPSHOT @@ -66,11 +66,11 @@ provided - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-serialization diff --git a/generators/jackson/src/main/java/org/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java b/generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java similarity index 98% rename from generators/jackson/src/main/java/org/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java rename to generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java index 1a640d5db..b81a24426 100644 --- a/generators/jackson/src/main/java/org/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java +++ b/generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/graalvm/ReflectNativeFileHandler.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator.graalvm; +package cloud.openworkflow.sdk.generator.graalvm; import com.sun.codemodel.JDefinedClass; import java.io.IOException; diff --git a/generators/jackson/src/main/java/org/openworkflow/sdk/generator/jackson/GeneratorUtils.java b/generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/jackson/GeneratorUtils.java similarity index 97% rename from generators/jackson/src/main/java/org/openworkflow/sdk/generator/jackson/GeneratorUtils.java rename to generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/jackson/GeneratorUtils.java index a7e78b234..cc8bd52f2 100644 --- a/generators/jackson/src/main/java/org/openworkflow/sdk/generator/jackson/GeneratorUtils.java +++ b/generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/jackson/GeneratorUtils.java @@ -13,8 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator.jackson; +package cloud.openworkflow.sdk.generator.jackson; +import cloud.openworkflow.sdk.serialization.DeserializeHelper; +import cloud.openworkflow.sdk.serialization.SerializeHelper; import com.sun.codemodel.JBlock; import com.sun.codemodel.JClass; import com.sun.codemodel.JClassAlreadyExistsException; @@ -27,8 +29,6 @@ import com.sun.codemodel.JVar; import java.util.Collection; import java.util.List; -import org.openworkflow.sdk.serialization.DeserializeHelper; -import org.openworkflow.sdk.serialization.SerializeHelper; import tools.jackson.core.JsonGenerator; import tools.jackson.core.JsonParser; import tools.jackson.databind.DeserializationContext; diff --git a/generators/jackson/src/main/java/org/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java b/generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java similarity index 96% rename from generators/jackson/src/main/java/org/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java rename to generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java index 29f059805..7a153776b 100644 --- a/generators/jackson/src/main/java/org/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java +++ b/generators/jackson/src/main/java/cloud/openworkflow/sdk/generator/jackson/JacksonMixInPojo.java @@ -13,8 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator.jackson; +package cloud.openworkflow.sdk.generator.jackson; +import cloud.openworkflow.sdk.annotations.AdditionalProperties; +import cloud.openworkflow.sdk.annotations.ExclusiveUnion; +import cloud.openworkflow.sdk.annotations.InclusiveUnion; +import cloud.openworkflow.sdk.annotations.Item; +import cloud.openworkflow.sdk.annotations.ItemKey; +import cloud.openworkflow.sdk.annotations.ItemValue; +import cloud.openworkflow.sdk.generator.graalvm.ReflectNativeFileHandler; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonCreator; @@ -55,13 +62,6 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.plugins.annotations.ResolutionScope; -import org.openworkflow.sdk.annotations.AdditionalProperties; -import org.openworkflow.sdk.annotations.ExclusiveUnion; -import org.openworkflow.sdk.annotations.InclusiveUnion; -import org.openworkflow.sdk.annotations.Item; -import org.openworkflow.sdk.annotations.ItemKey; -import org.openworkflow.sdk.annotations.ItemValue; -import org.openworkflow.sdk.generator.graalvm.ReflectNativeFileHandler; import tools.jackson.databind.JacksonModule.SetupContext; import tools.jackson.databind.annotation.JsonDeserialize; import tools.jackson.databind.annotation.JsonSerialize; diff --git a/generators/pom.xml b/generators/pom.xml index 5303d1747..e0959d021 100644 --- a/generators/pom.xml +++ b/generators/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT diff --git a/generators/types/pom.xml b/generators/types/pom.xml index fa23f1bb2..930270dd3 100644 --- a/generators/types/pom.xml +++ b/generators/types/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-generators 8.0.0-SNAPSHOT @@ -13,7 +13,7 @@ jsonschema2pojo-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-annotations diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java similarity index 98% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java index e9d39e8b8..faf21d453 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/AllAnyOneOfSchemaRule.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; +import cloud.openworkflow.sdk.annotations.ExclusiveUnion; +import cloud.openworkflow.sdk.annotations.InclusiveUnion; +import cloud.openworkflow.sdk.annotations.OneOfSetter; +import cloud.openworkflow.sdk.annotations.OneOfValueProvider; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.sun.codemodel.JBlock; @@ -47,10 +51,6 @@ import org.jsonschema2pojo.exception.GenerationException; import org.jsonschema2pojo.rules.RuleFactory; import org.jsonschema2pojo.rules.SchemaRule; -import org.openworkflow.sdk.annotations.ExclusiveUnion; -import org.openworkflow.sdk.annotations.InclusiveUnion; -import org.openworkflow.sdk.annotations.OneOfSetter; -import org.openworkflow.sdk.annotations.OneOfValueProvider; class AllAnyOneOfSchemaRule extends SchemaRule { diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/CustomAnnotator.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/CustomAnnotator.java similarity index 93% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/CustomAnnotator.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/CustomAnnotator.java index 6b56cb732..857b87129 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/CustomAnnotator.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/CustomAnnotator.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; +import cloud.openworkflow.sdk.annotations.AdditionalProperties; import com.fasterxml.jackson.databind.JsonNode; import com.sun.codemodel.JDefinedClass; import com.sun.codemodel.JExpr; @@ -22,7 +23,6 @@ import jakarta.validation.constraints.Pattern; import org.jsonschema2pojo.AbstractAnnotator; import org.jsonschema2pojo.GenerationConfig; -import org.openworkflow.sdk.annotations.AdditionalProperties; public class CustomAnnotator extends AbstractAnnotator { diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/EmptyObjectTypeRule.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/EmptyObjectTypeRule.java similarity index 97% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/EmptyObjectTypeRule.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/EmptyObjectTypeRule.java index 54e193afe..a4fd9a68f 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/EmptyObjectTypeRule.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/EmptyObjectTypeRule.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; import com.fasterxml.jackson.databind.JsonNode; import com.sun.codemodel.JClassContainer; diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/GeneratorUtils.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/GeneratorUtils.java similarity index 97% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/GeneratorUtils.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/GeneratorUtils.java index 21c06a7e0..490939e2e 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/GeneratorUtils.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/GeneratorUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; import com.sun.codemodel.JAnnotationArrayMember; import com.sun.codemodel.JDefinedClass; diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/JTypeWrapper.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/JTypeWrapper.java similarity index 88% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/JTypeWrapper.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/JTypeWrapper.java index ac379feb2..95709459d 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/JTypeWrapper.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/JTypeWrapper.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; -import static org.openworkflow.sdk.generator.AllAnyOneOfSchemaRule.PATTERN; -import static org.openworkflow.sdk.generator.AllAnyOneOfSchemaRule.REF; +import static cloud.openworkflow.sdk.generator.AllAnyOneOfSchemaRule.PATTERN; +import static cloud.openworkflow.sdk.generator.AllAnyOneOfSchemaRule.REF; import com.fasterxml.jackson.databind.JsonNode; import com.sun.codemodel.JType; diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/RefNameHelper.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/RefNameHelper.java similarity index 97% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/RefNameHelper.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/RefNameHelper.java index 85c9e5ce1..27cca3c0c 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/RefNameHelper.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/RefNameHelper.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; import com.fasterxml.jackson.databind.JsonNode; import com.sun.codemodel.JClassAlreadyExistsException; diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java similarity index 95% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java index f51f7b338..761e2c4f9 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/UnevaluatedPropertiesRule.java @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; +import cloud.openworkflow.sdk.annotations.Item; +import cloud.openworkflow.sdk.annotations.ItemKey; +import cloud.openworkflow.sdk.annotations.ItemValue; import com.fasterxml.jackson.databind.JsonNode; import com.sun.codemodel.JClassAlreadyExistsException; import com.sun.codemodel.JDefinedClass; @@ -28,9 +31,6 @@ import org.jsonschema2pojo.rules.Rule; import org.jsonschema2pojo.rules.RuleFactory; import org.jsonschema2pojo.util.NameHelper; -import org.openworkflow.sdk.annotations.Item; -import org.openworkflow.sdk.annotations.ItemKey; -import org.openworkflow.sdk.annotations.ItemValue; public class UnevaluatedPropertiesRule extends AdditionalPropertiesRule implements Rule { diff --git a/generators/types/src/main/java/org/openworkflow/sdk/generator/UnreferencedFactory.java b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/UnreferencedFactory.java similarity index 97% rename from generators/types/src/main/java/org/openworkflow/sdk/generator/UnreferencedFactory.java rename to generators/types/src/main/java/cloud/openworkflow/sdk/generator/UnreferencedFactory.java index 06ea03163..d97b8fe22 100644 --- a/generators/types/src/main/java/org/openworkflow/sdk/generator/UnreferencedFactory.java +++ b/generators/types/src/main/java/cloud/openworkflow/sdk/generator/UnreferencedFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.generator; +package cloud.openworkflow.sdk.generator; import com.sun.codemodel.JClassContainer; import com.sun.codemodel.JDefinedClass; diff --git a/impl/README.md b/impl/README.md index 1468c9bba..a1d944f3c 100644 --- a/impl/README.md +++ b/impl/README.md @@ -128,7 +128,7 @@ However, for further configuration of Http functionality, users might include th ```xml - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson @@ -137,7 +137,7 @@ However, for further configuration of Http functionality, users might include th ### Gradle (Kotlin/Groovy) ```gradle -implementation("org.openworkflow.sdk:openworkflow-impl-jackson") +implementation("cloud.openworkflow.sdk:openworkflow-impl-jackson") ``` > Requires **Java 21+**. diff --git a/impl/a2a/pom.xml b/impl/a2a/pom.xml index 6cd8fde76..8b3c9b492 100644 --- a/impl/a2a/pom.xml +++ b/impl/a2a/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: A2A - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java similarity index 88% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java index cf8a1e723..531327e86 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExceptionHandler.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowPosition; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowPosition; class A2AExceptionHandler implements Consumer { diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java similarity index 91% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java index 83e449c5a..b95f07265 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExecutor.java @@ -13,8 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.CallableTask; import java.net.URI; import java.util.Map; import java.util.Optional; @@ -25,11 +30,6 @@ import org.a2aproject.sdk.client.transport.jsonrpc.JSONRPCTransport; import org.a2aproject.sdk.client.transport.jsonrpc.JSONRPCTransportConfig; import org.a2aproject.sdk.spec.A2AClientException; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.CallableTask; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java similarity index 83% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java index 5462adcb7..52f7558f2 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AExecutorBuilder.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.api.types.A2AArguments; +import cloud.openworkflow.sdk.api.types.CallA2A; +import cloud.openworkflow.sdk.api.types.Parameters; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.WithA2AParameters; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder; +import cloud.openworkflow.sdk.impl.executors.CallableTaskFactory; import java.net.URI; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.A2AArguments; -import org.openworkflow.sdk.api.types.CallA2A; -import org.openworkflow.sdk.api.types.Parameters; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.WithA2AParameters; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.CallableTaskBuilder; -import org.openworkflow.sdk.impl.executors.CallableTaskFactory; public class A2AExecutorBuilder implements CallableTaskBuilder { diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java similarity index 83% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java index ca78c5f42..6bb69131c 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2ARequestDispatcher.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.Map; import java.util.concurrent.CompletableFuture; import org.a2aproject.sdk.client.Client; import org.a2aproject.sdk.spec.AgentCard; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; @FunctionalInterface interface A2ARequestDispatcher { diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AUtils.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AUtils.java similarity index 91% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AUtils.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AUtils.java index 9ea537aef..0ede99ed5 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/A2AUtils.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/A2AUtils.java @@ -13,8 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; - +package cloud.openworkflow.sdk.impl.executors.a2a; + +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowPosition; +import cloud.openworkflow.sdk.types.Errors; import java.time.Instant; import java.util.Map; import java.util.Optional; @@ -22,13 +29,6 @@ import java.util.function.Supplier; import org.a2aproject.sdk.spec.Message; import org.a2aproject.sdk.spec.Task; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowPosition; -import org.openworkflow.sdk.types.Errors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java similarity index 84% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java index 38e7a7f8e..897e0a749 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/CancelTaskDispatcher.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.param; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.param; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.Map; import java.util.concurrent.CompletableFuture; import org.a2aproject.sdk.client.Client; import org.a2aproject.sdk.spec.AgentCard; import org.a2aproject.sdk.spec.CancelTaskParams; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java similarity index 84% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java index 4401ff04b..2b5137e44 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/GetTaskDispatcher.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.param; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.param; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.Map; import java.util.concurrent.CompletableFuture; import org.a2aproject.sdk.client.Client; import org.a2aproject.sdk.spec.AgentCard; import org.a2aproject.sdk.spec.TaskQueryParams; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java similarity index 84% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java index 5bcbd3993..1874dc985 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/ListTaskDispatcher.java @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.enumParam; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.optionalParam; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.enumParam; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.optionalParam; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; import java.time.Instant; import java.util.Map; import java.util.Optional; @@ -27,11 +32,6 @@ import org.a2aproject.sdk.spec.AgentCard; import org.a2aproject.sdk.spec.ListTasksParams; import org.a2aproject.sdk.spec.TaskState; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelCollection; -import org.openworkflow.sdk.impl.WorkflowModelFactory; class ListTaskDispatcher implements A2ARequestDispatcher { diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java similarity index 85% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java index b3f69d2a3..7c11d950e 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageConsumer.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; import java.util.concurrent.CompletableFuture; import java.util.function.BiConsumer; import org.a2aproject.sdk.client.ClientEvent; import org.a2aproject.sdk.spec.AgentCard; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; abstract class MessageConsumer implements BiConsumer { diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java similarity index 85% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java index 14afb1a86..14dfb1e9c 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageConsumerFactory.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; @FunctionalInterface interface MessageConsumerFactory { diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java similarity index 88% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java index 0d23b9e8f..8e5569efd 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageDispatcher.java @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.isInstanceOrThrow; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.optionalParam; -import static org.openworkflow.sdk.impl.executors.a2a.A2AUtils.param; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.isInstanceOrThrow; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.optionalParam; +import static cloud.openworkflow.sdk.impl.executors.a2a.A2AUtils.param; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.ArrayList; import java.util.Collection; import java.util.List; @@ -31,9 +34,6 @@ import org.a2aproject.sdk.spec.Message.Role; import org.a2aproject.sdk.spec.Part; import org.a2aproject.sdk.spec.TextPart; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java similarity index 91% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java index 12750bd00..3d44218bd 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageSendConsumer.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.concurrent.CompletableFuture; import org.a2aproject.sdk.client.ClientEvent; import org.a2aproject.sdk.client.MessageEvent; import org.a2aproject.sdk.client.TaskEvent; import org.a2aproject.sdk.spec.AgentCard; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java similarity index 90% rename from impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java rename to impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java index 758d9f586..bce8ff5c6 100644 --- a/impl/a2a/src/main/java/org/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java +++ b/impl/a2a/src/main/java/cloud/openworkflow/sdk/impl/executors/a2a/MessageStreamConsumer.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.a2a; +package cloud.openworkflow.sdk.impl.executors.a2a; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowPosition; import java.util.concurrent.CompletableFuture; import org.a2aproject.sdk.client.ClientEvent; import org.a2aproject.sdk.client.MessageEvent; @@ -22,10 +26,6 @@ import org.a2aproject.sdk.client.TaskUpdateEvent; import org.a2aproject.sdk.spec.AgentCard; import org.a2aproject.sdk.spec.Task; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowPosition; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/a2a/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder b/impl/a2a/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder new file mode 100644 index 000000000..fd9a5ab0f --- /dev/null +++ b/impl/a2a/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.executors.a2a.A2AExecutorBuilder diff --git a/impl/a2a/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder b/impl/a2a/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder deleted file mode 100644 index cc0f032dc..000000000 --- a/impl/a2a/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.executors.a2a.A2AExecutorBuilder diff --git a/impl/container/pom.xml b/impl/container/pom.xml index 059f57fcc..a05bb1bf5 100644 --- a/impl/container/pom.xml +++ b/impl/container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -11,11 +11,11 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types @@ -35,12 +35,12 @@ junit-jupiter-params - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api test - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson test diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java similarity index 75% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java index 88eec28db..a3c16eb62 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/CommandPropertySetter.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; -import static org.openworkflow.sdk.impl.WorkflowUtils.isValid; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.isValid; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import com.github.dockerjava.api.command.CreateContainerCmd; import java.util.Optional; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class CommandPropertySetter implements ContainerPropertySetter { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java similarity index 81% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java index e3d459dd8..84580959a 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerEnvironmentPropertySetter.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import com.github.dockerjava.api.command.CreateContainerCmd; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class ContainerEnvironmentPropertySetter implements ContainerPropertySetter { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java similarity index 81% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java index c03d4299c..a3a8a959f 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerPropertySetter.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import com.github.dockerjava.api.command.CreateContainerCmd; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; interface ContainerPropertySetter { abstract void accept( diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerRunner.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerRunner.java similarity index 94% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerRunner.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerRunner.java index fb5f0c0b7..716a277bb 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/ContainerRunner.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/ContainerRunner.java @@ -13,10 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; -import static org.openworkflow.sdk.impl.WorkflowUtils.isValid; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.isValid; +import cloud.openworkflow.sdk.api.types.ContainerLifetime.ContainerCleanupPolicy; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.CallableTask; import com.github.dockerjava.api.DockerClient; import com.github.dockerjava.api.command.CreateContainerCmd; import com.github.dockerjava.api.command.CreateContainerResponse; @@ -34,13 +41,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; -import org.openworkflow.sdk.api.types.ContainerLifetime.ContainerCleanupPolicy; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.CallableTask; class ContainerRunner implements CallableTask { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java similarity index 81% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java index a2ec55699..1458704c2 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/LifetimePropertySetter.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; -import static org.openworkflow.sdk.api.types.ContainerLifetime.*; +import static cloud.openworkflow.sdk.api.types.ContainerLifetime.*; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import com.github.dockerjava.api.command.CreateContainerCmd; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; class LifetimePropertySetter implements ContainerPropertySetter { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/NamePropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/NamePropertySetter.java similarity index 75% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/NamePropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/NamePropertySetter.java index dc3ae2de9..bb721dd12 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/NamePropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/NamePropertySetter.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; -import static org.openworkflow.sdk.impl.WorkflowUtils.isValid; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.isValid; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import com.github.dockerjava.api.command.CreateContainerCmd; import java.util.Optional; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class NamePropertySetter implements ContainerPropertySetter { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java similarity index 89% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java index 42a71b547..96311526d 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/PortsPropertySetter.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import com.github.dockerjava.api.command.CreateContainerCmd; import com.github.dockerjava.api.model.ExposedPort; import com.github.dockerjava.api.model.Ports; import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; class PortsPropertySetter implements ContainerPropertySetter { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java similarity index 75% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java index f1b4b5cad..d4b268ef0 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/RunContainerExecutorBuilder.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.api.types.ContainerLifetime; +import cloud.openworkflow.sdk.api.types.ContainerLifetime.ContainerCleanupPolicy; +import cloud.openworkflow.sdk.api.types.RunContainer; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.CallableTask; +import cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder; import java.time.Duration; import java.util.ArrayList; import java.util.Collection; import java.util.Optional; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.api.types.ContainerLifetime; -import org.openworkflow.sdk.api.types.ContainerLifetime.ContainerCleanupPolicy; -import org.openworkflow.sdk.api.types.RunContainer; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.CallableTask; -import org.openworkflow.sdk.impl.executors.RunnableTaskBuilder; public class RunContainerExecutorBuilder implements RunnableTaskBuilder { diff --git a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java similarity index 85% rename from impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java rename to impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java index 934d54681..e642ba8cf 100644 --- a/impl/container/src/main/java/org/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java +++ b/impl/container/src/main/java/cloud/openworkflow/sdk/impl/container/executors/VolumesPropertySetter.java @@ -13,8 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.container.executors; +package cloud.openworkflow.sdk.impl.container.executors; +import cloud.openworkflow.sdk.api.types.Container; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import com.github.dockerjava.api.command.CreateContainerCmd; import com.github.dockerjava.api.model.Bind; import com.github.dockerjava.api.model.Volume; @@ -22,13 +29,6 @@ import java.util.Collection; import java.util.Map; import java.util.Objects; -import org.openworkflow.sdk.api.types.Container; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class VolumesPropertySetter implements ContainerPropertySetter { diff --git a/impl/container/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder b/impl/container/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder new file mode 100644 index 000000000..59e235850 --- /dev/null +++ b/impl/container/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.container.executors.RunContainerExecutorBuilder \ No newline at end of file diff --git a/impl/container/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder b/impl/container/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder deleted file mode 100644 index 6417befee..000000000 --- a/impl/container/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.container.executors.RunContainerExecutorBuilder \ No newline at end of file diff --git a/impl/container/src/test/java/org/openworkflow/sdk/impl/test/ContainerTest.java b/impl/container/src/test/java/cloud/openworkflow/sdk/impl/test/ContainerTest.java similarity index 97% rename from impl/container/src/test/java/org/openworkflow/sdk/impl/test/ContainerTest.java rename to impl/container/src/test/java/cloud/openworkflow/sdk/impl/test/ContainerTest.java index 0750fd46b..ff4076abd 100644 --- a/impl/container/src/test/java/org/openworkflow/sdk/impl/test/ContainerTest.java +++ b/impl/container/src/test/java/cloud/openworkflow/sdk/impl/test/ContainerTest.java @@ -13,13 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import com.github.dockerjava.api.DockerClient; import com.github.dockerjava.api.async.ResultCallback; import com.github.dockerjava.api.command.InspectContainerResponse; @@ -40,8 +42,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledIf; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/pom.xml b/impl/core/pom.xml index a6fc68270..b151e0616 100644 --- a/impl/core/pom.xml +++ b/impl/core/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: Core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/AbstractWorkflowModel.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/AbstractWorkflowModel.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/AbstractWorkflowModel.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/AbstractWorkflowModel.java index 9b414c7e7..8bd589399 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/AbstractWorkflowModel.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/AbstractWorkflowModel.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.math.BigDecimal; import java.math.BigInteger; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/AuthorizationDescriptor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/AuthorizationDescriptor.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/AuthorizationDescriptor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/AuthorizationDescriptor.java index 661eba818..f8f702fc2 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/AuthorizationDescriptor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/AuthorizationDescriptor.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public record AuthorizationDescriptor(String scheme, String parameter) {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/CollectionConversionUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/CollectionConversionUtils.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/CollectionConversionUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/CollectionConversionUtils.java index 7478951e3..1a8990d3b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/CollectionConversionUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/CollectionConversionUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.lang.reflect.Array; import java.util.ArrayList; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/CompositeExpressionFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/CompositeExpressionFactory.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/CompositeExpressionFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/CompositeExpressionFactory.java index aa7594eec..b81f2d69a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/CompositeExpressionFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/CompositeExpressionFactory.java @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; +import cloud.openworkflow.sdk.impl.expressions.ExpressionFactory; import io.cloudevents.CloudEventData; import java.time.OffsetDateTime; import java.util.Collection; @@ -22,9 +25,6 @@ import java.util.Map; import java.util.Optional; import java.util.function.Function; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; -import org.openworkflow.sdk.impl.expressions.ExpressionFactory; class CompositeExpressionFactory implements ExpressionFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java index 958803503..b551d33d8 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/DefaultExecutorServiceFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/ExecutorServiceFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/ExecutorServiceFactory.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/ExecutorServiceFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/ExecutorServiceFactory.java index 79707fc18..cdfd2cd30 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/ExecutorServiceFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/ExecutorServiceFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.util.concurrent.ExecutorService; import java.util.function.Supplier; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/FunctionReader.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/FunctionReader.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/FunctionReader.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/FunctionReader.java index 3f9b5b33f..e33e1eca5 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/FunctionReader.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/FunctionReader.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.api.types.Task; import java.util.function.BiFunction; -import org.openworkflow.sdk.api.types.Task; public interface FunctionReader extends BiFunction, ServicePriority {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/LifecycleEvents.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/LifecycleEvents.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/LifecycleEvents.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/LifecycleEvents.java index cd6a66eda..ea06cf0cb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/LifecycleEvents.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/LifecycleEvents.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; -import org.openworkflow.sdk.impl.lifecycle.EventType; -import org.openworkflow.sdk.impl.lifecycle.LifeCycleEventType; +import cloud.openworkflow.sdk.impl.lifecycle.EventType; +import cloud.openworkflow.sdk.impl.lifecycle.LifeCycleEventType; /** * @see {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/SchedulerListener.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/SchedulerListener.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/SchedulerListener.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/SchedulerListener.java index d50402954..24f5b8ce7 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/SchedulerListener.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/SchedulerListener.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; +import cloud.openworkflow.sdk.impl.scheduler.Cancellable; +import cloud.openworkflow.sdk.impl.scheduler.WorkflowScheduler; import java.time.Duration; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; -import org.openworkflow.sdk.impl.scheduler.Cancellable; -import org.openworkflow.sdk.impl.scheduler.WorkflowScheduler; class SchedulerListener implements WorkflowExecutionCompletableListener { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/ServicePriority.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/ServicePriority.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/ServicePriority.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/ServicePriority.java index 6c5a817f4..a4f0c9ea3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/ServicePriority.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/ServicePriority.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public interface ServicePriority> extends Comparable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/StringBufferWorkflowPosition.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/StringBufferWorkflowPosition.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/StringBufferWorkflowPosition.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/StringBufferWorkflowPosition.java index 3be0fe2b8..ba5738d02 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/StringBufferWorkflowPosition.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/StringBufferWorkflowPosition.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public class StringBufferWorkflowPosition implements WorkflowMutablePosition { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/TaskContext.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/TaskContext.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/TaskContext.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/TaskContext.java index 39778b649..408ed6597 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/TaskContext.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/TaskContext.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.executors.TransitionInfo; import java.time.Instant; import java.util.HashMap; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.executors.TransitionInfo; public class TaskContext implements TaskContextData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/TaskContextData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/TaskContextData.java similarity index 91% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/TaskContextData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/TaskContextData.java index a142fd551..3d4a20934 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/TaskContextData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/TaskContextData.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.api.types.TaskBase; import java.time.Instant; -import org.openworkflow.sdk.api.types.TaskBase; public interface TaskContextData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowApplication.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowApplication.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowApplication.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowApplication.java index c7d1fc716..70a9015a1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowApplication.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowApplication.java @@ -13,12 +13,54 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; - -import static org.openworkflow.sdk.impl.WorkflowUtils.loadFirst; -import static org.openworkflow.sdk.impl.WorkflowUtils.safeClose; -import static org.openworkflow.sdk.impl.WorkflowUtils.safeShutdown; - +package cloud.openworkflow.sdk.impl; + +import static cloud.openworkflow.sdk.impl.WorkflowUtils.loadFirst; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.safeClose; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.safeShutdown; + +import cloud.openworkflow.sdk.api.types.SchemaInline; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject; +import cloud.openworkflow.sdk.impl.additional.NamedWorkflowAdditionalObject; +import cloud.openworkflow.sdk.impl.additional.WorkflowAdditionalObject; +import cloud.openworkflow.sdk.impl.auth.AuthProviderFactory; +import cloud.openworkflow.sdk.impl.auth.DefaultAuthProviderFactory; +import cloud.openworkflow.sdk.impl.config.ConfigManager; +import cloud.openworkflow.sdk.impl.config.ConfigSecretManager; +import cloud.openworkflow.sdk.impl.config.SecretManager; +import cloud.openworkflow.sdk.impl.config.SystemPropertyConfigManager; +import cloud.openworkflow.sdk.impl.events.CloudEventPredicateFactory; +import cloud.openworkflow.sdk.impl.events.DefaultCloudEventPredicateFactory; +import cloud.openworkflow.sdk.impl.events.EmitSourceResolver; +import cloud.openworkflow.sdk.impl.events.EventConsumer; +import cloud.openworkflow.sdk.impl.events.EventPublisher; +import cloud.openworkflow.sdk.impl.events.InMemoryEvents; +import cloud.openworkflow.sdk.impl.executors.CallableTaskProxyBuilder; +import cloud.openworkflow.sdk.impl.executors.DefaultTaskExecutorFactory; +import cloud.openworkflow.sdk.impl.executors.TaskExecutorFactory; +import cloud.openworkflow.sdk.impl.expressions.ExpressionFactory; +import cloud.openworkflow.sdk.impl.expressions.RuntimeDescriptor; +import cloud.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; +import cloud.openworkflow.sdk.impl.http.DefaultURITemplateResolver; +import cloud.openworkflow.sdk.impl.http.URITemplateResolver; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory; +import cloud.openworkflow.sdk.impl.lifecycle.LifeCycleEventType; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListenerAdapter; +import cloud.openworkflow.sdk.impl.lifecycle.ce.DefaultLifeCycleCloudEventFactory; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowLifeCycleCloudEventFactory; +import cloud.openworkflow.sdk.impl.resources.DefaultResourceLoaderFactory; +import cloud.openworkflow.sdk.impl.resources.ResourceLoaderFactory; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; +import cloud.openworkflow.sdk.impl.scheduler.CronResolver; +import cloud.openworkflow.sdk.impl.scheduler.CronResolverFactory; +import cloud.openworkflow.sdk.impl.scheduler.DefaultWorkflowScheduler; +import cloud.openworkflow.sdk.impl.scheduler.InMemoryAllStrategyCorrelationInfo; +import cloud.openworkflow.sdk.impl.scheduler.WorkflowScheduler; +import cloud.openworkflow.sdk.impl.schema.SchemaValidator; +import cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory; import java.net.URI; import java.time.Duration; import java.util.ArrayList; @@ -41,48 +83,6 @@ import java.util.concurrent.ScheduledExecutorService; import java.util.function.Supplier; import java.util.stream.Collectors; -import org.openworkflow.sdk.api.types.SchemaInline; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject; -import org.openworkflow.sdk.impl.additional.NamedWorkflowAdditionalObject; -import org.openworkflow.sdk.impl.additional.WorkflowAdditionalObject; -import org.openworkflow.sdk.impl.auth.AuthProviderFactory; -import org.openworkflow.sdk.impl.auth.DefaultAuthProviderFactory; -import org.openworkflow.sdk.impl.config.ConfigManager; -import org.openworkflow.sdk.impl.config.ConfigSecretManager; -import org.openworkflow.sdk.impl.config.SecretManager; -import org.openworkflow.sdk.impl.config.SystemPropertyConfigManager; -import org.openworkflow.sdk.impl.events.CloudEventPredicateFactory; -import org.openworkflow.sdk.impl.events.DefaultCloudEventPredicateFactory; -import org.openworkflow.sdk.impl.events.EmitSourceResolver; -import org.openworkflow.sdk.impl.events.EventConsumer; -import org.openworkflow.sdk.impl.events.EventPublisher; -import org.openworkflow.sdk.impl.events.InMemoryEvents; -import org.openworkflow.sdk.impl.executors.CallableTaskProxyBuilder; -import org.openworkflow.sdk.impl.executors.DefaultTaskExecutorFactory; -import org.openworkflow.sdk.impl.executors.TaskExecutorFactory; -import org.openworkflow.sdk.impl.expressions.ExpressionFactory; -import org.openworkflow.sdk.impl.expressions.RuntimeDescriptor; -import org.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; -import org.openworkflow.sdk.impl.http.DefaultURITemplateResolver; -import org.openworkflow.sdk.impl.http.URITemplateResolver; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory; -import org.openworkflow.sdk.impl.lifecycle.LifeCycleEventType; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListenerAdapter; -import org.openworkflow.sdk.impl.lifecycle.ce.DefaultLifeCycleCloudEventFactory; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowLifeCycleCloudEventFactory; -import org.openworkflow.sdk.impl.resources.DefaultResourceLoaderFactory; -import org.openworkflow.sdk.impl.resources.ResourceLoaderFactory; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; -import org.openworkflow.sdk.impl.scheduler.CronResolver; -import org.openworkflow.sdk.impl.scheduler.CronResolverFactory; -import org.openworkflow.sdk.impl.scheduler.DefaultWorkflowScheduler; -import org.openworkflow.sdk.impl.scheduler.InMemoryAllStrategyCorrelationInfo; -import org.openworkflow.sdk.impl.scheduler.WorkflowScheduler; -import org.openworkflow.sdk.impl.schema.SchemaValidator; -import org.openworkflow.sdk.impl.schema.SchemaValidatorFactory; public class WorkflowApplication implements AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowContext.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowContext.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowContext.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowContext.java index d2cf5dfee..2a522886e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowContext.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowContext.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public class WorkflowContext implements WorkflowContextData { private final WorkflowDefinition definition; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowContextData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowContextData.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowContextData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowContextData.java index df404a6be..2b5bf74cc 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowContextData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowContextData.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public interface WorkflowContextData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDecorator.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDecorator.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDecorator.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDecorator.java index 01ea003c2..f506ad184 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDecorator.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDecorator.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; /** * Parent interface for decorating object requests with additional modifications.
diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinition.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinition.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinition.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinition.java index 6e89cc897..4cd376b43 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinition.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinition.java @@ -13,13 +13,25 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; - -import static org.openworkflow.sdk.impl.WorkflowUtils.buildWorkflowFilter; -import static org.openworkflow.sdk.impl.WorkflowUtils.getSchemaValidator; -import static org.openworkflow.sdk.impl.WorkflowUtils.safeClose; -import static org.openworkflow.sdk.impl.WorkflowUtils.validationError; - +package cloud.openworkflow.sdk.impl; + +import static cloud.openworkflow.sdk.impl.WorkflowUtils.buildWorkflowFilter; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.getSchemaValidator; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.safeClose; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.validationError; + +import cloud.openworkflow.sdk.api.types.Input; +import cloud.openworkflow.sdk.api.types.Output; +import cloud.openworkflow.sdk.api.types.Schedule; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; +import cloud.openworkflow.sdk.impl.executors.TaskExecutor; +import cloud.openworkflow.sdk.impl.executors.TaskExecutorHelper; +import cloud.openworkflow.sdk.impl.resources.ResourceLoader; +import cloud.openworkflow.sdk.impl.scheduler.Cancellable; +import cloud.openworkflow.sdk.impl.scheduler.ScheduledEventConsumer; +import cloud.openworkflow.sdk.impl.scheduler.WorkflowScheduler; +import cloud.openworkflow.sdk.impl.schema.SchemaValidator; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; @@ -29,18 +41,6 @@ import java.util.Objects; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; -import org.openworkflow.sdk.api.types.Input; -import org.openworkflow.sdk.api.types.Output; -import org.openworkflow.sdk.api.types.Schedule; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; -import org.openworkflow.sdk.impl.executors.TaskExecutor; -import org.openworkflow.sdk.impl.executors.TaskExecutorHelper; -import org.openworkflow.sdk.impl.resources.ResourceLoader; -import org.openworkflow.sdk.impl.scheduler.Cancellable; -import org.openworkflow.sdk.impl.scheduler.ScheduledEventConsumer; -import org.openworkflow.sdk.impl.scheduler.WorkflowScheduler; -import org.openworkflow.sdk.impl.schema.SchemaValidator; public class WorkflowDefinition implements AutoCloseable, WorkflowDefinitionData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinitionData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinitionData.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinitionData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinitionData.java index 56a4d2c2c..9bdd5b7fb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinitionData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinitionData.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; -import org.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.api.types.Workflow; public interface WorkflowDefinitionData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinitionId.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinitionId.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinitionId.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinitionId.java index bcbc99beb..65c92c940 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowDefinitionId.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowDefinitionId.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; -import org.openworkflow.sdk.api.types.Document; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.types.Defaults; +import cloud.openworkflow.sdk.api.types.Document; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.types.Defaults; public record WorkflowDefinitionId(String namespace, String name, String version) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowError.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowError.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowError.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowError.java index 533e659b2..576a8ba1c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowError.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowError.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.types.Errors; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Optional; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.types.Errors; public record WorkflowError(String type, int status, String instance, String title, String detail) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowException.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowException.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowException.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowException.java index caffdbb95..379d15651 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowException.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowException.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public class WorkflowException extends RuntimeException { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowFilter.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowFilter.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowFilter.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowFilter.java index b5f6d08ba..6a3041418 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowFilter.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowFilter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; @FunctionalInterface public interface WorkflowFilter { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstance.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstance.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstance.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstance.java index 7ce12d10f..37c99f39a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstance.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstance.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.util.Optional; import java.util.concurrent.CompletableFuture; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstanceData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstanceData.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstanceData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstanceData.java index 8e6c152e6..8cb8ecd9c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstanceData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstanceData.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.time.Instant; import java.util.Map; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java index 1d8976b07..63aeab1d9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowInstanceIdFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.util.function.Supplier; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModel.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModel.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModel.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModel.java index 0e1398570..9e4d183e6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModel.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModel.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.time.OffsetDateTime; import java.util.Collection; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModelCollection.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModelCollection.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModelCollection.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModelCollection.java index 58aeb0bcd..5f5ab5317 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModelCollection.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModelCollection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import io.cloudevents.CloudEventData; import java.time.OffsetDateTime; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModelFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModelFactory.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModelFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModelFactory.java index 7811d311f..a56362279 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowModelFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowModelFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowMutableInstance.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowMutableInstance.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowMutableInstance.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowMutableInstance.java index 1a3ba0a49..0e45c01f2 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowMutableInstance.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowMutableInstance.java @@ -13,11 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; - -import static org.openworkflow.sdk.impl.LifecycleEventsUtils.publishEvent; -import static org.openworkflow.sdk.impl.WorkflowUtils.validationError; - +package cloud.openworkflow.sdk.impl; + +import static cloud.openworkflow.sdk.impl.LifecycleEventsUtils.publishEvent; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.validationError; + +import cloud.openworkflow.sdk.impl.executors.TaskExecutorHelper; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; import java.time.Instant; import java.util.ArrayList; import java.util.Collection; @@ -33,14 +41,6 @@ import java.util.concurrent.locks.ReentrantLock; import java.util.function.Function; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.executors.TaskExecutorHelper; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; public class WorkflowMutableInstance implements WorkflowInstance { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowMutablePosition.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowMutablePosition.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowMutablePosition.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowMutablePosition.java index 28cc3393e..44c222254 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowMutablePosition.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowMutablePosition.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public interface WorkflowMutablePosition extends WorkflowPosition { WorkflowMutablePosition addProperty(String prop); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPosition.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPosition.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPosition.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPosition.java index 4c5f9f5a1..f34a31d26 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPosition.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPosition.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public interface WorkflowPosition { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPositionFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPositionFactory.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPositionFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPositionFactory.java index 315a54c0d..65d7d8e51 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPositionFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPositionFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import java.util.function.Supplier; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPredicate.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPredicate.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPredicate.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPredicate.java index a3b1bb041..a1383722d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowPredicate.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowPredicate.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public interface WorkflowPredicate { boolean test(WorkflowContext workflow, TaskContext task, WorkflowModel model); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowStatus.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowStatus.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowStatus.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowStatus.java index be2c47032..7c5039dc2 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowStatus.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowStatus.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public enum WorkflowStatus { PENDING, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowUtils.java similarity index 92% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowUtils.java index e319f09fa..d4fa8ba1d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowUtils.java @@ -13,8 +13,26 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; - +package cloud.openworkflow.sdk.impl; + +import cloud.openworkflow.sdk.api.types.DurationInline; +import cloud.openworkflow.sdk.api.types.ExportAs; +import cloud.openworkflow.sdk.api.types.InputFrom; +import cloud.openworkflow.sdk.api.types.OutputAs; +import cloud.openworkflow.sdk.api.types.SchemaUnion; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.TaskTimeout; +import cloud.openworkflow.sdk.api.types.Timeout; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; +import cloud.openworkflow.sdk.impl.expressions.ExpressionFactory; +import cloud.openworkflow.sdk.impl.expressions.ExpressionUtils; +import cloud.openworkflow.sdk.impl.resources.ResourceLoader; +import cloud.openworkflow.sdk.impl.schema.SchemaValidator; +import cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory; import java.net.URI; import java.net.URISyntaxException; import java.time.Duration; @@ -24,24 +42,6 @@ import java.util.ServiceLoader; import java.util.concurrent.ExecutorService; import java.util.concurrent.TimeUnit; -import org.openworkflow.sdk.api.types.DurationInline; -import org.openworkflow.sdk.api.types.ExportAs; -import org.openworkflow.sdk.api.types.InputFrom; -import org.openworkflow.sdk.api.types.OutputAs; -import org.openworkflow.sdk.api.types.SchemaUnion; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.TaskTimeout; -import org.openworkflow.sdk.api.types.Timeout; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; -import org.openworkflow.sdk.impl.expressions.ExpressionFactory; -import org.openworkflow.sdk.impl.expressions.ExpressionUtils; -import org.openworkflow.sdk.impl.resources.ResourceLoader; -import org.openworkflow.sdk.impl.schema.SchemaValidator; -import org.openworkflow.sdk.impl.schema.SchemaValidatorFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowValueResolver.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowValueResolver.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowValueResolver.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowValueResolver.java index d823ee173..e05aaccf0 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/WorkflowValueResolver.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/WorkflowValueResolver.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public interface WorkflowValueResolver { T apply(WorkflowContext workflow, TaskContext task, WorkflowModel model); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java index 76d4d35eb..f88652e07 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/ConstantAdditionalObject.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.additional; +package cloud.openworkflow.sdk.impl.additional; public class ConstantAdditionalObject implements NamedSuppliedAdditionalObject { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java index b1341d4d2..e8fd24118 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/NamedSuppliedAdditionalObject.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.additional; +package cloud.openworkflow.sdk.impl.additional; +import cloud.openworkflow.sdk.impl.NamedObject; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.NamedObject; public interface NamedSuppliedAdditionalObject extends Supplier, NamedObject {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java index 756e84cb7..a8c148a0f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/NamedWorkflowAdditionalObject.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.additional; +package cloud.openworkflow.sdk.impl.additional; -import org.openworkflow.sdk.impl.NamedObject; +import cloud.openworkflow.sdk.impl.NamedObject; public interface NamedWorkflowAdditionalObject extends WorkflowAdditionalObject, NamedObject {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java index 6546f0661..70447449b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/SuppliedAdditionalObject.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.additional; +package cloud.openworkflow.sdk.impl.additional; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; public class SuppliedAdditionalObject implements WorkflowAdditionalObject { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java index a2bb83a2a..dea7b2f30 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/additional/WorkflowAdditionalObject.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.additional; +package cloud.openworkflow.sdk.impl.additional; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; import java.util.function.BiFunction; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; public interface WorkflowAdditionalObject extends BiFunction {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java similarity index 82% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java index bc2e7c8af..3c4af6175 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AbstractAuthRequestBuilder.java @@ -13,35 +13,35 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; - -import static org.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient.ClientAuthentication.CLIENT_SECRET_POST; -import static org.openworkflow.sdk.impl.WorkflowUtils.isValid; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ACTOR; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ACTOR_TOKEN; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ACTOR_TOKEN_TYPE; -import static org.openworkflow.sdk.impl.auth.AuthUtils.AUDIENCES; -import static org.openworkflow.sdk.impl.auth.AuthUtils.AUTHENTICATION; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ENCODING; -import static org.openworkflow.sdk.impl.auth.AuthUtils.REQUEST; -import static org.openworkflow.sdk.impl.auth.AuthUtils.SCOPES; -import static org.openworkflow.sdk.impl.auth.AuthUtils.SUBJECT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.SUBJECT_TOKEN; -import static org.openworkflow.sdk.impl.auth.AuthUtils.SUBJECT_TOKEN_TYPE; -import static org.openworkflow.sdk.impl.auth.AuthUtils.TOKEN; -import static org.openworkflow.sdk.impl.auth.AuthUtils.TYPE; - +package cloud.openworkflow.sdk.impl.auth; + +import static cloud.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient.ClientAuthentication.CLIENT_SECRET_POST; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.isValid; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ACTOR; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ACTOR_TOKEN; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ACTOR_TOKEN_TYPE; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.AUDIENCES; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.AUTHENTICATION; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ENCODING; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.REQUEST; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.SCOPES; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.SUBJECT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.SUBJECT_TOKEN; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.SUBJECT_TOKEN_TYPE; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.TOKEN; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.TYPE; + +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient; +import cloud.openworkflow.sdk.api.types.OAuth2TokenDefinition; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.stream.Collectors; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient; -import org.openworkflow.sdk.api.types.OAuth2TokenDefinition; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowUtils; abstract class AbstractAuthRequestBuilder implements AuthRequestBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AccessTokenProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AccessTokenProvider.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AccessTokenProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AccessTokenProvider.java index c4540dc82..bd064a668 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AccessTokenProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AccessTokenProvider.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpContentType; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.http.WorkflowHttpContentType; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; class AccessTokenProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java similarity index 92% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java index 942df57c4..2b3d9ba41 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthHttpRequestInfo.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.net.URI; import java.util.List; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public record AuthHttpRequestInfo( Map> headers, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java index 1f91e646b..bf1249362 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthHttpRequestInfoBuilder.java @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.api.types.OAuth2TokenRequest; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpContentType; import java.net.URI; import java.util.Arrays; import java.util.HashMap; @@ -22,9 +25,6 @@ import java.util.Map; import java.util.Objects; import java.util.Optional; -import org.openworkflow.sdk.api.types.OAuth2TokenRequest; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.http.WorkflowHttpContentType; class AuthHttpRequestInfoBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthProvider.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthProvider.java index 43202a7b3..f40c94ff7 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthProvider.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import java.net.URI; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public interface AuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthProviderFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthProviderFactory.java similarity index 81% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthProviderFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthProviderFactory.java index cea617658..cc87b3a78 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthProviderFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthProviderFactory.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; import java.util.Optional; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.impl.WorkflowDefinition; /** Resolves the {@link AuthProvider} to use for a given authentication policy. */ public interface AuthProviderFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthRequestBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthRequestBuilder.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthRequestBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthRequestBuilder.java index 8bd2c6ee5..b54c1b655 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthRequestBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthRequestBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; import java.util.Map; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; public interface AuthRequestBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthUtils.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthUtils.java index 7193aed39..48375d5e1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/AuthUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/AuthUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; public class AuthUtils { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/BasicAuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/BasicAuthProvider.java similarity index 78% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/BasicAuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/BasicAuthProvider.java index cdb55e779..4e2fcb546 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/BasicAuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/BasicAuthProvider.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.WorkflowUtils.checkSecret; -import static org.openworkflow.sdk.impl.WorkflowUtils.secretProp; -import static org.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; -import static org.openworkflow.sdk.impl.auth.AuthUtils.USER; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.checkSecret; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.secretProp; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.USER; +import cloud.openworkflow.sdk.api.types.BasicAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.net.URI; import java.util.Base64; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.BasicAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class BasicAuthProvider implements AuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/BearerAuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/BearerAuthProvider.java similarity index 71% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/BearerAuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/BearerAuthProvider.java index f966da28b..0165ffe40 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/BearerAuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/BearerAuthProvider.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.WorkflowUtils.checkSecret; -import static org.openworkflow.sdk.impl.WorkflowUtils.secretProp; -import static org.openworkflow.sdk.impl.auth.AuthUtils.TOKEN; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.checkSecret; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.secretProp; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.TOKEN; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.net.URI; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicy; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class BearerAuthProvider implements AuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretBasic.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretBasic.java similarity index 81% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretBasic.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretBasic.java index 8ed4f2ad8..502a57787 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretBasic.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretBasic.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.GRANT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ID; -import static org.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; -import static org.openworkflow.sdk.impl.auth.AuthUtils.SECRET; -import static org.openworkflow.sdk.impl.auth.AuthUtils.USER; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.GRANT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ID; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.SECRET; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.USER; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.Base64; import java.util.Map; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowUtils; class ClientSecretBasic extends ClientSecretHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretHandler.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretHandler.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretHandler.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretHandler.java index 3b7f2ab40..b157c0111 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretHandler.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretHandler.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.CLIENT_CREDENTIALS; -import static org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.PASSWORD; -import static org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.URN_IETF_PARAMS_OAUTH_GRANT_TYPE_TOKEN_EXCHANGE; -import static org.openworkflow.sdk.impl.auth.AuthUtils.USER; +import static cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.CLIENT_CREDENTIALS; +import static cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.PASSWORD; +import static cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.URN_IETF_PARAMS_OAUTH_GRANT_TYPE_TOKEN_EXCHANGE; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.USER; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.util.Map; import java.util.Objects; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.impl.WorkflowApplication; abstract class ClientSecretHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretPost.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretPost.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretPost.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretPost.java index 9361d7dab..5cff24b9c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/ClientSecretPost.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/ClientSecretPost.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.GRANT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ID; -import static org.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; -import static org.openworkflow.sdk.impl.auth.AuthUtils.SECRET; -import static org.openworkflow.sdk.impl.auth.AuthUtils.USER; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.GRANT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ID; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.SECRET; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.USER; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.Map; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowUtils; class ClientSecretPost extends ClientSecretHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/CommonOAuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/CommonOAuthProvider.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/CommonOAuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/CommonOAuthProvider.java index fce2cd510..cfab6d9f4 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/CommonOAuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/CommonOAuthProvider.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.WorkflowUtils.checkSecret; -import static org.openworkflow.sdk.impl.WorkflowUtils.secret; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.checkSecret; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.secret; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; import java.net.URI; import java.util.Map; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; public abstract class CommonOAuthProvider implements AuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java index 3c5ac055a..9b2d45a60 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/DefaultAuthProviderFactory.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.BasicAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.DigestAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; import java.util.Optional; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.BasicAuthenticationPolicy; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicy; -import org.openworkflow.sdk.api.types.DigestAuthenticationPolicy; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; public class DefaultAuthProviderFactory implements AuthProviderFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/DigestAuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/DigestAuthProvider.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/DigestAuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/DigestAuthProvider.java index b42fff4c7..00cf3d0b6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/DigestAuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/DigestAuthProvider.java @@ -13,13 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.WorkflowUtils.checkSecret; -import static org.openworkflow.sdk.impl.WorkflowUtils.secretProp; -import static org.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; -import static org.openworkflow.sdk.impl.auth.AuthUtils.USER; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.checkSecret; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.secretProp; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.PASSWORD; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.USER; +import cloud.openworkflow.sdk.api.types.DigestAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.DigestAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpResponse; +import cloud.openworkflow.sdk.impl.utils.RandomFactory; import java.net.URI; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -30,17 +41,6 @@ import java.util.concurrent.atomic.AtomicInteger; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.openworkflow.sdk.api.types.DigestAuthenticationPolicy; -import org.openworkflow.sdk.api.types.DigestAuthenticationProperties; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; -import org.openworkflow.sdk.impl.http.WorkflowHttpResponse; -import org.openworkflow.sdk.impl.utils.RandomFactory; class DigestAuthProvider implements AuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JWT.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JWT.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JWT.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JWT.java index 6e0b0cd50..a4f8eb0ec 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JWT.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JWT.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; import java.time.Instant; import java.time.format.DateTimeParseException; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JWTConverter.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JWTConverter.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JWTConverter.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JWTConverter.java index be59aa66c..16673932a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JWTConverter.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JWTConverter.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import org.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.ServicePriority; public interface JWTConverter extends ServicePriority { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JwtClientAssertion.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JwtClientAssertion.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JwtClientAssertion.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JwtClientAssertion.java index d17e0d5bb..54d1398d8 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/JwtClientAssertion.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/JwtClientAssertion.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.PASSWORD; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ASSERTION; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT_ASSERTION; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT_ASSERTION_TYPE; -import static org.openworkflow.sdk.impl.auth.AuthUtils.CLIENT_ID; -import static org.openworkflow.sdk.impl.auth.AuthUtils.GRANT; -import static org.openworkflow.sdk.impl.auth.AuthUtils.ID; -import static org.openworkflow.sdk.impl.auth.AuthUtils.JWT_BEARER_ASSERTION_TYPE; -import static org.openworkflow.sdk.impl.auth.AuthUtils.USER; +import static cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.PASSWORD; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ASSERTION; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT_ASSERTION; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT_ASSERTION_TYPE; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.CLIENT_ID; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.GRANT; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.ID; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.JWT_BEARER_ASSERTION_TYPE; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.USER; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.Map; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowUtils; /** * Handles the {@code client_secret_jwt} and {@code private_key_jwt} client authentication methods. diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java index 48a01737c..81334089e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuth2AuthProvider.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; public class OAuth2AuthProvider extends CommonOAuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthPolicyData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthPolicyData.java similarity index 78% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthPolicyData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthPolicyData.java index bd36e2ac2..900364451 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthPolicyData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthPolicyData.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; import java.util.Optional; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; public record OAuthPolicyData( OAuth2AuthenticationData data, SecretBasedAuthenticationPolicy secret, OAuthScheme scheme) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java index 6e5e43d6e..0a01e11ea 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthRequestBuilder.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.WorkflowUtils.concatURI; -import static org.openworkflow.sdk.impl.auth.AuthUtils.AUTHORITY; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.concatURI; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.AUTHORITY; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; +import cloud.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.net.URI; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; -import org.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class OAuthRequestBuilder extends AbstractAuthRequestBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthScheme.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthScheme.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthScheme.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthScheme.java index f4d046029..a28de4329 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthScheme.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthScheme.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; public enum OAuthScheme { OAUTH2, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthUtils.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthUtils.java index 26cdfefc7..4e15131ba 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OAuthUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OAuthUtils.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Use; +import cloud.openworkflow.sdk.api.types.Workflow; import java.util.Optional; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicy; -import org.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Use; -import org.openworkflow.sdk.api.types.Workflow; public class OAuthUtils { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java index 979b79346..bfe29fc40 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OpenIdAuthProvider.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; public class OpenIdAuthProvider extends CommonOAuthProvider { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java index cb44532f6..d82b7ed56 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/OpenIdRequestBuilder.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; -import static org.openworkflow.sdk.impl.auth.AuthUtils.AUTHORITY; +import static cloud.openworkflow.sdk.impl.auth.AuthUtils.AUTHORITY; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowUtils; class OpenIdRequestBuilder extends AbstractAuthRequestBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/TokenIntrospection.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/TokenIntrospection.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/auth/TokenIntrospection.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/TokenIntrospection.java index 74a9b713e..2f1be415c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/auth/TokenIntrospection.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/auth/TokenIntrospection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; import java.util.Map; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/AbstractConfigManager.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/AbstractConfigManager.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/config/AbstractConfigManager.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/AbstractConfigManager.java index d80401486..54808a996 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/AbstractConfigManager.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/AbstractConfigManager.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.config; +package cloud.openworkflow.sdk.impl.config; import java.time.Instant; import java.time.OffsetDateTime; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/ConfigManager.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/ConfigManager.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/config/ConfigManager.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/ConfigManager.java index 0493ba520..2fdf35046 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/ConfigManager.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/ConfigManager.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.config; +package cloud.openworkflow.sdk.impl.config; +import cloud.openworkflow.sdk.impl.ServicePriority; import java.util.Collection; import java.util.List; import java.util.Optional; -import org.openworkflow.sdk.impl.ServicePriority; public interface ConfigManager extends ServicePriority { @@ -31,6 +31,6 @@ default Collection multiConfig(String propName, Class propClass) { Iterable names(); default boolean scriptOutput2SystemOutput() { - return config("org.openworkflow.sdk.impl.scripts.dumpOutput", Boolean.class).orElse(true); + return config("cloud.openworkflow.sdk.impl.scripts.dumpOutput", Boolean.class).orElse(true); } } diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/ConfigSecretManager.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/ConfigSecretManager.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/config/ConfigSecretManager.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/ConfigSecretManager.java index b97e27b8e..b686496bd 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/ConfigSecretManager.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/ConfigSecretManager.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.config; +package cloud.openworkflow.sdk.impl.config; import java.util.HashMap; import java.util.Map; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/SecretManager.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/SecretManager.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/config/SecretManager.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/SecretManager.java index f1b6d9d8b..24be190e3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/SecretManager.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/SecretManager.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.config; +package cloud.openworkflow.sdk.impl.config; +import cloud.openworkflow.sdk.impl.ServicePriority; import java.util.Map; -import org.openworkflow.sdk.impl.ServicePriority; @FunctionalInterface public interface SecretManager extends ServicePriority { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java index 12e6a33de..c248d2c75 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/config/SystemPropertyConfigManager.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.config; +package cloud.openworkflow.sdk.impl.config; public class SystemPropertyConfigManager extends AbstractConfigManager { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/AbstractTypeConsumer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/AbstractTypeConsumer.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/AbstractTypeConsumer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/AbstractTypeConsumer.java index 7e98f2480..c445bb791 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/AbstractTypeConsumer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/AbstractTypeConsumer.java @@ -13,8 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; - +package cloud.openworkflow.sdk.impl.events; + +import cloud.openworkflow.sdk.api.types.CorrelateProperty; +import cloud.openworkflow.sdk.api.types.EventFilter; +import cloud.openworkflow.sdk.api.types.EventFilterCorrelate; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import io.cloudevents.CloudEvent; import java.util.AbstractCollection; import java.util.ArrayList; @@ -25,14 +33,6 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.CorrelateProperty; -import org.openworkflow.sdk.api.types.EventFilter; -import org.openworkflow.sdk.api.types.EventFilterCorrelate; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java index ec83fce20..244a69156 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventAttrPredicate.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; @FunctionalInterface public interface CloudEventAttrPredicate { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventPredicate.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventPredicate.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventPredicate.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventPredicate.java index fa05d5562..48bea5025 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventPredicate.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventPredicate.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import io.cloudevents.CloudEvent; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public interface CloudEventPredicate { boolean test(CloudEvent event, WorkflowContext workflow, TaskContext task); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java similarity index 79% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java index ffcb4ab1f..66d3a7044 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventPredicateFactory.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.WorkflowApplication; public interface CloudEventPredicateFactory extends ServicePriority { CloudEventPredicate build(WorkflowApplication appl, EventProperties props); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventUtils.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventUtils.java index f78d1831d..8b3614fa5 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CloudEventUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CloudEventUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; import io.cloudevents.CloudEvent; import java.net.URI; @@ -45,6 +45,6 @@ public static Map extensions(CloudEvent event) { } public static URI source() { - return URI.create("org.openworkflow.sdk-java"); + return URI.create("cloud.openworkflow.sdk-java"); } } diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CorrelationPredicate.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CorrelationPredicate.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/CorrelationPredicate.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CorrelationPredicate.java index 62b69718a..747e7c488 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/CorrelationPredicate.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/CorrelationPredicate.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.api.types.CorrelateProperty; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import io.cloudevents.CloudEvent; import java.util.Objects; import java.util.Optional; -import org.openworkflow.sdk.api.types.CorrelateProperty; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java index 1995faa9a..972cff7a8 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/DefaultCloudEventPredicate.java @@ -13,26 +13,26 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; - +package cloud.openworkflow.sdk.impl.events; + +import cloud.openworkflow.sdk.api.types.EventData; +import cloud.openworkflow.sdk.api.types.EventDataschema; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.api.types.EventSource; +import cloud.openworkflow.sdk.api.types.EventTime; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; import java.net.URI; import java.time.OffsetDateTime; import java.util.Map; import java.util.Objects; -import org.openworkflow.sdk.api.types.EventData; -import org.openworkflow.sdk.api.types.EventDataschema; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.api.types.EventSource; -import org.openworkflow.sdk.api.types.EventTime; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; public class DefaultCloudEventPredicate implements CloudEventPredicate { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java index 8bd044e91..6fe475c4c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/DefaultCloudEventPredicateFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.impl.WorkflowApplication; public class DefaultCloudEventPredicateFactory implements CloudEventPredicateFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EmitSourceResolver.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EmitSourceResolver.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EmitSourceResolver.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EmitSourceResolver.java index 005761ce7..19782cb88 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EmitSourceResolver.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EmitSourceResolver.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.net.URI; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public class EmitSourceResolver implements WorkflowValueResolver { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EmittedEventDecorator.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EmittedEventDecorator.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EmittedEventDecorator.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EmittedEventDecorator.java index 102f0cbde..348c69437 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EmittedEventDecorator.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EmittedEventDecorator.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.impl.WorkflowDecorator; import io.cloudevents.core.builder.CloudEventBuilder; -import org.openworkflow.sdk.impl.WorkflowDecorator; /** Interface for decorating {@link CloudEventBuilder} objects. */ public interface EmittedEventDecorator extends WorkflowDecorator {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventConsumer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventConsumer.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventConsumer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventConsumer.java index 164c90e70..a9d93946f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventConsumer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventConsumer.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.api.types.EventFilter; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.function.Consumer; -import org.openworkflow.sdk.api.types.EventFilter; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; public interface EventConsumer extends AutoCloseable, ServicePriority> { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventPublisher.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventPublisher.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventPublisher.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventPublisher.java index 008874197..c597cea79 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventPublisher.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventPublisher.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; import io.cloudevents.CloudEvent; import java.util.concurrent.CompletableFuture; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistration.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistration.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistration.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistration.java index 10c142e32..c169ff07c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistration.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistration.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; public interface EventRegistration {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilder.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilder.java index 182b257c0..7b5b0ba2c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilder.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; public interface EventRegistrationBuilder {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java index 920dd0e81..4173b6050 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilderCollection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; import java.util.Collection; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java index 541e88fed..92c0d4a7a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationBuilderInfo.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.api.types.AllEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.EventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.EventFilter; +import cloud.openworkflow.sdk.api.types.ListenTo; +import cloud.openworkflow.sdk.api.types.OneEventConsumptionStrategy; +import cloud.openworkflow.sdk.api.types.Until; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; import java.util.Collection; import java.util.List; import java.util.function.Function; import java.util.stream.Collectors; -import org.openworkflow.sdk.api.types.AllEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.AnyEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.EventConsumptionStrategy; -import org.openworkflow.sdk.api.types.EventFilter; -import org.openworkflow.sdk.api.types.ListenTo; -import org.openworkflow.sdk.api.types.OneEventConsumptionStrategy; -import org.openworkflow.sdk.api.types.Until; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowPredicate; public record EventRegistrationBuilderInfo( EventRegistrationBuilderCollection registrations, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationInfo.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationInfo.java index 4ded3daf5..507b382d6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/EventRegistrationInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/EventRegistrationInfo.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import io.cloudevents.CloudEvent; import java.util.ArrayList; import java.util.Collection; import java.util.concurrent.CompletableFuture; import java.util.function.BiConsumer; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public record EventRegistrationInfo( CompletableFuture completableFuture, Collection registrations) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/InMemoryEvents.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/InMemoryEvents.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/InMemoryEvents.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/InMemoryEvents.java index 274e2052c..e0e7f52d7 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/InMemoryEvents.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/InMemoryEvents.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.impl.DefaultExecutorServiceFactory; +import cloud.openworkflow.sdk.impl.ExecutorServiceFactory; import io.cloudevents.CloudEvent; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.DefaultExecutorServiceFactory; -import org.openworkflow.sdk.impl.ExecutorServiceFactory; /* * Straightforward implementation of in memory event broker. diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java index 236dd216c..1a4d47ce1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/ModelAwareCloudEventPredicate.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; public interface ModelAwareCloudEventPredicate extends CloudEventPredicate { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/TypeEventRegistration.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/TypeEventRegistration.java similarity index 92% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/TypeEventRegistration.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/TypeEventRegistration.java index afed91d21..6cd702372 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/TypeEventRegistration.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/TypeEventRegistration.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.Collections; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public record TypeEventRegistration( String type, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java index b469bac25..c30c8ee8f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/events/TypeEventRegistrationBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.events; +package cloud.openworkflow.sdk.impl.events; import java.util.Collection; import java.util.Collections; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java index 4957f0266..165f214d3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/AbstractTaskExecutor.java @@ -13,13 +13,40 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; -import static org.openworkflow.sdk.impl.LifecycleEventsUtils.publishEvent; -import static org.openworkflow.sdk.impl.WorkflowUtils.buildWorkflowFilter; -import static org.openworkflow.sdk.impl.WorkflowUtils.getSchemaValidator; -import static org.openworkflow.sdk.impl.WorkflowUtils.validationError; +import static cloud.openworkflow.sdk.impl.LifecycleEventsUtils.publishEvent; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.buildWorkflowFilter; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.getSchemaValidator; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.validationError; +import cloud.openworkflow.sdk.api.types.Export; +import cloud.openworkflow.sdk.api.types.FlowDirective; +import cloud.openworkflow.sdk.api.types.Input; +import cloud.openworkflow.sdk.api.types.Output; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowFilter; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowPosition; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.resources.ResourceLoader; +import cloud.openworkflow.sdk.impl.schema.SchemaValidator; import java.time.Duration; import java.time.Instant; import java.util.Iterator; @@ -29,33 +56,6 @@ import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionException; import java.util.concurrent.TimeUnit; -import org.openworkflow.sdk.api.types.Export; -import org.openworkflow.sdk.api.types.FlowDirective; -import org.openworkflow.sdk.api.types.Input; -import org.openworkflow.sdk.api.types.Output; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowFilter; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowPosition; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.resources.ResourceLoader; -import org.openworkflow.sdk.impl.schema.SchemaValidator; public abstract class AbstractTaskExecutor implements TaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java index 9cfd49fbd..a0a15ad79 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallFunctionExecutorBuilder.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.CallFunction; +import cloud.openworkflow.sdk.api.types.Catalog; +import cloud.openworkflow.sdk.api.types.FunctionArguments; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.Use; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.resources.ResourceLoader; import java.net.URI; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.CallFunction; -import org.openworkflow.sdk.api.types.Catalog; -import org.openworkflow.sdk.api.types.FunctionArguments; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.Use; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.resources.ResourceLoader; public class CallFunctionExecutorBuilder implements CallableTaskBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallTaskExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallTaskExecutor.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallTaskExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallTaskExecutor.java index 986a2ce05..ce9e18f33 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallTaskExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallTaskExecutor.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; import java.util.List; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; public class CallTaskExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTask.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTask.java similarity index 81% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTask.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTask.java index c34e47533..376fee72d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTask.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTask.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; @FunctionalInterface public interface CallableTask { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskBuilder.java similarity index 77% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskBuilder.java index d0df49d24..86597b106 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskBuilder.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; public interface CallableTaskBuilder extends ServicePriority> { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskFactory.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskFactory.java index c79b6dcfb..909c0f01a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; import java.util.function.Supplier; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java index eb04627ab..6284a411d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/CallableTaskProxyBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.ServicePriority; public interface CallableTaskProxyBuilder extends ServicePriority { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java similarity index 74% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java index c7ab39e03..646481c05 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/DefaultTaskExecutorFactory.java @@ -13,27 +13,27 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.CallTask; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.executors.CallTaskExecutor.CallTaskExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.DoExecutor.DoExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.EmitExecutor.EmitExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.ForExecutor.ForExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.ForkExecutor.ForkExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.ListenExecutor.ListenExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.RaiseExecutor.RaiseExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.RunTaskExecutor.RunTaskExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.SetExecutor.SetExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.SwitchExecutor.SwitchExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.TryExecutor.TryExecutorBuilder; +import cloud.openworkflow.sdk.impl.executors.WaitExecutor.WaitExecutorBuilder; import java.util.List; -import org.openworkflow.sdk.api.types.CallTask; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.executors.CallTaskExecutor.CallTaskExecutorBuilder; -import org.openworkflow.sdk.impl.executors.DoExecutor.DoExecutorBuilder; -import org.openworkflow.sdk.impl.executors.EmitExecutor.EmitExecutorBuilder; -import org.openworkflow.sdk.impl.executors.ForExecutor.ForExecutorBuilder; -import org.openworkflow.sdk.impl.executors.ForkExecutor.ForkExecutorBuilder; -import org.openworkflow.sdk.impl.executors.ListenExecutor.ListenExecutorBuilder; -import org.openworkflow.sdk.impl.executors.RaiseExecutor.RaiseExecutorBuilder; -import org.openworkflow.sdk.impl.executors.RunTaskExecutor.RunTaskExecutorBuilder; -import org.openworkflow.sdk.impl.executors.SetExecutor.SetExecutorBuilder; -import org.openworkflow.sdk.impl.executors.SwitchExecutor.SwitchExecutorBuilder; -import org.openworkflow.sdk.impl.executors.TryExecutor.TryExecutorBuilder; -import org.openworkflow.sdk.impl.executors.WaitExecutor.WaitExecutorBuilder; public class DefaultTaskExecutorFactory implements TaskExecutorFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/DoExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/DoExecutor.java similarity index 82% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/DoExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/DoExecutor.java index 34ec5138a..e7ddae709 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/DoExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/DoExecutor.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; - +package cloud.openworkflow.sdk.impl.executors; + +import cloud.openworkflow.sdk.api.types.DoTask; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.DoTask; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; public class DoExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/EmitExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/EmitExecutor.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/EmitExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/EmitExecutor.java index 0b3316c49..2cbdaee1c 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/EmitExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/EmitExecutor.java @@ -13,8 +13,26 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; - +package cloud.openworkflow.sdk.impl.executors; + +import cloud.openworkflow.sdk.api.types.EmitTask; +import cloud.openworkflow.sdk.api.types.EventData; +import cloud.openworkflow.sdk.api.types.EventDataschema; +import cloud.openworkflow.sdk.api.types.EventProperties; +import cloud.openworkflow.sdk.api.types.EventSource; +import cloud.openworkflow.sdk.api.types.EventTime; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.events.CloudEventUtils; +import cloud.openworkflow.sdk.impl.events.EmittedEventDecorator; +import cloud.openworkflow.sdk.impl.events.EventPublisher; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; import io.cloudevents.core.builder.CloudEventBuilder; @@ -24,24 +42,6 @@ import java.util.Map; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.EmitTask; -import org.openworkflow.sdk.api.types.EventData; -import org.openworkflow.sdk.api.types.EventDataschema; -import org.openworkflow.sdk.api.types.EventProperties; -import org.openworkflow.sdk.api.types.EventSource; -import org.openworkflow.sdk.api.types.EventTime; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.events.CloudEventUtils; -import org.openworkflow.sdk.impl.events.EmittedEventDecorator; -import org.openworkflow.sdk.impl.events.EventPublisher; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ForExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ForExecutor.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ForExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ForExecutor.java index 82f9cc3b5..f8bf88203 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ForExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ForExecutor.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.ForIn; +import cloud.openworkflow.sdk.api.types.ForTask; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import java.util.Collection; import java.util.Iterator; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.ForIn; -import org.openworkflow.sdk.api.types.ForTask; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; public class ForExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ForkExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ForkExecutor.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ForkExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ForkExecutor.java index 0e3661cd1..6124a5aad 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ForkExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ForkExecutor.java @@ -13,8 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.ForkTask; +import cloud.openworkflow.sdk.api.types.ForkTaskConfiguration; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; @@ -24,13 +31,6 @@ import java.util.concurrent.ExecutorService; import java.util.stream.Collectors; import java.util.stream.Stream; -import org.openworkflow.sdk.api.types.ForkTask; -import org.openworkflow.sdk.api.types.ForkTaskConfiguration; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; public class ForkExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ListenExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ListenExecutor.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ListenExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ListenExecutor.java index fd0b25196..740106d94 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ListenExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ListenExecutor.java @@ -13,8 +13,27 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; - +package cloud.openworkflow.sdk.impl.executors; + +import cloud.openworkflow.sdk.api.types.ListenTask; +import cloud.openworkflow.sdk.api.types.ListenTaskConfiguration; +import cloud.openworkflow.sdk.api.types.ListenTaskConfiguration.ListenAndReadAs; +import cloud.openworkflow.sdk.api.types.SubscriptionIterator; +import cloud.openworkflow.sdk.api.types.Until; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; +import cloud.openworkflow.sdk.impl.WorkflowMutableInstance; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.events.EventConsumer; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilderCollection; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; +import cloud.openworkflow.sdk.impl.events.EventRegistrationInfo; import io.cloudevents.CloudEvent; import java.util.ArrayList; import java.util.Collection; @@ -22,25 +41,6 @@ import java.util.concurrent.CompletableFuture; import java.util.function.BiConsumer; import java.util.function.Function; -import org.openworkflow.sdk.api.types.ListenTask; -import org.openworkflow.sdk.api.types.ListenTaskConfiguration; -import org.openworkflow.sdk.api.types.ListenTaskConfiguration.ListenAndReadAs; -import org.openworkflow.sdk.api.types.SubscriptionIterator; -import org.openworkflow.sdk.api.types.Until; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelCollection; -import org.openworkflow.sdk.impl.WorkflowMutableInstance; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.events.EventConsumer; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilderCollection; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; -import org.openworkflow.sdk.impl.events.EventRegistrationInfo; public abstract class ListenExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ProcessResult.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ProcessResult.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ProcessResult.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ProcessResult.java index b9716cbff..3fee42624 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/ProcessResult.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/ProcessResult.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; public record ProcessResult(int code, String stdout, String stderr) {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RaiseExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RaiseExecutor.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RaiseExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RaiseExecutor.java index c39aa10d4..7afe22cd4 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RaiseExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RaiseExecutor.java @@ -13,30 +13,30 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.Error; +import cloud.openworkflow.sdk.api.types.ErrorDetails; +import cloud.openworkflow.sdk.api.types.ErrorInstance; +import cloud.openworkflow.sdk.api.types.ErrorTitle; +import cloud.openworkflow.sdk.api.types.ErrorType; +import cloud.openworkflow.sdk.api.types.RaiseTask; +import cloud.openworkflow.sdk.api.types.RaiseTaskError; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowError.Builder; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.util.Map; import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.function.BiFunction; -import org.openworkflow.sdk.api.types.Error; -import org.openworkflow.sdk.api.types.ErrorDetails; -import org.openworkflow.sdk.api.types.ErrorInstance; -import org.openworkflow.sdk.api.types.ErrorTitle; -import org.openworkflow.sdk.api.types.ErrorType; -import org.openworkflow.sdk.api.types.RaiseTask; -import org.openworkflow.sdk.api.types.RaiseTaskError; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowError.Builder; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public class RaiseExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RegularTaskExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RegularTaskExecutor.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RegularTaskExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RegularTaskExecutor.java index f218ca50a..d0cc6f0a9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RegularTaskExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RegularTaskExecutor.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; import java.util.Map; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; public abstract class RegularTaskExecutor extends AbstractTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunScriptExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunScriptExecutor.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunScriptExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunScriptExecutor.java index 073c6317b..c960511ad 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunScriptExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunScriptExecutor.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration.ProcessReturnType; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.scripts.ScriptContext; +import cloud.openworkflow.sdk.impl.scripts.ScriptRunner; import java.util.Map; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.RunTaskConfiguration.ProcessReturnType; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.scripts.ScriptContext; -import org.openworkflow.sdk.impl.scripts.ScriptRunner; public class RunScriptExecutor implements CallableTask { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java index 6946b16eb..5907ada47 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunScriptExecutorBuilder.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.RunScript; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.Script; +import cloud.openworkflow.sdk.api.types.ScriptUnion; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.scripts.ScriptLanguageId; +import cloud.openworkflow.sdk.impl.scripts.ScriptRunner; import java.util.Objects; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.RunScript; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.Script; -import org.openworkflow.sdk.api.types.ScriptUnion; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.scripts.ScriptLanguageId; -import org.openworkflow.sdk.impl.scripts.ScriptRunner; public class RunScriptExecutorBuilder implements RunnableTaskBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunShellExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunShellExecutor.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunShellExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunShellExecutor.java index 3a0f47ef6..0dabb0410 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunShellExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunShellExecutor.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration.ProcessReturnType; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.scripts.ScriptUtils; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.RunTaskConfiguration.ProcessReturnType; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.scripts.ScriptUtils; public class RunShellExecutor implements CallableTask { private final WorkflowValueResolver shellCommand; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java index ab5070313..a34fa058d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunShellExecutorBuilder.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.RunShell; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.Shell; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.List; import java.util.Optional; -import org.openworkflow.sdk.api.types.RunShell; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.Shell; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowUtils; public class RunShellExecutorBuilder implements RunnableTaskBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunTaskExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunTaskExecutor.java similarity index 82% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunTaskExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunTaskExecutor.java index 2a7181847..e3cca3b50 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunTaskExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunTaskExecutor.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.RunTask; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.RunTask; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; public class RunTaskExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java index 96dbae6a6..3f93cfe24 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunWorkflowExecutor.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.util.Map; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public class RunWorkflowExecutor implements CallableTask { private final WorkflowDefinitionId workflowDefinitionId; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java similarity index 76% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java index 3dd4ce138..d6116154b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunWorkflowExecutorBuilder.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.RunWorkflow; +import cloud.openworkflow.sdk.api.types.SubflowConfiguration; +import cloud.openworkflow.sdk.api.types.SubflowInput; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.Map; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.RunWorkflow; -import org.openworkflow.sdk.api.types.SubflowConfiguration; -import org.openworkflow.sdk.api.types.SubflowInput; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowUtils; public class RunWorkflowExecutorBuilder implements RunnableTaskBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java index 71728913f..aeac3df7d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/RunnableTaskBuilder.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; public interface RunnableTaskBuilder extends ServicePriority> { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/SetExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/SetExecutor.java similarity index 76% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/SetExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/SetExecutor.java index 134351f57..ddf89e79e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/SetExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/SetExecutor.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.Set; +import cloud.openworkflow.sdk.api.types.SetTask; +import cloud.openworkflow.sdk.api.types.SetTaskConfiguration; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowFilter; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.Set; -import org.openworkflow.sdk.api.types.SetTask; -import org.openworkflow.sdk.api.types.SetTaskConfiguration; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowFilter; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowUtils; public class SetExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/SwitchExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/SwitchExecutor.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/SwitchExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/SwitchExecutor.java index a3f57a4ce..41925b280 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/SwitchExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/SwitchExecutor.java @@ -13,24 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.FlowDirective; +import cloud.openworkflow.sdk.api.types.SwitchCase; +import cloud.openworkflow.sdk.api.types.SwitchItem; +import cloud.openworkflow.sdk.api.types.SwitchTask; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.stream.Collectors; -import org.openworkflow.sdk.api.types.FlowDirective; -import org.openworkflow.sdk.api.types.SwitchCase; -import org.openworkflow.sdk.api.types.SwitchItem; -import org.openworkflow.sdk.api.types.SwitchTask; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowUtils; public class SwitchExecutor extends AbstractTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutor.java similarity index 78% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutor.java index 1df7e048f..0aed1712e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutor.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; @FunctionalInterface public interface TaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java index 13a3ca1ef..b8dbc79b5 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.TaskBase; import java.util.Map; -import org.openworkflow.sdk.api.types.TaskBase; public interface TaskExecutorBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorFactory.java similarity index 73% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorFactory.java index 60b2e81f9..96ec5c026 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorFactory.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; public interface TaskExecutorFactory extends ServicePriority { TaskExecutorBuilder getTaskExecutor( diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorHelper.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorHelper.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorHelper.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorHelper.java index aa1b5bfe4..ab9659210 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TaskExecutorHelper.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TaskExecutorHelper.java @@ -13,8 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowStatus; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; @@ -22,13 +29,6 @@ import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.stream.Collectors; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowStatus; public class TaskExecutorHelper { private TaskExecutorHelper() {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TransitionInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TransitionInfo.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TransitionInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TransitionInfo.java index a7c18ae4f..537daa9ce 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TransitionInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TransitionInfo.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; public record TransitionInfo(TaskExecutor next, boolean isEndNode) { private static final TransitionInfo END = new TransitionInfo(null, true); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java index cac8b087d..f8174c022 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TransitionInfoBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; public record TransitionInfoBuilder(TaskExecutorBuilder next, boolean isEndNode) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TryExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TryExecutor.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TryExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TryExecutor.java index 7abc97b1e..0a11c9da4 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/TryExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/TryExecutor.java @@ -13,8 +13,35 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.CatchErrors; +import cloud.openworkflow.sdk.api.types.ErrorFilter; +import cloud.openworkflow.sdk.api.types.FlowDirective; +import cloud.openworkflow.sdk.api.types.Retry; +import cloud.openworkflow.sdk.api.types.RetryBackoff; +import cloud.openworkflow.sdk.api.types.RetryLimit; +import cloud.openworkflow.sdk.api.types.RetryPolicy; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.api.types.TryTaskCatch; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.retry.ConstantRetryIntervalFunction; +import cloud.openworkflow.sdk.impl.executors.retry.DefaultRetryExecutor; +import cloud.openworkflow.sdk.impl.executors.retry.ExponentialRetryIntervalFunction; +import cloud.openworkflow.sdk.impl.executors.retry.LinearRetryIntervalFunction; +import cloud.openworkflow.sdk.impl.executors.retry.RetryExecutor; +import cloud.openworkflow.sdk.impl.executors.retry.RetryIntervalFunction; +import cloud.openworkflow.sdk.types.Errors; import java.time.Duration; import java.util.List; import java.util.Map; @@ -25,33 +52,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.function.Predicate; -import org.openworkflow.sdk.api.types.CatchErrors; -import org.openworkflow.sdk.api.types.ErrorFilter; -import org.openworkflow.sdk.api.types.FlowDirective; -import org.openworkflow.sdk.api.types.Retry; -import org.openworkflow.sdk.api.types.RetryBackoff; -import org.openworkflow.sdk.api.types.RetryLimit; -import org.openworkflow.sdk.api.types.RetryPolicy; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.api.types.TryTaskCatch; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.retry.ConstantRetryIntervalFunction; -import org.openworkflow.sdk.impl.executors.retry.DefaultRetryExecutor; -import org.openworkflow.sdk.impl.executors.retry.ExponentialRetryIntervalFunction; -import org.openworkflow.sdk.impl.executors.retry.LinearRetryIntervalFunction; -import org.openworkflow.sdk.impl.executors.retry.RetryExecutor; -import org.openworkflow.sdk.impl.executors.retry.RetryIntervalFunction; -import org.openworkflow.sdk.types.Errors; public class TryExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/WaitExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/WaitExecutor.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/WaitExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/WaitExecutor.java index 6ef5a3c21..19b2fe487 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/WaitExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/WaitExecutor.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors; +package cloud.openworkflow.sdk.impl.executors; +import cloud.openworkflow.sdk.api.types.WaitTask; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.time.Duration; import java.util.concurrent.CompletableFuture; import java.util.concurrent.TimeUnit; -import org.openworkflow.sdk.api.types.WaitTask; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public class WaitExecutor extends RegularTaskExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java similarity index 79% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java index daa321385..23ecef9ae 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/http/CallableTaskHttpExecutorBuilder.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.http; +package cloud.openworkflow.sdk.impl.executors.http; -import static org.openworkflow.sdk.impl.WorkflowUtils.buildMapResolver; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.buildMapResolver; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.HTTPArguments; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.executors.CallableTaskBuilder; -import org.openworkflow.sdk.impl.executors.CallableTaskFactory; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.HTTPArguments; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder; +import cloud.openworkflow.sdk.impl.executors.CallableTaskFactory; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; public class CallableTaskHttpExecutorBuilder implements CallableTaskBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/http/HttpExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/http/HttpExecutor.java similarity index 77% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/http/HttpExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/http/HttpExecutor.java index bfe41c40e..140a27654 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/http/HttpExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/http/HttpExecutor.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.http; +package cloud.openworkflow.sdk.impl.executors.http; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.CallableTask; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; import java.net.URI; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.CallableTask; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; public class HttpExecutor implements CallableTask { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java index e861e93e2..b081b95f0 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutor.java @@ -13,8 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.executors.CallableTask; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo.Builder; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; import java.net.URI; import java.util.HashMap; import java.util.HashSet; @@ -22,15 +31,6 @@ import java.util.Map; import java.util.Set; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.executors.CallableTask; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo.Builder; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; class OpenAPIExecutor implements CallableTask { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java similarity index 76% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java index 7ff10ebc9..ba8a185f3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIExecutorBuilder.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; +import cloud.openworkflow.sdk.api.types.CallOpenAPI; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.OpenAPIArguments; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder; +import cloud.openworkflow.sdk.impl.executors.CallableTaskFactory; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; import java.util.Map; -import org.openworkflow.sdk.api.types.CallOpenAPI; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.OpenAPIArguments; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.executors.CallableTaskBuilder; -import org.openworkflow.sdk.impl.executors.CallableTaskFactory; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfoBuilderFactory; public class OpenAPIExecutorBuilder implements CallableTaskBuilder { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java index 9267576c7..3a7b0b94f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessor.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; import java.util.Objects; import java.util.Optional; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java similarity index 99% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java index 4935e7d4c..b466cc036 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OperationDefinition.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java index 33fbb2277..1cddfbdcb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/OperationPathResolver.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.net.URI; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; class OperationPathResolver implements WorkflowValueResolver { private final String path; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java index 674c36f2f..41b87ad65 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/ParameterDefinition.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; record ParameterDefinition( String name, String in, boolean required, UnifiedOpenAPI.Schema schema) {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java similarity index 99% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java index 6c1494d2c..a858a6598 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPI.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; import java.util.HashSet; import java.util.List; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java index 091cf0e68..6f5a59cfc 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/UnifiedOpenAPIReader.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; public interface UnifiedOpenAPIReader { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java index 3d6e27d36..da60e772a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/AbstractRetryIntervalFunction.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.api.types.RetryPolicyJitter; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.time.Duration; import java.util.Optional; -import org.openworkflow.sdk.api.types.RetryPolicyJitter; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public abstract class AbstractRetryIntervalFunction implements RetryIntervalFunction { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java similarity index 82% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java index 691afa47c..d870c39bd 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/ConstantRetryIntervalFunction.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.api.types.RetryPolicyJitter; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.time.Duration; -import org.openworkflow.sdk.api.types.RetryPolicyJitter; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.impl.WorkflowApplication; public class ConstantRetryIntervalFunction extends AbstractRetryIntervalFunction { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java index 06cc0a7b3..5e16e58e8 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/DefaultRetryExecutor.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.time.Duration; import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.concurrent.TimeUnit; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowUtils; public class DefaultRetryExecutor implements RetryExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java index fbcd210d0..d2f6f1ae6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/ExponentialRetryIntervalFunction.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.api.types.RetryPolicyJitter; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.time.Duration; -import org.openworkflow.sdk.api.types.RetryPolicyJitter; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.impl.WorkflowApplication; public class ExponentialRetryIntervalFunction extends AbstractRetryIntervalFunction { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java similarity index 82% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java index bd36463b2..1921449e7 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/LinearRetryIntervalFunction.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.api.types.RetryPolicyJitter; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.time.Duration; -import org.openworkflow.sdk.api.types.RetryPolicyJitter; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.impl.WorkflowApplication; public class LinearRetryIntervalFunction extends AbstractRetryIntervalFunction { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/RetryExecutor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/RetryExecutor.java similarity index 82% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/RetryExecutor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/RetryExecutor.java index 28e7120d3..9195d6606 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/RetryExecutor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/RetryExecutor.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; public interface RetryExecutor { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java index 47d6eb885..655b42dea 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/executors/retry/RetryIntervalFunction.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.retry; +package cloud.openworkflow.sdk.impl.executors.retry; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.time.Duration; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; public interface RetryIntervalFunction { Duration apply( diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java index ee1f81f8b..01e941cc5 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/AbstractExpressionFactory.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; +import cloud.openworkflow.sdk.impl.WorkflowFilter; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import io.cloudevents.CloudEventData; import java.time.OffsetDateTime; import java.util.Collection; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowFilter; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public abstract class AbstractExpressionFactory implements ExpressionFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java index 75fe8613f..fc41888cb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/AbstractProxyCollection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; import java.util.Collection; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java index b217df2be..c20c9d741 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/DateTimeDescriptor.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; import java.time.Instant; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java index efa817aba..1de8b47f6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionDescriptor.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; public record ExpressionDescriptor(String asString, Object asObject) { public static ExpressionDescriptor from(String string) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionFactory.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionFactory.java index 09980364a..5e8203891 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionFactory.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.WorkflowFilter; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import io.cloudevents.CloudEventData; import java.time.OffsetDateTime; import java.util.Collection; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.WorkflowFilter; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public interface ExpressionFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionUtils.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionUtils.java index ad3a2a55d..056db8407 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; public class ExpressionUtils { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionValidationException.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionValidationException.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionValidationException.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionValidationException.java index 86d9c1194..6e65c7150 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ExpressionValidationException.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ExpressionValidationException.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; public class ExpressionValidationException extends RuntimeException { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ObjectExpression.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ObjectExpression.java similarity index 79% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ObjectExpression.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ObjectExpression.java index ef31c9714..5defd5cea 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ObjectExpression.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ObjectExpression.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; public interface ObjectExpression { Object eval(WorkflowContext workflowContext, TaskContext context, WorkflowModel model); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java similarity index 92% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java index c42c4920c..a1cf203d3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ObjectExpressionFactory.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; - +package cloud.openworkflow.sdk.impl.expressions; + +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowPredicate; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; import java.util.Collection; import java.util.Map; import java.util.Optional; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowPredicate; -import org.openworkflow.sdk.impl.WorkflowValueResolver; public abstract class ObjectExpressionFactory extends AbstractExpressionFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyCollection.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyCollection.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyCollection.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyCollection.java index ac44a5a8b..732d2847a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyCollection.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyCollection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; import java.util.Collection; import java.util.Iterator; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyIterator.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyIterator.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyIterator.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyIterator.java index 8b46b8ac8..eeee58063 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyIterator.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyIterator.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; import java.util.Iterator; import java.util.function.UnaryOperator; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyMap.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyMap.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyMap.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyMap.java index 744eb9e36..dda745659 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/ProxyMap.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/ProxyMap.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; import java.util.Collection; import java.util.Iterator; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java index 7024dd56b..0a221ec61 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/RuntimeDescriptor.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; import java.util.Map; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/TaskDescriptor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/TaskDescriptor.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/TaskDescriptor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/TaskDescriptor.java index ca81f6ce3..a00cfcd79 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/TaskDescriptor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/TaskDescriptor.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; public record TaskDescriptor( String name, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java similarity index 81% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java index 8f73225b0..633e906ef 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/expressions/WorkflowDescriptor.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions; +package cloud.openworkflow.sdk.impl.expressions; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; public record WorkflowDescriptor( String id, Workflow definition, WorkflowModel input, DateTimeDescriptor startedAt) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpRequest.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpRequest.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpRequest.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpRequest.java index 08a256168..7010fae0f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpRequest.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpRequest.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.net.URI; import java.net.URLEncoder; import java.net.http.HttpClient; @@ -27,10 +31,6 @@ import java.util.concurrent.CompletableFuture; import java.util.function.Function; import java.util.stream.Collectors; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; public class DefaultHttpRequest implements WorkflowHttpRequest { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java similarity index 91% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java index a9864927d..1ed932fac 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpRequestBuilderFactory.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.net.http.HttpClient; import java.net.http.HttpClient.Redirect; -import org.openworkflow.sdk.impl.WorkflowApplication; public class DefaultHttpRequestBuilderFactory implements WorkflowHttpRequestFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpResponse.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpResponse.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpResponse.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpResponse.java index 9c30f4c12..3aae6047b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultHttpResponse.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultHttpResponse.java @@ -13,8 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.net.http.HttpClient.Version; import java.net.http.HttpResponse; import java.time.ZonedDateTime; @@ -25,8 +27,6 @@ import java.util.Optional; import java.util.OptionalLong; import java.util.stream.Collectors; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java similarity index 99% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java index 6d9373ee4..0a690439a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/DefaultURITemplateResolver.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; import java.io.UnsupportedEncodingException; import java.net.URI; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/URIDecodedBuilder.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/URIDecodedBuilder.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/URIDecodedBuilder.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/URIDecodedBuilder.java index b7693939a..c31e51a63 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/URIDecodedBuilder.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/URIDecodedBuilder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; import java.net.URI; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/URITemplateResolver.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/URITemplateResolver.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/URITemplateResolver.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/URITemplateResolver.java index e26220d90..95e4ab59b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/URITemplateResolver.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/URITemplateResolver.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.ServicePriority; import java.net.URI; import java.util.Map; -import org.openworkflow.sdk.impl.ServicePriority; public interface URITemplateResolver extends ServicePriority { URI resolveTemplates(String uri, Map map); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpContentType.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpContentType.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpContentType.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpContentType.java index 7d2b12694..6cee52a3e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpContentType.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpContentType.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpHelper.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpHelper.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpHelper.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpHelper.java index ee7219b71..6c3891f91 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpHelper.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpHelper.java @@ -13,8 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; +import cloud.openworkflow.sdk.impl.auth.AuthUtils; +import cloud.openworkflow.sdk.types.Errors; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.UncheckedIOException; @@ -27,15 +36,6 @@ import java.util.concurrent.CompletionException; import java.util.concurrent.TimeoutException; import java.util.function.BiConsumer; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.auth.AuthProvider; -import org.openworkflow.sdk.impl.auth.AuthUtils; -import org.openworkflow.sdk.types.Errors; public class WorkflowHttpHelper { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequest.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequest.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequest.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequest.java index 372d15a1b..92c9185c1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequest.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequest.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public interface WorkflowHttpRequest { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java index 0ee33a059..dbe8fa021 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.WorkflowApplication; public interface WorkflowHttpRequestFactory extends ServicePriority, AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java index 7f6098fa5..aa17fa634 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestInfo.java @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; import java.net.URI; import java.time.Instant; import java.time.ZoneOffset; @@ -25,9 +28,6 @@ import java.util.Objects; import java.util.TreeMap; import java.util.stream.Collectors; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.auth.AuthProvider; public record WorkflowHttpRequestInfo( URI uri, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java index 60bf33a25..548d0b3ba 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpRequestInfoBuilderFactory.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Use; +import cloud.openworkflow.sdk.api.types.UseAuthentications; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowFilter; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo.Builder; import java.net.URI; import java.util.Map; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Use; -import org.openworkflow.sdk.api.types.UseAuthentications; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowFilter; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.auth.AuthProvider; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo.Builder; public class WorkflowHttpRequestInfoBuilderFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpResponse.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpResponse.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpResponse.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpResponse.java index 3c4e46f70..606fec78d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowHttpResponse.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowHttpResponse.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.List; import java.util.Map; import java.util.OptionalLong; -import org.openworkflow.sdk.impl.WorkflowModel; public interface WorkflowHttpResponse extends AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java index 57df4a303..6e0a865ef 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/http/WorkflowResponseSniffer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; import java.nio.ByteBuffer; import java.nio.charset.CharacterCodingException; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/EventType.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/EventType.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/EventType.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/EventType.java index 5f2c6dc8d..b35869c20 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/EventType.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/EventType.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; public enum EventType { TASK_STARTED(Constants.TASK_STARTED), diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java index 77014d63f..3e67cb236 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/LifeCycleEventType.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; public enum LifeCycleEventType { V8(Constants.V8_PREFIX), diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java index b3c250b8e..7252bb7e0 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskCancelledEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskCancelledEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java index 119138cea..01fd18dfb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskCompletedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskCompletedEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskEvent.java index 57c8a1314..df0cdcfca 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; public abstract class TaskEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java index 4a20c7483..a07127fa3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskFailedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskFailedEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java index 7447deed1..58b0911b2 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskResumedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskResumedEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java index e7a38cf23..367019ad3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskRetriedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskRetriedEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java index f7c8ec9c0..d6ba10d12 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskStartedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskStartedEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java index c9d031446..5d46597e4 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TaskSuspendedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class TaskSuspendedEvent extends TaskEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java index b2f745527..7b45a5ffb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/TraceExecutionListener.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java index 1e1d10adc..c26c06830 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowCancelledEvent.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; public class WorkflowCancelledEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java similarity index 86% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java index 5d6209d2d..03640fe80 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowCompletedEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowModel; public class WorkflowCompletedEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java similarity index 91% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java index c74f1ceac..cf6fcda23 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; +import cloud.openworkflow.sdk.impl.WorkflowContextData; import java.time.OffsetDateTime; -import org.openworkflow.sdk.impl.WorkflowContextData; public abstract class WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java index baac7a3c8..690e49076 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionCompletableListener.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; +import cloud.openworkflow.sdk.impl.ServicePriority; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.ServicePriority; public interface WorkflowExecutionCompletableListener extends AutoCloseable, ServicePriority { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java index 5f1b121cc..04b25fdfd 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListener.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.ServicePriority; public interface WorkflowExecutionListener extends AutoCloseable, ServicePriority { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java similarity index 99% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java index e3bf79f6b..02cc0930a 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowExecutionListenerAdapter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; import java.util.concurrent.CompletableFuture; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java index d45736076..161f27130 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowFailedEvent.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; public class WorkflowFailedEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java index dc0146876..d23f896e9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowResumedEvent.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; public class WorkflowResumedEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java index 901750a63..e3cceb0ba 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowStartedEvent.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; public class WorkflowStartedEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java index a17dd8d55..c0066bece 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowStatusEvent.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowStatus; public class WorkflowStatusEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java index 9a90597c3..c043e6683 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/WorkflowSuspendedEvent.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle; +package cloud.openworkflow.sdk.impl.lifecycle; -import org.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; public class WorkflowSuspendedEvent extends WorkflowEvent { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java index 5835f8af7..69fa26473 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/AbstractLifeCyclePublisher.java @@ -13,8 +13,29 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; - +package cloud.openworkflow.sdk.impl.lifecycle.ce; + +import cloud.openworkflow.sdk.impl.LifecycleEvents; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.events.CloudEventUtils; +import cloud.openworkflow.sdk.impl.lifecycle.EventType; +import cloud.openworkflow.sdk.impl.lifecycle.LifeCycleEventType; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; import io.cloudevents.core.builder.CloudEventBuilder; @@ -24,27 +45,6 @@ import java.util.Collection; import java.util.function.BiFunction; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.LifecycleEvents; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.events.CloudEventUtils; -import org.openworkflow.sdk.impl.lifecycle.EventType; -import org.openworkflow.sdk.impl.lifecycle.LifeCycleEventType; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; public abstract class AbstractLifeCyclePublisher implements WorkflowExecutionListener { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java similarity index 72% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java index e7688d012..463f3f0e1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/DefaultLifeCycleCloudEventFactory.java @@ -13,24 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; - +package cloud.openworkflow.sdk.impl.lifecycle.ce; + +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; public class DefaultLifeCycleCloudEventFactory implements WorkflowLifeCycleCloudEventFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java similarity index 80% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java index cfe92a612..94ee6c889 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/InputOutputLifeCycleCloudEventFactory.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; public class InputOutputLifeCycleCloudEventFactory extends DefaultLifeCycleCloudEventFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java index fcc93b54f..a9d142c21 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCEData.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; -import static org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCEData.id; -import static org.openworkflow.sdk.impl.lifecycle.ce.WorkflowDefinitionCEData.ref; +import static cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCEData.id; +import static cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowDefinitionCEData.ref; +import cloud.openworkflow.sdk.impl.lifecycle.TaskEvent; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskEvent; public class TaskCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java index 76bc75f8c..fe41601a3 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCancelledCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; public class TaskCancelledCEData extends TaskCEData { private OffsetDateTime cancelledAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java index f0ae437de..e53158b97 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; public class TaskCompletedCEData extends TaskCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java index ff2a4c132..2bf4b54b9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskCompletedCEDataWithOutput.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; public class TaskCompletedCEDataWithOutput extends TaskCompletedCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java index 2eb3cd311..866df16c0 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskFailedCEData.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; public class TaskFailedCEData extends TaskCEData { private OffsetDateTime faultedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java index cc05f69e4..539e61d2f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskResumedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; public class TaskResumedCEData extends TaskCEData { private OffsetDateTime resumedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java index 26ad7826b..47f0a537d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskRetriedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; public class TaskRetriedCEData extends TaskCEData { private OffsetDateTime retriedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java index c92c93883..ebf62be3b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; public class TaskStartedCEData extends TaskCEData { private OffsetDateTime startedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java index 7d3ef76d5..0ab5ae15d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskStartedCEDataWithInput.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; public class TaskStartedCEDataWithInput extends TaskStartedCEData { private Object input; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java index 3eb90f16d..efb43a1ed 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/TaskSuspendedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; public class TaskSuspendedCEData extends TaskCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java similarity index 90% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java index 597be9527..689873e48 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCEData.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; -import static org.openworkflow.sdk.impl.lifecycle.ce.WorkflowDefinitionCEData.ref; +import static cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowDefinitionCEData.ref; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowEvent; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowEvent; public class WorkflowCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java index 883194a26..3fd82787e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCancelledCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; public class WorkflowCancelledCEData extends WorkflowCEData { private OffsetDateTime cancelledAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java index 7c63dc1c8..2ef6fb3d9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; public class WorkflowCompletedCEData extends WorkflowCEData { public WorkflowCompletedCEData(WorkflowCompletedEvent ev) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java index 089915941..b1406a085 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowCompletedCEDataWithOutput.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; public class WorkflowCompletedCEDataWithOutput extends WorkflowCompletedCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java index d7cbf3ffb..1f1253061 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowDefinitionCEData.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.lifecycle.WorkflowEvent; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowEvent; public record WorkflowDefinitionCEData(String namespace, String name, String version) { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java index 921fb509e..d202b8e7f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowFailedCEData.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; public class WorkflowFailedCEData extends WorkflowCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java similarity index 62% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java index 0983ad134..11b5ecf7d 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowLifeCycleCloudEventFactory.java @@ -13,24 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; - +package cloud.openworkflow.sdk.impl.lifecycle.ce; + +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; public interface WorkflowLifeCycleCloudEventFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java index d3550bae8..bbb93eef1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowResumedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; public class WorkflowResumedCEData extends WorkflowCEData { private OffsetDateTime resumedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java index 3ee199743..56f373449 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; public class WorkflowStartedCEData extends WorkflowCEData { private OffsetDateTime startedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java index acb5ea812..5d28c673e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStartedCEDataWithInput.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; public class WorkflowStartedCEDataWithInput extends WorkflowStartedCEData { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java index b01d47a52..d63feafa5 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowStatusCEDataEvent.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; public class WorkflowStatusCEDataEvent extends WorkflowCEData { private OffsetDateTime updatedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java index 1e302670c..eb2c21e84 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/lifecycle/ce/WorkflowSuspendedCEData.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.lifecycle.ce; +package cloud.openworkflow.sdk.impl.lifecycle.ce; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; import java.time.OffsetDateTime; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; public class WorkflowSuspendedCEData extends WorkflowCEData { private OffsetDateTime suspendedAt; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java index 08e44ec67..d1934a845 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/AbstractInputBuffer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.time.Instant; import java.util.ArrayList; @@ -128,7 +128,7 @@ protected Class readClass() { try { return Class.forName( className.startsWith("io.serverlessworkflow.") - ? className.replaceFirst("io.serverlessworkflow.", "org.openworkflow.sdk.") + ? className.replaceFirst("io.serverlessworkflow.", "cloud.openworkflow.sdk.") : className); } catch (ClassNotFoundException ex) { throw new IllegalStateException(ex); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java index 39a8cf3ec..1af4b4530 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/AbstractOutputBuffer.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.net.URI; import java.time.Instant; import java.time.OffsetDateTime; import java.util.Collection; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import org.openworkflow.sdk.impl.WorkflowModel; public abstract class AbstractOutputBuffer implements WorkflowOutputBuffer { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java index 2d422f23e..485e5b1b9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/CustomObjectMarshaller.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; -import org.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.ServicePriority; public interface CustomObjectMarshaller extends ServicePriority> { void write(WorkflowOutputBuffer buffer, T object); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java index d477b1b1d..00879b1bb 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultBufferFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.io.InputStream; import java.io.OutputStream; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java index ed37644c1..9e15940a1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultInputBuffer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.io.DataInputStream; import java.io.IOException; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java similarity index 98% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java index 4af88d977..e5e8985b6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/DefaultOutputBuffer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.io.DataOutputStream; import java.io.IOException; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/MarshallingUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/MarshallingUtils.java similarity index 99% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/MarshallingUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/MarshallingUtils.java index 3c485e80e..93527fff9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/MarshallingUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/MarshallingUtils.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; +import cloud.openworkflow.sdk.impl.WorkflowModel; import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; import java.io.ByteArrayInputStream; @@ -31,7 +32,6 @@ import java.util.Set; import java.util.function.BiConsumer; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/TaskStatus.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/TaskStatus.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/TaskStatus.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/TaskStatus.java index 37f9da80f..ecaa46158 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/TaskStatus.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/TaskStatus.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; public enum TaskStatus { COMPLETED, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/Type.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/Type.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/Type.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/Type.java index 65e41f72c..2912c6eb1 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/Type.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/Type.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; enum Type { BYTE, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java index cede12be8..2432f2b69 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowBufferFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.io.InputStream; import java.io.OutputStream; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java index 87cad598b..5ff8b2b83 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowInputBuffer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.io.Closeable; import java.net.URI; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java index 61dfd34b4..e77100989 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/marshaller/WorkflowOutputBuffer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.net.URI; import java.time.Instant; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/CachedResource.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/CachedResource.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/CachedResource.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/CachedResource.java index c0e201cd1..7aaf2de68 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/CachedResource.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/CachedResource.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; import java.time.Instant; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ClasspathResource.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ClasspathResource.java similarity index 92% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ClasspathResource.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ClasspathResource.java index 589873448..321da509f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ClasspathResource.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ClasspathResource.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import java.io.IOException; import java.io.InputStream; import java.util.Objects; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public class ClasspathResource implements ExternalResourceHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/DefaultResourceLoader.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/DefaultResourceLoader.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/DefaultResourceLoader.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/DefaultResourceLoader.java index 7d3a04dfa..069eea739 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/DefaultResourceLoader.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/DefaultResourceLoader.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; import java.net.URI; import java.nio.file.Path; import java.time.Instant; @@ -22,10 +26,6 @@ import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.auth.AuthProvider; public class DefaultResourceLoader extends ResourceLoader { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java similarity index 91% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java index 3199c4168..ef603f536 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/DefaultResourceLoaderFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.nio.file.Path; -import org.openworkflow.sdk.impl.WorkflowApplication; public class DefaultResourceLoaderFactory implements ResourceLoaderFactory { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ExternalResourceHandler.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ExternalResourceHandler.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ExternalResourceHandler.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ExternalResourceHandler.java index bb6ae109c..b3a6e556b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ExternalResourceHandler.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ExternalResourceHandler.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import java.time.Instant; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; public interface ExternalResourceHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/FileResource.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/FileResource.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/FileResource.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/FileResource.java index 77ce8bc4c..ea17f83fe 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/FileResource.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/FileResource.java @@ -13,8 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.file.Files; @@ -23,8 +25,6 @@ import java.time.Instant; import java.util.Objects; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; class FileResource implements ExternalResourceHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/GitHubHelper.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/GitHubHelper.java similarity index 91% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/GitHubHelper.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/GitHubHelper.java index 065487993..8719f03fd 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/GitHubHelper.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/GitHubHelper.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.http.URIDecodedBuilder; import java.net.URI; -import org.openworkflow.sdk.impl.http.URIDecodedBuilder; public class GitHubHelper { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/HttpResource.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/HttpResource.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/HttpResource.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/HttpResource.java index 0a266d9c2..d0e0560c2 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/HttpResource.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/HttpResource.java @@ -13,8 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URI; @@ -22,12 +28,6 @@ import java.util.Objects; import java.util.OptionalLong; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.auth.AuthProvider; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; public class HttpResource implements ExternalResourceHandler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceContentConverter.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceContentConverter.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceContentConverter.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceContentConverter.java index a180167f5..275a9c797 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceContentConverter.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceContentConverter.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; import java.util.function.BiFunction; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceLoader.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceLoader.java similarity index 85% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceLoader.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceLoader.java index 9b9fe059c..60e37c7ae 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceLoader.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceLoader.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; - -import static org.openworkflow.sdk.impl.WorkflowUtils.getURISupplier; - +package cloud.openworkflow.sdk.impl.resources; + +import static cloud.openworkflow.sdk.impl.WorkflowUtils.getURISupplier; + +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.EndpointUri; +import cloud.openworkflow.sdk.api.types.ExternalResource; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; import java.net.URI; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.EndpointUri; -import org.openworkflow.sdk.api.types.ExternalResource; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.auth.AuthProvider; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; public abstract class ResourceLoader implements AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java index d57799871..51a52bfe9 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/resources/ResourceLoaderFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.resources; +package cloud.openworkflow.sdk.impl.resources; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.nio.file.Path; -import org.openworkflow.sdk.impl.WorkflowApplication; public interface ResourceLoaderFactory { ResourceLoader getResourceLoader(WorkflowApplication application, Path path); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java index 5c071ebfa..c4c1401c2 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfo.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilder; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilder; public interface AllStrategyCorrelationInfo extends AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java index 3f43306b0..1cbabe18e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/AllStrategyCorrelationInfoFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowDefinition; public interface AllStrategyCorrelationInfoFactory extends Function {} diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/Cancellable.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/Cancellable.java similarity index 93% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/Cancellable.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/Cancellable.java index 5506f86f7..db4c9066b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/Cancellable.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/Cancellable.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; public interface Cancellable { void cancel(); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/CronResolver.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/CronResolver.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/CronResolver.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/CronResolver.java index 5fc167786..ce5757d6b 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/CronResolver.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/CronResolver.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; import java.time.Duration; import java.util.Optional; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/CronResolverFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/CronResolverFactory.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/CronResolverFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/CronResolverFactory.java index 37db5a263..fcb71b156 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/CronResolverFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/CronResolverFactory.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; -import org.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.ServicePriority; public interface CronResolverFactory extends ServicePriority { CronResolver parseCron(String cron); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java index 8ce1859c3..0d584f573 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/DefaultWorkflowScheduler.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; public class DefaultWorkflowScheduler extends ExecutorServiceWorkflowScheduler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java similarity index 83% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java index b04595be0..e0a121402 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/EventWorkflowScheduler.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; import io.cloudevents.CloudEvent; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; public abstract class EventWorkflowScheduler implements WorkflowScheduler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java index 6aeca6a7f..0cd0cdc17 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ExecutorServiceWorkflowScheduler.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; import java.time.Duration; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; -import org.openworkflow.sdk.impl.WorkflowDefinition; public abstract class ExecutorServiceWorkflowScheduler extends EventWorkflowScheduler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java index edb121e7f..a57bb9887 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/InMemoryAllStrategyCorrelationInfo.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilder; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.HashMap; @@ -22,7 +23,6 @@ import java.util.LinkedHashSet; import java.util.Map; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilder; public class InMemoryAllStrategyCorrelationInfo implements AllStrategyCorrelationInfo { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java index 7f50f5145..d7c6524af 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledEventConsumer.java @@ -13,23 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; -import static org.openworkflow.sdk.impl.WorkflowUtils.safeClose; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.safeClose; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; +import cloud.openworkflow.sdk.impl.events.EventConsumer; +import cloud.openworkflow.sdk.impl.events.EventRegistration; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilder; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; import io.cloudevents.CloudEvent; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelCollection; -import org.openworkflow.sdk.impl.events.EventConsumer; -import org.openworkflow.sdk.impl.events.EventRegistration; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilder; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; public class ScheduledEventConsumer implements AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java similarity index 91% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java index ae0aed7f9..8a37d41e6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledInstanceRunnable.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java similarity index 95% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java index 57f60f7c7..936dc1356 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/ScheduledServiceCancellable.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; import java.util.concurrent.ScheduledFuture; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java index e9d3bc553..9c4c5b081 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scheduler/WorkflowScheduler.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scheduler; +package cloud.openworkflow.sdk.impl.scheduler; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; import io.cloudevents.CloudEvent; import java.time.Duration; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilderInfo; public interface WorkflowScheduler { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java similarity index 89% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java index e7f7b5509..b877a8a4f 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/AbstractSchemaValidator.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.schema; +package cloud.openworkflow.sdk.impl.schema; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.types.Errors; import java.util.Optional; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.types.Errors; public abstract class AbstractSchemaValidator implements SchemaValidator { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/schema/SchemaValidator.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/SchemaValidator.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/schema/SchemaValidator.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/SchemaValidator.java index 0ccec4588..843d31925 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/schema/SchemaValidator.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/SchemaValidator.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.schema; +package cloud.openworkflow.sdk.impl.schema; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.util.Optional; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowModel; public interface SchemaValidator { Optional validate(WorkflowModel model); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java similarity index 84% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java index 9af72d688..05b9bf923 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/schema/SchemaValidatorFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.schema; +package cloud.openworkflow.sdk.impl.schema; -import org.openworkflow.sdk.api.types.SchemaInline; -import org.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.api.types.SchemaInline; +import cloud.openworkflow.sdk.impl.ServicePriority; public interface SchemaValidatorFactory extends ServicePriority { SchemaValidator getValidator(SchemaInline inline); diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptContext.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptContext.java similarity index 88% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptContext.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptContext.java index e2b10b638..2fb1ebbc4 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptContext.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptContext.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scripts; +package cloud.openworkflow.sdk.impl.scripts; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; import java.util.Map; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; public record ScriptContext( Map args, diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptLanguageId.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptLanguageId.java similarity index 96% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptLanguageId.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptLanguageId.java index e43b34717..6d0f24163 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptLanguageId.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptLanguageId.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scripts; +package cloud.openworkflow.sdk.impl.scripts; import java.util.Arrays; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptRunner.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptRunner.java similarity index 78% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptRunner.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptRunner.java index 7b602ee5a..dac12db21 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptRunner.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptRunner.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scripts; +package cloud.openworkflow.sdk.impl.scripts; -import org.openworkflow.sdk.impl.ServicePriority; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.executors.RunScriptExecutor; +import cloud.openworkflow.sdk.impl.ServicePriority; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.executors.RunScriptExecutor; /** Represents a script task that executes a script in a specific scripting language. */ public interface ScriptRunner extends ServicePriority { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptUtils.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptUtils.java similarity index 87% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptUtils.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptUtils.java index 74b79b470..000e15ee6 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/ScriptUtils.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/ScriptUtils.java @@ -13,24 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scripts; +package cloud.openworkflow.sdk.impl.scripts; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration; +import cloud.openworkflow.sdk.api.types.RunTaskConfiguration.ProcessReturnType; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.executors.ProcessResult; import java.io.IOException; import java.io.OutputStream; import java.lang.ProcessBuilder.Redirect; import java.nio.charset.StandardCharsets; import java.util.Map; -import org.openworkflow.sdk.api.types.RunTaskConfiguration; -import org.openworkflow.sdk.api.types.RunTaskConfiguration.ProcessReturnType; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.executors.ProcessResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/StreamSupplier.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/StreamSupplier.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/StreamSupplier.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/StreamSupplier.java index 369e7fe37..5359d982e 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/StreamSupplier.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/StreamSupplier.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scripts; +package cloud.openworkflow.sdk.impl.scripts; import java.util.function.Supplier; diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/StreamSuppliers.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/StreamSuppliers.java similarity index 97% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/StreamSuppliers.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/StreamSuppliers.java index 31b875c9a..6ba56a7ca 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/scripts/StreamSuppliers.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/scripts/StreamSuppliers.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.scripts; +package cloud.openworkflow.sdk.impl.scripts; +import cloud.openworkflow.sdk.impl.WorkflowUtils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; @@ -22,7 +23,6 @@ import java.nio.charset.StandardCharsets; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutorService; -import org.openworkflow.sdk.impl.WorkflowUtils; public record StreamSuppliers(StreamSupplier outputStream, StreamSupplier errorStream) implements AutoCloseable { diff --git a/impl/core/src/main/java/org/openworkflow/sdk/impl/utils/RandomFactory.java b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/utils/RandomFactory.java similarity index 94% rename from impl/core/src/main/java/org/openworkflow/sdk/impl/utils/RandomFactory.java rename to impl/core/src/main/java/cloud/openworkflow/sdk/impl/utils/RandomFactory.java index bcea6a1f5..b24b1dfcc 100644 --- a/impl/core/src/main/java/org/openworkflow/sdk/impl/utils/RandomFactory.java +++ b/impl/core/src/main/java/cloud/openworkflow/sdk/impl/utils/RandomFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.utils; +package cloud.openworkflow.sdk.impl.utils; import java.util.Random; diff --git a/impl/core/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-core/reflect-config.json b/impl/core/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-core/reflect-config.json similarity index 85% rename from impl/core/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-core/reflect-config.json rename to impl/core/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-core/reflect-config.json index c7a9e2aee..560dcf71f 100644 --- a/impl/core/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-core/reflect-config.json +++ b/impl/core/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-core/reflect-config.json @@ -1,6 +1,6 @@ [ { - "name": "org.openworkflow.sdk.impl.executors.ProcessResult", + "name": "cloud.openworkflow.sdk.impl.executors.ProcessResult", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -15,7 +15,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.expressions.RuntimeDescriptor", + "name": "cloud.openworkflow.sdk.impl.expressions.RuntimeDescriptor", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -30,7 +30,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.expressions.WorkflowDescriptor", + "name": "cloud.openworkflow.sdk.impl.expressions.WorkflowDescriptor", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -45,7 +45,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.expressions.TaskDescriptor", + "name": "cloud.openworkflow.sdk.impl.expressions.TaskDescriptor", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -60,7 +60,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.expressions.DateTimeDescriptor", + "name": "cloud.openworkflow.sdk.impl.expressions.DateTimeDescriptor", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -75,7 +75,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.expressions.DateTimeDescriptor$Epoch", + "name": "cloud.openworkflow.sdk.impl.expressions.DateTimeDescriptor$Epoch", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -90,7 +90,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.expressions.ExpressionDescriptor", + "name": "cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -105,7 +105,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.AuthorizationDescriptor", + "name": "cloud.openworkflow.sdk.impl.AuthorizationDescriptor", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -120,7 +120,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.WorkflowError", + "name": "cloud.openworkflow.sdk.impl.WorkflowError", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -135,7 +135,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -150,7 +150,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskCancelledCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCancelledCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -165,7 +165,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -180,7 +180,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEDataWithOutput", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEDataWithOutput", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -195,7 +195,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskFailedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskFailedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -210,7 +210,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskResumedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskResumedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -225,7 +225,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskRetriedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskRetriedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -240,7 +240,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -255,7 +255,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEDataWithInput", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEDataWithInput", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -270,7 +270,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.TaskSuspendedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.TaskSuspendedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -285,7 +285,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -300,7 +300,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCancelledCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCancelledCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -315,7 +315,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -330,7 +330,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEDataWithOutput", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEDataWithOutput", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -345,7 +345,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowDefinitionCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowDefinitionCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -360,7 +360,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowFailedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowFailedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -375,7 +375,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowResumedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowResumedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -390,7 +390,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -405,7 +405,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEDataWithInput", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEDataWithInput", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -420,7 +420,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStatusCEDataEvent", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStatusCEDataEvent", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -435,7 +435,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.lifecycle.ce.WorkflowSuspendedCEData", + "name": "cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowSuspendedCEData", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, diff --git a/impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder b/impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder new file mode 100644 index 000000000..c70e976a9 --- /dev/null +++ b/impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder @@ -0,0 +1,3 @@ +cloud.openworkflow.sdk.impl.executors.CallFunctionExecutorBuilder +cloud.openworkflow.sdk.impl.executors.http.CallableTaskHttpExecutorBuilder +cloud.openworkflow.sdk.impl.executors.openapi.OpenAPIExecutorBuilder \ No newline at end of file diff --git a/impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder b/impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder new file mode 100644 index 000000000..c9ab51cc0 --- /dev/null +++ b/impl/core/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.RunnableTaskBuilder @@ -0,0 +1,3 @@ +cloud.openworkflow.sdk.impl.executors.RunWorkflowExecutorBuilder +cloud.openworkflow.sdk.impl.executors.RunShellExecutorBuilder +cloud.openworkflow.sdk.impl.executors.RunScriptExecutorBuilder \ No newline at end of file diff --git a/impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder b/impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder deleted file mode 100644 index a579139c1..000000000 --- a/impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder +++ /dev/null @@ -1,3 +0,0 @@ -org.openworkflow.sdk.impl.executors.CallFunctionExecutorBuilder -org.openworkflow.sdk.impl.executors.http.CallableTaskHttpExecutorBuilder -org.openworkflow.sdk.impl.executors.openapi.OpenAPIExecutorBuilder \ No newline at end of file diff --git a/impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder b/impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder deleted file mode 100644 index ff68cd5a1..000000000 --- a/impl/core/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.RunnableTaskBuilder +++ /dev/null @@ -1,3 +0,0 @@ -org.openworkflow.sdk.impl.executors.RunWorkflowExecutorBuilder -org.openworkflow.sdk.impl.executors.RunShellExecutorBuilder -org.openworkflow.sdk.impl.executors.RunScriptExecutorBuilder \ No newline at end of file diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java similarity index 95% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java index 334b69b2a..16f13b394 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/CompositeExpressionFactoryTest.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; +import cloud.openworkflow.sdk.impl.expressions.ExpressionFactory; import java.util.List; import org.junit.jupiter.api.Test; import org.mockito.Mockito; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; -import org.openworkflow.sdk.impl.expressions.ExpressionFactory; class CompositeExpressionFactoryTest { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/LowestPriority.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/LowestPriority.java similarity index 95% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/LowestPriority.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/LowestPriority.java index e208cbc89..fc31cca00 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/LowestPriority.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/LowestPriority.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public class LowestPriority implements ServicePriority { public int priority() { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/LowestPriorityListener.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/LowestPriorityListener.java similarity index 86% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/LowestPriorityListener.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/LowestPriorityListener.java index 408b8bc6a..0f13645e7 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/LowestPriorityListener.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/LowestPriorityListener.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; public class LowestPriorityListener implements WorkflowExecutionCompletableListener { public int priority() { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/MediumPriority.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/MediumPriority.java similarity index 94% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/MediumPriority.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/MediumPriority.java index 9b6142a25..da356653b 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/MediumPriority.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/MediumPriority.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public class MediumPriority implements ServicePriority {} diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/MediumPriorityListener.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/MediumPriorityListener.java similarity index 90% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/MediumPriorityListener.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/MediumPriorityListener.java index 907c0ebf8..cebfd8e57 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/MediumPriorityListener.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/MediumPriorityListener.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; import java.util.Objects; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; public class MediumPriorityListener implements WorkflowExecutionCompletableListener { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/ServicePriorityTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/ServicePriorityTest.java similarity index 96% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/ServicePriorityTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/ServicePriorityTest.java index 715ddae6e..f34c50749 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/ServicePriorityTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/ServicePriorityTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/TopPriority.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/TopPriority.java similarity index 95% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/TopPriority.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/TopPriority.java index 76e892c36..efd7e76c0 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/TopPriority.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/TopPriority.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; public class TopPriority implements ServicePriority { public int priority() { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/TopPriorityListener.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/TopPriorityListener.java similarity index 86% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/TopPriorityListener.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/TopPriorityListener.java index 93ae960cb..bc6dd33fd 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/TopPriorityListener.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/TopPriorityListener.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; public class TopPriorityListener implements WorkflowExecutionCompletableListener { public int priority() { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java similarity index 94% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java index 9dc7e76b7..b5360f512 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowAdditionalObjectTest.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +import cloud.openworkflow.sdk.impl.additional.WorkflowAdditionalObject; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.Supplier; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.additional.WorkflowAdditionalObject; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; public class WorkflowAdditionalObjectTest { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowListenerTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowListenerTest.java similarity index 95% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowListenerTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowListenerTest.java index 85a98ca7f..b13818a57 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowListenerTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowListenerTest.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; public class WorkflowListenerTest { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowUtilsTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowUtilsTest.java similarity index 98% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowUtilsTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowUtilsTest.java index 07616f913..2704d6ba8 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/WorkflowUtilsTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/WorkflowUtilsTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl; +package cloud.openworkflow.sdk.impl; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/auth/JWTTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/auth/JWTTest.java similarity index 96% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/auth/JWTTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/auth/JWTTest.java index 5229b6dc9..57e252554 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/auth/JWTTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/auth/JWTTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java similarity index 98% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java index 9d9103c5f..24c0f4b65 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/executors/openapi/OpenAPIProcessorTest.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi; +package cloud.openworkflow.sdk.impl.executors.openapi; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; +import cloud.openworkflow.sdk.impl.resources.ClasspathResource; +import cloud.openworkflow.sdk.impl.resources.ExternalResourceHandler; import java.util.List; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.resources.ClasspathResource; -import org.openworkflow.sdk.impl.resources.ExternalResourceHandler; public abstract class OpenAPIProcessorTest { diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java similarity index 97% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java index ec90d115f..9ace2c3e9 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/http/DefaultURITemplateResolverTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.http; +package cloud.openworkflow.sdk.impl.http; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Employee.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Employee.java similarity index 93% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Employee.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Employee.java index da0b62344..ef2a01bcf 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Employee.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Employee.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; class Employee extends Person {} diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java similarity index 98% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java index 108673405..e4fe8ddca 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/MarshallingUtilsTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/NonSerializableClass.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/NonSerializableClass.java similarity index 93% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/NonSerializableClass.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/NonSerializableClass.java index 1041a3449..c28bd6c20 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/NonSerializableClass.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/NonSerializableClass.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; class NonSerializableClass {} diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Person.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Person.java similarity index 93% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Person.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Person.java index be5c3a3a6..d19ef6edc 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Person.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Person.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; class Person {} diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/SerializableClass.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/SerializableClass.java similarity index 94% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/SerializableClass.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/SerializableClass.java index e6beac1ea..c706ed398 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/SerializableClass.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/SerializableClass.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; import java.io.Serializable; diff --git a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Student.java b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Student.java similarity index 93% rename from impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Student.java rename to impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Student.java index 86acf7bf5..f7dbb3279 100644 --- a/impl/core/src/test/java/org/openworkflow/sdk/impl/marshaller/Student.java +++ b/impl/core/src/test/java/cloud/openworkflow/sdk/impl/marshaller/Student.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.marshaller; +package cloud.openworkflow.sdk.impl.marshaller; class Student extends Employee {} diff --git a/impl/core/src/test/resources/META-INF/services/cloud.openworkflow.sdk.impl.ServicePriority b/impl/core/src/test/resources/META-INF/services/cloud.openworkflow.sdk.impl.ServicePriority new file mode 100644 index 000000000..0fc6a930a --- /dev/null +++ b/impl/core/src/test/resources/META-INF/services/cloud.openworkflow.sdk.impl.ServicePriority @@ -0,0 +1,3 @@ +cloud.openworkflow.sdk.impl.LowestPriority +cloud.openworkflow.sdk.impl.TopPriority +cloud.openworkflow.sdk.impl.MediumPriority diff --git a/impl/core/src/test/resources/META-INF/services/org.openworkflow.sdk.impl.ServicePriority b/impl/core/src/test/resources/META-INF/services/org.openworkflow.sdk.impl.ServicePriority deleted file mode 100644 index da0b7340e..000000000 --- a/impl/core/src/test/resources/META-INF/services/org.openworkflow.sdk.impl.ServicePriority +++ /dev/null @@ -1,3 +0,0 @@ -org.openworkflow.sdk.impl.LowestPriority -org.openworkflow.sdk.impl.TopPriority -org.openworkflow.sdk.impl.MediumPriority diff --git a/impl/cron/pom.xml b/impl/cron/pom.xml index 5db6eae77..45c12fe69 100644 --- a/impl/cron/pom.xml +++ b/impl/cron/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -13,7 +13,7 @@ cron-utils
- org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core
diff --git a/impl/cron/src/main/java/org/openworkflow/sdk/impl/cron/CronUtilsResolver.java b/impl/cron/src/main/java/cloud/openworkflow/sdk/impl/cron/CronUtilsResolver.java similarity index 91% rename from impl/cron/src/main/java/org/openworkflow/sdk/impl/cron/CronUtilsResolver.java rename to impl/cron/src/main/java/cloud/openworkflow/sdk/impl/cron/CronUtilsResolver.java index c53f58131..d278b38d9 100644 --- a/impl/cron/src/main/java/org/openworkflow/sdk/impl/cron/CronUtilsResolver.java +++ b/impl/cron/src/main/java/cloud/openworkflow/sdk/impl/cron/CronUtilsResolver.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.cron; +package cloud.openworkflow.sdk.impl.cron; +import cloud.openworkflow.sdk.impl.scheduler.CronResolver; import com.cronutils.model.Cron; import com.cronutils.model.time.ExecutionTime; import java.time.Duration; import java.time.ZonedDateTime; import java.util.Optional; -import org.openworkflow.sdk.impl.scheduler.CronResolver; class CronUtilsResolver implements CronResolver { diff --git a/impl/cron/src/main/java/org/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java b/impl/cron/src/main/java/cloud/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java similarity index 87% rename from impl/cron/src/main/java/org/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java rename to impl/cron/src/main/java/cloud/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java index e8bb1e0a9..031e47215 100644 --- a/impl/cron/src/main/java/org/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java +++ b/impl/cron/src/main/java/cloud/openworkflow/sdk/impl/cron/CronUtilsResolverFactory.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.cron; +package cloud.openworkflow.sdk.impl.cron; +import cloud.openworkflow.sdk.impl.scheduler.CronResolver; +import cloud.openworkflow.sdk.impl.scheduler.CronResolverFactory; import com.cronutils.model.CronType; import com.cronutils.model.definition.CronDefinitionBuilder; import com.cronutils.parser.CronParser; -import org.openworkflow.sdk.impl.scheduler.CronResolver; -import org.openworkflow.sdk.impl.scheduler.CronResolverFactory; public class CronUtilsResolverFactory implements CronResolverFactory { diff --git a/impl/cron/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scheduler.CronResolverFactory b/impl/cron/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scheduler.CronResolverFactory new file mode 100644 index 000000000..a0a18fb6c --- /dev/null +++ b/impl/cron/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scheduler.CronResolverFactory @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.cron.CronUtilsResolverFactory \ No newline at end of file diff --git a/impl/cron/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scheduler.CronResolverFactory b/impl/cron/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scheduler.CronResolverFactory deleted file mode 100644 index 3e764e29f..000000000 --- a/impl/cron/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scheduler.CronResolverFactory +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.cron.CronUtilsResolverFactory \ No newline at end of file diff --git a/impl/function/pom.xml b/impl/function/pom.xml index 926098e32..8201fcad3 100644 --- a/impl/function/pom.xml +++ b/impl/function/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,15 +9,15 @@ Open Workflow :: Impl :: Function - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json diff --git a/impl/function/src/main/java/org/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java b/impl/function/src/main/java/cloud/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java similarity index 80% rename from impl/function/src/main/java/org/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java rename to impl/function/src/main/java/cloud/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java index b15890ad0..8d1de50ac 100644 --- a/impl/function/src/main/java/org/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java +++ b/impl/function/src/main/java/cloud/openworkflow/sdk/impl/jackson/function/JacksonFunctionReader.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson.function; +package cloud.openworkflow.sdk.impl.jackson.function; -import org.openworkflow.sdk.api.WorkflowFormat; -import org.openworkflow.sdk.api.types.Task; -import org.openworkflow.sdk.impl.FunctionReader; +import cloud.openworkflow.sdk.api.WorkflowFormat; +import cloud.openworkflow.sdk.api.types.Task; +import cloud.openworkflow.sdk.impl.FunctionReader; public class JacksonFunctionReader implements FunctionReader { diff --git a/impl/function/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.FunctionReader b/impl/function/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.FunctionReader new file mode 100644 index 000000000..d3be715cd --- /dev/null +++ b/impl/function/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.FunctionReader @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.jackson.function.JacksonFunctionReader \ No newline at end of file diff --git a/impl/function/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.FunctionReader b/impl/function/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.FunctionReader deleted file mode 100644 index 0d6d669ce..000000000 --- a/impl/function/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.FunctionReader +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.jackson.function.JacksonFunctionReader \ No newline at end of file diff --git a/impl/grpc/pom.xml b/impl/grpc/pom.xml index 781e7b2cb..a3706d850 100644 --- a/impl/grpc/pom.xml +++ b/impl/grpc/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -10,7 +10,7 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core @@ -22,7 +22,7 @@ protobuf-java-util - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java similarity index 83% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java index a8a464afa..b016fb7ff 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/CollectionStreamObserver.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; import com.google.protobuf.Message; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModelCollection; class CollectionStreamObserver extends ModelStreamObserver { diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java similarity index 99% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java index fb88811c5..0a54167c6 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/FileDescriptorReader.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; import com.github.os72.protocjar.Protoc; import com.google.protobuf.DescriptorProtos; diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java similarity index 95% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java index 31102fce5..c7e33c7da 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/GrpcExecutor.java @@ -13,8 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.executors.CallableTask; import com.google.protobuf.DescriptorProtos; import com.google.protobuf.Descriptors; import com.google.protobuf.DynamicMessage; @@ -34,12 +40,6 @@ import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.function.UnaryOperator; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelCollection; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.executors.CallableTask; public class GrpcExecutor implements CallableTask { diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java similarity index 79% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java index c7eb0b9d5..11c4cf52f 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/GrpcExecutorBuilder.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; +import cloud.openworkflow.sdk.api.types.CallGRPC; +import cloud.openworkflow.sdk.api.types.GRPCArguments; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.WithGRPCService; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder; +import cloud.openworkflow.sdk.impl.executors.CallableTaskFactory; import com.google.protobuf.Descriptors; import com.google.protobuf.Descriptors.FileDescriptor; import java.util.Map; import java.util.Objects; -import org.openworkflow.sdk.api.types.CallGRPC; -import org.openworkflow.sdk.api.types.GRPCArguments; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.WithGRPCService; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.executors.CallableTaskBuilder; -import org.openworkflow.sdk.impl.executors.CallableTaskFactory; public class GrpcExecutorBuilder implements CallableTaskBuilder { diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java similarity index 83% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java index 8fbaf9785..b6beba761 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ItemStreamObserver.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; import com.google.protobuf.Message; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; class ItemStreamObserver extends ModelStreamObserver { diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java similarity index 81% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java index 9528f1852..539469184 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ModelStreamObserver.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; import com.google.protobuf.Message; import io.grpc.stub.StreamObserver; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; abstract class ModelStreamObserver implements StreamObserver { protected T model; diff --git a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java similarity index 89% rename from impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java rename to impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java index 421b89082..55cf18e89 100644 --- a/impl/grpc/src/main/java/org/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java +++ b/impl/grpc/src/main/java/cloud/openworkflow/sdk/impl/executors/grpc/ProtobufMessageUtils.java @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.grpc; +package cloud.openworkflow.sdk.impl.executors.grpc; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import com.google.protobuf.Descriptors; import com.google.protobuf.DynamicMessage; import com.google.protobuf.Message; @@ -22,9 +25,6 @@ import java.io.IOException; import java.io.UncheckedIOException; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.jackson.JsonUtils; class ProtobufMessageUtils { diff --git a/impl/grpc/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder b/impl/grpc/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder new file mode 100644 index 000000000..8d8100f82 --- /dev/null +++ b/impl/grpc/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.executors.CallableTaskBuilder @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.executors.grpc.GrpcExecutorBuilder \ No newline at end of file diff --git a/impl/grpc/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder b/impl/grpc/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder deleted file mode 100644 index ec13c7e49..000000000 --- a/impl/grpc/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.executors.CallableTaskBuilder +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.executors.grpc.GrpcExecutorBuilder \ No newline at end of file diff --git a/impl/http-jackson/pom.xml b/impl/http-jackson/pom.xml index 50d0ef55b..e0c7d5467 100644 --- a/impl/http-jackson/pom.xml +++ b/impl/http-jackson/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -12,11 +12,11 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-http - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json diff --git a/impl/http-jackson/src/main/java/org/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java b/impl/http-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java similarity index 78% rename from impl/http-jackson/src/main/java/org/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java rename to impl/http-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java index be0b6b959..ccc69b8c0 100644 --- a/impl/http-jackson/src/main/java/org/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java +++ b/impl/http-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/http/jackson/JacksonModelConverterFactory.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.http.jackson; +package cloud.openworkflow.sdk.impl.executors.http.jackson; -import org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject; -import org.openworkflow.sdk.impl.jakarta.http.DefaultHttpModelConverter; -import org.openworkflow.sdk.impl.jakarta.http.HttpConverterResolver; -import org.openworkflow.sdk.impl.jakarta.http.HttpModelConverter; +import cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject; +import cloud.openworkflow.sdk.impl.jakarta.http.DefaultHttpModelConverter; +import cloud.openworkflow.sdk.impl.jakarta.http.HttpConverterResolver; +import cloud.openworkflow.sdk.impl.jakarta.http.HttpModelConverter; import tools.jackson.databind.JsonNode; public class JacksonModelConverterFactory diff --git a/impl/http-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject b/impl/http-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject new file mode 100644 index 000000000..fbca02ac7 --- /dev/null +++ b/impl/http-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.executors.http.jackson.JacksonModelConverterFactory \ No newline at end of file diff --git a/impl/http-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject b/impl/http-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject deleted file mode 100644 index 6312ef99c..000000000 --- a/impl/http-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.executors.http.jackson.JacksonModelConverterFactory \ No newline at end of file diff --git a/impl/http/pom.xml b/impl/http/pom.xml index fe34db6d2..c731cc174 100644 --- a/impl/http/pom.xml +++ b/impl/http/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: HTTP - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java similarity index 91% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java index 8c1f10285..4cae13ee8 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/DefaultHttpModelConverter.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpContentType; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowResponseSniffer; import jakarta.ws.rs.client.Entity; import jakarta.ws.rs.core.Form; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.http.WorkflowHttpContentType; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowResponseSniffer; public class DefaultHttpModelConverter implements HttpModelConverter { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java similarity index 93% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java index 75dcde4cb..e2da42b64 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpClientResolver.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; public class HttpClientResolver { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java similarity index 85% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java index 450e20fac..03e57cc6f 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpConverterResolver.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; public class HttpConverterResolver { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java similarity index 85% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java index 5ac1b22e4..4aae5cf8d 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpModelConverter.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; import jakarta.ws.rs.client.Entity; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; public interface HttpModelConverter { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java similarity index 89% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java index c3b40ae99..23217aa26 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/HttpRequestDecorator.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; +import cloud.openworkflow.sdk.impl.WorkflowDecorator; import jakarta.ws.rs.client.Invocation; -import org.openworkflow.sdk.impl.WorkflowDecorator; /** * Interface for decorating HTTP requests with additional modifications. Note that TaskContext might diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java similarity index 88% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java index 12d66b896..1772699b0 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaHttpRequest.java @@ -13,8 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequest; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpResponse; import jakarta.ws.rs.WebApplicationException; import jakarta.ws.rs.client.Client; import jakarta.ws.rs.client.Invocation.Builder; @@ -27,15 +36,6 @@ import java.util.Map.Entry; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequest; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; -import org.openworkflow.sdk.impl.http.WorkflowHttpResponse; class JakartaHttpRequest implements WorkflowHttpRequest { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java similarity index 91% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java index 35ac65fb3..44e0d2aa5 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaHttpResponse.java @@ -13,8 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpHelper; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpResponse; import jakarta.ws.rs.ProcessingException; import jakarta.ws.rs.core.Response; import java.util.Arrays; @@ -23,11 +28,6 @@ import java.util.List; import java.util.Map; import java.util.OptionalLong; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.http.WorkflowHttpHelper; -import org.openworkflow.sdk.impl.http.WorkflowHttpResponse; class JakartaHttpResponse implements WorkflowHttpResponse { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java similarity index 85% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java index cda45105e..4d8e7f102 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/http/JakartaRequestExecutorFactory.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.http; +package cloud.openworkflow.sdk.impl.jakarta.http; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequest; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory; +import cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; import jakarta.ws.rs.client.Client; import jakarta.ws.rs.client.ClientBuilder; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequest; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory; -import org.openworkflow.sdk.impl.http.WorkflowHttpRequestInfo; public class JakartaRequestExecutorFactory implements WorkflowHttpRequestFactory { diff --git a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java similarity index 89% rename from impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java rename to impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java index 707aae58a..48b11ca0c 100644 --- a/impl/http/src/main/java/org/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java +++ b/impl/http/src/main/java/cloud/openworkflow/sdk/impl/jakarta/template/JaxrsURITemplateResolver.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jakarta.template; +package cloud.openworkflow.sdk.impl.jakarta.template; +import cloud.openworkflow.sdk.impl.http.URITemplateResolver; import jakarta.ws.rs.core.UriBuilder; import java.net.URI; import java.util.Map; -import org.openworkflow.sdk.impl.http.URITemplateResolver; public class JaxrsURITemplateResolver implements URITemplateResolver { @Override diff --git a/impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.URITemplateResolver b/impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.URITemplateResolver new file mode 100644 index 000000000..cf88f096a --- /dev/null +++ b/impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.URITemplateResolver @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.jakarta.template.JaxrsURITemplateResolver \ No newline at end of file diff --git a/impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory b/impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory new file mode 100644 index 000000000..9c18c91aa --- /dev/null +++ b/impl/http/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.jakarta.http.JakartaRequestExecutorFactory \ No newline at end of file diff --git a/impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.URITemplateResolver b/impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.URITemplateResolver deleted file mode 100644 index 4e27a7cb9..000000000 --- a/impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.URITemplateResolver +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.jakarta.template.JaxrsURITemplateResolver \ No newline at end of file diff --git a/impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory b/impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory deleted file mode 100644 index ead6390a6..000000000 --- a/impl/http/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.http.WorkflowHttpRequestFactory +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.jakarta.http.JakartaRequestExecutorFactory \ No newline at end of file diff --git a/impl/jackson/pom.xml b/impl/jackson/pom.xml index 0436c8226..2a4b286dc 100644 --- a/impl/jackson/pom.xml +++ b/impl/jackson/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,35 +9,35 @@ Open Workflow :: Impl :: Jackson - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jq - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-model - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-validation - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-function - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-lifecycle-events - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-cron - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-openapi diff --git a/impl/javascript/pom.xml b/impl/javascript/pom.xml index 233d8b1af..6b7e76328 100644 --- a/impl/javascript/pom.xml +++ b/impl/javascript/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: Script JavaScript - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/javascript/src/main/java/org/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java b/impl/javascript/src/main/java/cloud/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java similarity index 86% rename from impl/javascript/src/main/java/org/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java rename to impl/javascript/src/main/java/cloud/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java index 0b51c3dfd..6ef454c02 100644 --- a/impl/javascript/src/main/java/org/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java +++ b/impl/javascript/src/main/java/cloud/openworkflow/sdk/impl/executors/script/js/JavaScriptScriptTaskRunner.java @@ -13,8 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.script.js; +package cloud.openworkflow.sdk.impl.executors.script.js; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.scripts.ScriptContext; +import cloud.openworkflow.sdk.impl.scripts.ScriptLanguageId; +import cloud.openworkflow.sdk.impl.scripts.ScriptRunner; +import cloud.openworkflow.sdk.impl.scripts.ScriptUtils; +import cloud.openworkflow.sdk.impl.scripts.StreamSuppliers; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.nio.charset.StandardCharsets; @@ -23,14 +31,6 @@ import org.graalvm.polyglot.Context.Builder; import org.graalvm.polyglot.Source; import org.graalvm.polyglot.Value; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.scripts.ScriptContext; -import org.openworkflow.sdk.impl.scripts.ScriptLanguageId; -import org.openworkflow.sdk.impl.scripts.ScriptRunner; -import org.openworkflow.sdk.impl.scripts.ScriptUtils; -import org.openworkflow.sdk.impl.scripts.StreamSuppliers; /** * JavaScript implementation of the {@link ScriptRunner} interface that executes JavaScript scripts diff --git a/impl/javascript/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner b/impl/javascript/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner new file mode 100644 index 000000000..582de1f5a --- /dev/null +++ b/impl/javascript/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.executors.script.js.JavaScriptScriptTaskRunner \ No newline at end of file diff --git a/impl/javascript/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner b/impl/javascript/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner deleted file mode 100644 index 2943ee7b4..000000000 --- a/impl/javascript/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.executors.script.js.JavaScriptScriptTaskRunner \ No newline at end of file diff --git a/impl/jq/pom.xml b/impl/jq/pom.xml index 02881777f..00f05a14c 100644 --- a/impl/jq/pom.xml +++ b/impl/jq/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -13,7 +13,7 @@ jackson-jq - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json @@ -29,7 +29,7 @@ mockito-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-model test diff --git a/impl/jq/src/main/java/org/openworkflow/sdk/impl/expressions/jq/JQExpression.java b/impl/jq/src/main/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpression.java similarity index 84% rename from impl/jq/src/main/java/org/openworkflow/sdk/impl/expressions/jq/JQExpression.java rename to impl/jq/src/main/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpression.java index 42a5982af..63070db0e 100644 --- a/impl/jq/src/main/java/org/openworkflow/sdk/impl/expressions/jq/JQExpression.java +++ b/impl/jq/src/main/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpression.java @@ -13,10 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions.jq; +package cloud.openworkflow.sdk.impl.expressions.jq; -import static org.openworkflow.sdk.impl.jackson.JsonUtils.modelToJson; +import static cloud.openworkflow.sdk.impl.jackson.JsonUtils.modelToJson; +import cloud.openworkflow.sdk.impl.AuthorizationDescriptor; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.expressions.ObjectExpression; +import cloud.openworkflow.sdk.impl.expressions.TaskDescriptor; +import cloud.openworkflow.sdk.impl.expressions.WorkflowDescriptor; +import cloud.openworkflow.sdk.impl.jackson.FunctionJsonNode; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.util.Map; import java.util.function.Supplier; import net.thisptr.jackson.jq.Output; @@ -24,17 +35,6 @@ import net.thisptr.jackson.jq.Version; import net.thisptr.jackson.jq.exception.JsonQueryException; import net.thisptr.jackson.jq.internal.javacc.ExpressionParser; -import org.openworkflow.sdk.impl.AuthorizationDescriptor; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.expressions.ObjectExpression; -import org.openworkflow.sdk.impl.expressions.TaskDescriptor; -import org.openworkflow.sdk.impl.expressions.WorkflowDescriptor; -import org.openworkflow.sdk.impl.jackson.FunctionJsonNode; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; import tools.jackson.databind.node.ArrayNode; diff --git a/impl/jq/src/main/java/org/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java b/impl/jq/src/main/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java similarity index 90% rename from impl/jq/src/main/java/org/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java rename to impl/jq/src/main/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java index d27c55999..e584e9843 100644 --- a/impl/jq/src/main/java/org/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java +++ b/impl/jq/src/main/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpressionFactory.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions.jq; +package cloud.openworkflow.sdk.impl.expressions.jq; +import cloud.openworkflow.sdk.impl.expressions.ExpressionUtils; +import cloud.openworkflow.sdk.impl.expressions.ObjectExpression; +import cloud.openworkflow.sdk.impl.expressions.ObjectExpressionFactory; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import io.cloudevents.CloudEventData; import io.cloudevents.jackson3.JsonCloudEventData; import java.time.OffsetDateTime; @@ -26,10 +30,6 @@ import net.thisptr.jackson.jq.Scope; import net.thisptr.jackson.jq.Versions; import net.thisptr.jackson.jq.exception.JsonQueryException; -import org.openworkflow.sdk.impl.expressions.ExpressionUtils; -import org.openworkflow.sdk.impl.expressions.ObjectExpression; -import org.openworkflow.sdk.impl.expressions.ObjectExpressionFactory; -import org.openworkflow.sdk.impl.jackson.JsonUtils; public class JQExpressionFactory extends ObjectExpressionFactory { diff --git a/impl/jq/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.expressions.ExpressionFactory b/impl/jq/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.expressions.ExpressionFactory new file mode 100644 index 000000000..1145150c8 --- /dev/null +++ b/impl/jq/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.expressions.ExpressionFactory @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.expressions.jq.JQExpressionFactory \ No newline at end of file diff --git a/impl/jq/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.expressions.ExpressionFactory b/impl/jq/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.expressions.ExpressionFactory deleted file mode 100644 index 5be82b17f..000000000 --- a/impl/jq/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.expressions.ExpressionFactory +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.expressions.jq.JQExpressionFactory \ No newline at end of file diff --git a/impl/jq/src/test/java/org/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java b/impl/jq/src/test/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java similarity index 88% rename from impl/jq/src/test/java/org/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java rename to impl/jq/src/test/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java index 67b2aefd4..da6a7c07c 100644 --- a/impl/jq/src/test/java/org/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java +++ b/impl/jq/src/test/java/cloud/openworkflow/sdk/impl/expressions/jq/JQExpressionFactoryTest.java @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.expressions.jq; +package cloud.openworkflow.sdk.impl.expressions.jq; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.loadFirst; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.impl.WorkflowUtils.loadFirst; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowValueResolver; +import cloud.openworkflow.sdk.impl.expressions.ExpressionDescriptor; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.util.Collection; import java.util.Iterator; import java.util.List; @@ -25,11 +30,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowValueResolver; -import org.openworkflow.sdk.impl.expressions.ExpressionDescriptor; -import org.openworkflow.sdk.impl.jackson.JsonUtils; class JQExpressionFactoryTest { diff --git a/impl/json-utils/pom.xml b/impl/json-utils/pom.xml index 4ed31afe1..ce6ff70c4 100644 --- a/impl/json-utils/pom.xml +++ b/impl/json-utils/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -13,7 +13,7 @@ jackson-databind - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java similarity index 98% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java index 1587b17fd..a5653e5a8 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/FunctionBaseJsonNode.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; import java.util.List; import tools.jackson.core.JsonGenerator; diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/FunctionJsonNode.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/FunctionJsonNode.java similarity index 96% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/FunctionJsonNode.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/FunctionJsonNode.java index 14dbd9c7f..0d259959c 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/FunctionJsonNode.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/FunctionJsonNode.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; import java.util.function.Function; import tools.jackson.databind.JsonNode; diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java similarity index 97% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java index 8e966f665..0c57e8874 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/JacksonCloudEventUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/JsonUtils.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/JsonUtils.java similarity index 99% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/JsonUtils.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/JsonUtils.java index 15cee40e6..4fa251bf9 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/JsonUtils.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/JsonUtils.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; +import cloud.openworkflow.sdk.impl.WorkflowModel; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; import java.math.BigDecimal; @@ -35,7 +36,6 @@ import java.util.function.Function; import java.util.function.Supplier; import java.util.stream.Collector; -import org.openworkflow.sdk.impl.WorkflowModel; import tools.jackson.core.JacksonException; import tools.jackson.databind.JsonNode; import tools.jackson.databind.ObjectMapper; diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/MergeUtils.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/MergeUtils.java similarity index 98% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/MergeUtils.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/MergeUtils.java index f158e7fdc..85f3cd37b 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/MergeUtils.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/MergeUtils.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; import java.util.HashSet; import java.util.Map; diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java similarity index 89% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java index 897e0fc1b..7aa26c60c 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/ObjectMapperFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; +import cloud.openworkflow.sdk.impl.ServicePriority; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.ServicePriority; import tools.jackson.databind.ObjectMapper; public interface ObjectMapperFactory diff --git a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java similarity index 95% rename from impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java rename to impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java index 4390e2386..71e912442 100644 --- a/impl/json-utils/src/main/java/org/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java +++ b/impl/json-utils/src/main/java/cloud/openworkflow/sdk/impl/jackson/ObjectMapperFactoryProvider.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; -import static org.openworkflow.sdk.impl.WorkflowUtils.loadFirst; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.loadFirst; import io.cloudevents.jackson3.JsonFormat; import java.util.Objects; diff --git a/impl/json-utils/src/test/java/org/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java b/impl/json-utils/src/test/java/cloud/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java similarity index 99% rename from impl/json-utils/src/test/java/org/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java rename to impl/json-utils/src/test/java/cloud/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java index 44634a4e2..1702d51b5 100644 --- a/impl/json-utils/src/test/java/org/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java +++ b/impl/json-utils/src/test/java/cloud/openworkflow/sdk/impl/jackson/JacksonCloudEventUtilsTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/json-utils/src/test/java/org/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java b/impl/json-utils/src/test/java/cloud/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java similarity index 97% rename from impl/json-utils/src/test/java/org/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java rename to impl/json-utils/src/test/java/cloud/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java index 0dd2f9c98..40ab8b8f8 100644 --- a/impl/json-utils/src/test/java/org/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java +++ b/impl/json-utils/src/test/java/cloud/openworkflow/sdk/impl/jackson/JsonUtilsStaticInitTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson; +package cloud.openworkflow.sdk.impl.jackson; import static org.assertj.core.api.Assertions.assertThat; diff --git a/impl/lifecycleevent/pom.xml b/impl/lifecycleevent/pom.xml index f30588856..e836d6d22 100644 --- a/impl/lifecycleevent/pom.xml +++ b/impl/lifecycleevent/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,15 +9,15 @@ Open Workflow :: Impl :: Lifecycle Events - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-model test diff --git a/impl/lifecycleevent/src/main/java/org/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java b/impl/lifecycleevent/src/main/java/cloud/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java similarity index 81% rename from impl/lifecycleevent/src/main/java/org/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java rename to impl/lifecycleevent/src/main/java/cloud/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java index 7799bb1dd..5a2a703c5 100644 --- a/impl/lifecycleevent/src/main/java/org/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java +++ b/impl/lifecycleevent/src/main/java/cloud/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisher.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson.events; +package cloud.openworkflow.sdk.impl.jackson.events; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.lifecycle.ce.AbstractLifeCyclePublisher; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.lifecycle.ce.AbstractLifeCyclePublisher; public class JacksonLifeCyclePublisher extends AbstractLifeCyclePublisher { diff --git a/impl/lifecycleevent/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener b/impl/lifecycleevent/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener new file mode 100644 index 000000000..15008e8ba --- /dev/null +++ b/impl/lifecycleevent/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.jackson.events.JacksonLifeCyclePublisher \ No newline at end of file diff --git a/impl/lifecycleevent/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener b/impl/lifecycleevent/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener deleted file mode 100644 index f8e68bb97..000000000 --- a/impl/lifecycleevent/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.jackson.events.JacksonLifeCyclePublisher \ No newline at end of file diff --git a/impl/lifecycleevent/src/test/java/org/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java b/impl/lifecycleevent/src/test/java/cloud/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java similarity index 65% rename from impl/lifecycleevent/src/test/java/org/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java rename to impl/lifecycleevent/src/test/java/cloud/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java index 45356fffa..a0ec41150 100644 --- a/impl/lifecycleevent/src/test/java/org/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java +++ b/impl/lifecycleevent/src/test/java/cloud/openworkflow/sdk/impl/jackson/events/JacksonLifeCyclePublisherTest.java @@ -13,12 +13,54 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson.events; +package cloud.openworkflow.sdk.impl.jackson.events; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.WorkflowPosition; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCancelledCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEDataWithOutput; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskFailedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskResumedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskRetriedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEDataWithInput; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskSuspendedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCancelledCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEDataWithOutput; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowFailedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowResumedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEDataWithInput; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStatusCEDataEvent; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowSuspendedCEData; +import cloud.openworkflow.sdk.impl.model.jackson.JacksonModelFactory; import io.cloudevents.core.data.PojoCloudEventData; import java.io.IOException; import java.util.Map; @@ -27,48 +69,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.WorkflowPosition; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskSuspendedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskCancelledCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEDataWithOutput; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskFailedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskResumedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskRetriedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEDataWithInput; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskSuspendedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCancelledCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEDataWithOutput; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowFailedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowResumedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEDataWithInput; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStatusCEDataEvent; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowSuspendedCEData; -import org.openworkflow.sdk.impl.model.jackson.JacksonModelFactory; public class JacksonLifeCyclePublisherTest { diff --git a/impl/model/pom.xml b/impl/model/pom.xml index 3a7143b6f..7a36c5a24 100644 --- a/impl/model/pom.xml +++ b/impl/model/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -13,11 +13,11 @@ jackson-databind - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java similarity index 77% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java index 73fd6f5de..4fab82f9f 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/AbstractJacksonMarshaller.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; public abstract class AbstractJacksonMarshaller implements CustomObjectMarshaller { diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java similarity index 93% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java index adcdff03b..301ffed9f 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonBinaryNodeEncoder.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; -import org.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.core.Base64Variants; import tools.jackson.databind.JsonNode; import tools.jackson.databind.node.BinaryNode; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModel.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModel.java similarity index 95% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModel.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModel.java index 1eee91565..4a5135a39 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModel.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModel.java @@ -13,8 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; +import cloud.openworkflow.sdk.impl.AbstractWorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import com.fasterxml.jackson.annotation.JsonIgnore; import java.math.BigDecimal; import java.math.BigInteger; @@ -24,9 +27,6 @@ import java.util.Map; import java.util.Objects; import java.util.Optional; -import org.openworkflow.sdk.impl.AbstractWorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; import tools.jackson.databind.annotation.JsonDeserialize; import tools.jackson.databind.annotation.JsonSerialize; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java similarity index 94% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java index 7b89a2d37..7c1f9e824 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollection.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; +import cloud.openworkflow.sdk.impl.CollectionConversionUtils; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Objects; import java.util.Optional; -import org.openworkflow.sdk.impl.CollectionConversionUtils; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelCollection; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; import tools.jackson.databind.annotation.JsonDeserialize; import tools.jackson.databind.annotation.JsonSerialize; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java similarity index 95% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java index a5e2f346e..7c2bd5213 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionDeserializer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; import tools.jackson.core.JsonParser; import tools.jackson.databind.DeserializationContext; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java similarity index 94% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java index e2fc9813e..77e8e53ba 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionMarshaller.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; public class JacksonModelCollectionMarshaller extends AbstractJacksonMarshaller { diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java similarity index 95% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java index c7ae4542e..54bef7e01 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelCollectionSerializer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; import tools.jackson.core.JsonGenerator; import tools.jackson.databind.SerializationContext; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java similarity index 95% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java index d40d2cab3..84af49534 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelDeserializer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; import tools.jackson.core.JsonParser; import tools.jackson.databind.DeserializationContext; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java similarity index 92% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java index cdd203746..0a524cbd0 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelFactory.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelCollection; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.jackson.JacksonCloudEventUtils; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import io.cloudevents.CloudEvent; import io.cloudevents.CloudEventData; import java.math.BigDecimal; import java.time.OffsetDateTime; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelCollection; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.jackson.JacksonCloudEventUtils; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.core.JacksonException; import tools.jackson.databind.JsonNode; import tools.jackson.databind.node.BinaryNode; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java similarity index 89% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java index 88dce3067..f3eedead6 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelMarshaller.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; public class JacksonModelMarshaller extends AbstractJacksonMarshaller { diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java similarity index 95% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java index ee7900dc9..9c344990c 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelSerializer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; import tools.jackson.core.JsonGenerator; import tools.jackson.databind.SerializationContext; diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java similarity index 94% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java index 61b69e86f..f55b5bd96 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonObjectMarshaller.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; public class JacksonObjectMarshaller extends AbstractJacksonMarshaller { diff --git a/impl/model/src/main/java/org/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java similarity index 90% rename from impl/model/src/main/java/org/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java rename to impl/model/src/main/java/cloud/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java index 6cf5b9757..7a52478e9 100644 --- a/impl/model/src/main/java/org/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java +++ b/impl/model/src/main/java/cloud/openworkflow/sdk/impl/oauth/jackson/JacksonJWTConverter.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.oauth.jackson; +package cloud.openworkflow.sdk.impl.oauth.jackson; +import cloud.openworkflow.sdk.impl.auth.JWT; +import cloud.openworkflow.sdk.impl.auth.JWTConverter; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.Map; -import org.openworkflow.sdk.impl.auth.JWT; -import org.openworkflow.sdk.impl.auth.JWTConverter; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.core.JacksonException; import tools.jackson.core.type.TypeReference; diff --git a/impl/model/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-model/reflect-config.json b/impl/model/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-model/reflect-config.json similarity index 82% rename from impl/model/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-model/reflect-config.json rename to impl/model/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-model/reflect-config.json index 8970e2a81..929f427b9 100644 --- a/impl/model/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-model/reflect-config.json +++ b/impl/model/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-model/reflect-config.json @@ -1,6 +1,6 @@ [ { - "name": "org.openworkflow.sdk.impl.model.jackson.JacksonModelSerializer", + "name": "cloud.openworkflow.sdk.impl.model.jackson.JacksonModelSerializer", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -15,7 +15,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.model.jackson.JacksonModelDeserializer", + "name": "cloud.openworkflow.sdk.impl.model.jackson.JacksonModelDeserializer", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -30,7 +30,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.model.jackson.JacksonModelCollectionSerializer", + "name": "cloud.openworkflow.sdk.impl.model.jackson.JacksonModelCollectionSerializer", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, @@ -45,7 +45,7 @@ "allDeclaredClasses": true }, { - "name": "org.openworkflow.sdk.impl.model.jackson.JacksonModelCollectionDeserializer", + "name": "cloud.openworkflow.sdk.impl.model.jackson.JacksonModelCollectionDeserializer", "queryAllPublicConstructors": true, "queryAllDeclaredConstructors": true, "queryAllPublicMethods": true, diff --git a/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.WorkflowModelFactory b/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.WorkflowModelFactory new file mode 100644 index 000000000..d5f2ffc37 --- /dev/null +++ b/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.WorkflowModelFactory @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.model.jackson.JacksonModelFactory \ No newline at end of file diff --git a/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.auth.JWTConverter b/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.auth.JWTConverter new file mode 100644 index 000000000..a012abb54 --- /dev/null +++ b/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.auth.JWTConverter @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.oauth.jackson.JacksonJWTConverter \ No newline at end of file diff --git a/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller b/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller new file mode 100644 index 000000000..9e1e9940f --- /dev/null +++ b/impl/model/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller @@ -0,0 +1,3 @@ +cloud.openworkflow.sdk.impl.model.jackson.JacksonModelMarshaller +cloud.openworkflow.sdk.impl.model.jackson.JacksonModelCollectionMarshaller +cloud.openworkflow.sdk.impl.model.jackson.JacksonObjectMarshaller \ No newline at end of file diff --git a/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.WorkflowModelFactory b/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.WorkflowModelFactory deleted file mode 100644 index 151c1c4c0..000000000 --- a/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.WorkflowModelFactory +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.model.jackson.JacksonModelFactory \ No newline at end of file diff --git a/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.auth.JWTConverter b/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.auth.JWTConverter deleted file mode 100644 index 9763ab79d..000000000 --- a/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.auth.JWTConverter +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.oauth.jackson.JacksonJWTConverter \ No newline at end of file diff --git a/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller b/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller deleted file mode 100644 index 8f932d024..000000000 --- a/impl/model/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.marshaller.CustomObjectMarshaller +++ /dev/null @@ -1,3 +0,0 @@ -org.openworkflow.sdk.impl.model.jackson.JacksonModelMarshaller -org.openworkflow.sdk.impl.model.jackson.JacksonModelCollectionMarshaller -org.openworkflow.sdk.impl.model.jackson.JacksonObjectMarshaller \ No newline at end of file diff --git a/impl/model/src/test/java/org/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java similarity index 96% rename from impl/model/src/test/java/org/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java rename to impl/model/src/test/java/cloud/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java index eff391b75..ff0e2bdd5 100644 --- a/impl/model/src/test/java/org/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java +++ b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/auth/jwt/jackson/JacksonJWTImplTest.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth.jwt.jackson; +package cloud.openworkflow.sdk.impl.auth.jwt.jackson; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; +import cloud.openworkflow.sdk.impl.auth.JWT; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.oauth.jackson.JacksonJWTConverter; import java.time.Instant; import java.util.List; import java.util.Map; import java.util.Optional; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.auth.JWT; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.oauth.jackson.JacksonJWTConverter; public class JacksonJWTImplTest { diff --git a/impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/Employee.java b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/Employee.java similarity index 92% rename from impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/Employee.java rename to impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/Employee.java index a4739135a..cfb149b3c 100644 --- a/impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/Employee.java +++ b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/Employee.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; record Employee(String name, String company) {} diff --git a/impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java similarity index 84% rename from impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java rename to impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java index 01d7e4f5b..77c0a1a1d 100644 --- a/impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java +++ b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelSerializationTest.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.marshaller.DefaultBufferFactory; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.marshaller.DefaultBufferFactory; -import org.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; import tools.jackson.databind.node.BinaryNode; class JacksonModelSerializationTest { diff --git a/impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java similarity index 93% rename from impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java rename to impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java index 48da37dde..05761dd38 100644 --- a/impl/model/src/test/java/org/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java +++ b/impl/model/src/test/java/cloud/openworkflow/sdk/impl/model/jackson/JacksonModelTest.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.model.jackson; +package cloud.openworkflow.sdk.impl.model.jackson; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowModelFactory; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.util.Collection; import java.util.LinkedHashMap; import java.util.Map; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowModelFactory; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; public class JacksonModelTest { diff --git a/impl/openapi-jackson/pom.xml b/impl/openapi-jackson/pom.xml index 0a58c25ec..30830539c 100644 --- a/impl/openapi-jackson/pom.xml +++ b/impl/openapi-jackson/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,15 +9,15 @@ Open Workflow :: Impl :: OpenAPI:: Jackson - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core test-jar test diff --git a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java similarity index 96% rename from impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java rename to impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java index 5108fbc81..f60745a27 100644 --- a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java +++ b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixIn.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi.jackson; +package cloud.openworkflow.sdk.impl.executors.openapi.jackson; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java similarity index 93% rename from impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java rename to impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java index 13fcfb662..84feae534 100644 --- a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java +++ b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIMixInModule.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi.jackson; +package cloud.openworkflow.sdk.impl.executors.openapi.jackson; -import org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI; +import cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI; import tools.jackson.databind.module.SimpleModule; public class JacksonUnifiedOpenAPIMixInModule extends SimpleModule { diff --git a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java similarity index 77% rename from impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java rename to impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java index 39990315a..9cd0fa181 100644 --- a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java +++ b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReader.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi.jackson; +package cloud.openworkflow.sdk.impl.executors.openapi.jackson; -import org.openworkflow.sdk.api.WorkflowFormat; -import org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI; -import org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPIReader; +import cloud.openworkflow.sdk.api.WorkflowFormat; +import cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI; +import cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPIReader; public class JacksonUnifiedOpenAPIReader implements UnifiedOpenAPIReader { @Override diff --git a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java similarity index 80% rename from impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java rename to impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java index c26af827c..91930612f 100644 --- a/impl/openapi-jackson/src/main/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java +++ b/impl/openapi-jackson/src/main/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonUnifiedOpenAPIReaderFactory.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi.jackson; +package cloud.openworkflow.sdk.impl.executors.openapi.jackson; -import org.openworkflow.sdk.impl.additional.ConstantAdditionalObject; -import org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPIReader; +import cloud.openworkflow.sdk.impl.additional.ConstantAdditionalObject; +import cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPIReader; public class JacksonUnifiedOpenAPIReaderFactory extends ConstantAdditionalObject { diff --git a/impl/openapi-jackson/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json b/impl/openapi-jackson/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json new file mode 100644 index 000000000..bb5a34c07 --- /dev/null +++ b/impl/openapi-jackson/src/main/resources/META-INF/native-image/cloud.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json @@ -0,0 +1,14 @@ +[ +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Components","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Content","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$HttpOperation","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$MediaType","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Operation","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Parameter","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$PathItem","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$RequestBody","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Schema","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Server","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, +{"name":"cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$SwaggerVersion","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true} +] \ No newline at end of file diff --git a/impl/openapi-jackson/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json b/impl/openapi-jackson/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json deleted file mode 100644 index 9e1f34132..000000000 --- a/impl/openapi-jackson/src/main/resources/META-INF/native-image/org.openworkflow.sdk/openworkflow-impl-openapi/reflect-config.json +++ /dev/null @@ -1,14 +0,0 @@ -[ -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Components","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Content","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$HttpOperation","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$MediaType","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Operation","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Parameter","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$PathItem","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$RequestBody","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Schema","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$Server","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true}, -{"name":"org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPI$SwaggerVersion","queryAllPublicConstructors":true,"queryAllDeclaredConstructors":true,"queryAllPublicMethods":true,"queryAllDeclaredMethods":true,"allPublicConstructors":true,"allDeclaredConstructors":true,"allPublicMethods":true,"allDeclaredMethods":true,"allPublicFields":true,"allDeclaredFields":true,"allPublicClasses":true,"allDeclaredClasses":true} -] \ No newline at end of file diff --git a/impl/openapi-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject b/impl/openapi-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject new file mode 100644 index 000000000..806e67400 --- /dev/null +++ b/impl/openapi-jackson/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.executors.openapi.jackson.JacksonUnifiedOpenAPIReaderFactory \ No newline at end of file diff --git a/impl/openapi-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject b/impl/openapi-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject deleted file mode 100644 index 76c73740e..000000000 --- a/impl/openapi-jackson/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.additional.NamedSuppliedAdditionalObject +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.executors.openapi.jackson.JacksonUnifiedOpenAPIReaderFactory \ No newline at end of file diff --git a/impl/openapi-jackson/src/main/resources/META-INF/services/tools.jackson.databind.JacksonModule b/impl/openapi-jackson/src/main/resources/META-INF/services/tools.jackson.databind.JacksonModule index 4f61ff8e3..a986c39ba 100644 --- a/impl/openapi-jackson/src/main/resources/META-INF/services/tools.jackson.databind.JacksonModule +++ b/impl/openapi-jackson/src/main/resources/META-INF/services/tools.jackson.databind.JacksonModule @@ -1 +1 @@ -org.openworkflow.sdk.impl.executors.openapi.jackson.JacksonUnifiedOpenAPIMixInModule \ No newline at end of file +cloud.openworkflow.sdk.impl.executors.openapi.jackson.JacksonUnifiedOpenAPIMixInModule \ No newline at end of file diff --git a/impl/openapi-jackson/src/test/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java b/impl/openapi-jackson/src/test/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java similarity index 82% rename from impl/openapi-jackson/src/test/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java rename to impl/openapi-jackson/src/test/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java index 4a68256ca..318521614 100644 --- a/impl/openapi-jackson/src/test/java/org/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java +++ b/impl/openapi-jackson/src/test/java/cloud/openworkflow/sdk/impl/executors/openapi/jackson/JacksonOpenAPIProcessorTest.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.openapi.jackson; +package cloud.openworkflow.sdk.impl.executors.openapi.jackson; +import cloud.openworkflow.sdk.impl.executors.openapi.OpenAPIProcessorTest; +import cloud.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPIReader; import org.junit.jupiter.api.BeforeAll; -import org.openworkflow.sdk.impl.executors.openapi.OpenAPIProcessorTest; -import org.openworkflow.sdk.impl.executors.openapi.UnifiedOpenAPIReader; public class JacksonOpenAPIProcessorTest extends OpenAPIProcessorTest { diff --git a/impl/persistence/api/pom.xml b/impl/persistence/api/pom.xml index 03b6eea9d..337ed3370 100644 --- a/impl/persistence/api/pom.xml +++ b/impl/persistence/api/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: Persistence:: API - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java similarity index 95% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java index 77c3c4bd2..ed8cf7ef0 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractAllStrategyCorrelationInfo.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilder; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfo; import io.cloudevents.CloudEvent; import java.util.ArrayList; import java.util.Collection; @@ -28,10 +32,6 @@ import java.util.function.Consumer; import java.util.function.Function; import java.util.stream.Collectors; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilder; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java index eaa4956ec..cdb1a1920 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractAsyncPersistenceExecutor.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutorService; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; public abstract class AbstractAsyncPersistenceExecutor implements PersistenceExecutor { @Override diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java index 6eb7ebaf3..6fde03b9c 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceReader.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.util.Optional; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; public abstract class AbstractPersistenceInstanceReader implements PersistenceInstanceReader { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java similarity index 94% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java index f1e331ea2..a1e03ae24 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AbstractPersistenceInstanceWriter.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowStatus; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowStatus; public abstract class AbstractPersistenceInstanceWriter implements PersistenceInstanceWriter { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java similarity index 95% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java index 67545e488..b127604c3 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/AsyncPersistenceExecutor.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; import java.util.Optional; import java.util.concurrent.ExecutorService; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java similarity index 93% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java index ae22dd4dd..1e3552a63 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/CompletedTaskInfo.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.time.Instant; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowModel; public record CompletedTaskInfo( Instant instant, diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/CorrelationOperations.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/CorrelationOperations.java similarity index 95% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/CorrelationOperations.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/CorrelationOperations.java index c9234d7a9..ac4efffcf 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/CorrelationOperations.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/CorrelationOperations.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; import io.cloudevents.CloudEvent; import java.util.Collection; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java similarity index 94% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java index 31ee02312..3191b2562 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceHandlers.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import static org.openworkflow.sdk.impl.WorkflowUtils.safeClose; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.safeClose; import java.util.concurrent.ExecutorService; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java index ff9ee3f03..da298c016 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceReader.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.util.Optional; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java similarity index 94% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java index bd417c075..3c0f1ac89 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/DefaultPersistenceInstanceWriter.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java similarity index 89% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java index 34d00d9c8..800b6ce2c 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfo.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilder; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.Map; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilder; public class OperationAllStrategyCorrelationInfo extends AbstractAllStrategyCorrelationInfo { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java similarity index 82% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java index bd7ce2633..5d25edb13 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/OperationAllStrategyCorrelationInfoFactory.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfo; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfo; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; public class OperationAllStrategyCorrelationInfoFactory implements AllStrategyCorrelationInfoFactory { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java index 1a24bd199..576e5c693 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceAllStrategyCorrelationInfoFactories.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; public class PersistenceAllStrategyCorrelationInfoFactories { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java similarity index 89% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java index 8e5eda188..47df8ba36 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceApplicationBuilder.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowApplication.Builder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowApplication.Builder; public class PersistenceApplicationBuilder { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceExecutor.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceExecutor.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceExecutor.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceExecutor.java index 5ea118ac0..a84cad2b9 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceExecutor.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceExecutor.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; import java.util.concurrent.CompletableFuture; import java.util.function.Supplier; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; public interface PersistenceExecutor extends AutoCloseable { CompletableFuture execute(Supplier runnable, WorkflowDefinitionData definition); diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java similarity index 91% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java index b27e5eb42..86a74335f 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceHandlers.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import static org.openworkflow.sdk.impl.WorkflowUtils.safeClose; +import static cloud.openworkflow.sdk.impl.WorkflowUtils.safeClose; public class PersistenceInstanceHandlers implements AutoCloseable { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java index b7f7d22e3..3a006b0b8 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceInfo.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.time.Instant; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowModel; public record PersistenceInstanceInfo( Instant startedAt, WorkflowModel input, Map metadata) { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java similarity index 84% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java index b08850e90..fea053c48 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceOperations.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowStatus; import java.util.Optional; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowStatus; public interface PersistenceInstanceOperations extends CorrelationOperations { void writeInstanceData(WorkflowContextData workflowContext); diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java index e61f1d452..4702beb59 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceReader.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.util.Optional; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; /** * Reads persisted workflow instances. diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java similarity index 94% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java index add0c7a19..f5c61643b 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceStore.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; public interface PersistenceInstanceStore extends AutoCloseable { PersistenceInstanceTransaction begin(); diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java similarity index 88% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java index a063e6975..e9c6982e3 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceTransaction.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; public interface PersistenceInstanceTransaction extends PersistenceInstanceOperations { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java index d94d9ca46..638c36f54 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceInstanceWriter.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; public interface PersistenceInstanceWriter extends AutoCloseable { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java similarity index 93% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java index 734ec143f..c84dde082 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceTaskInfo.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; import java.util.Map; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java similarity index 88% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java index cf3b80894..fd91d120a 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/PersistenceWorkflowInfo.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; import java.time.Instant; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; public record PersistenceWorkflowInfo( String id, diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java similarity index 94% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java index 9fa3cd809..0f498608a 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/RetriedTaskInfo.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; import java.util.Map; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java similarity index 91% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java index d3af07a4d..2d5f596d2 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfo.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.events.EventRegistrationBuilder; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.Map; import java.util.function.Function; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.events.EventRegistrationBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java similarity index 81% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java index 65a7fbccf..437769426 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/StoreAllStrategyCorrelationInfoFactory.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfo; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfo; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; class StoreAllStrategyCorrelationInfoFactory implements AllStrategyCorrelationInfoFactory { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java index 6e4100e94..a31ff078b 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/TransactedPersistenceInstanceWriter.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; public abstract class TransactedPersistenceInstanceWriter extends AbstractPersistenceInstanceWriter { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java similarity index 89% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java index 3c35cb642..5413b2d25 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/WorkflowPersistenceInstance.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutableInstance; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.executors.TransitionInfo; import java.util.HashSet; import java.util.Optional; import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.function.Supplier; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutableInstance; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.executors.TransitionInfo; public class WorkflowPersistenceInstance extends WorkflowMutableInstance { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java similarity index 76% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java index eb5d9f0b7..836f079a3 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/WorkflowPersistenceListener.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence; +package cloud.openworkflow.sdk.impl.persistence; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; import java.util.concurrent.CompletableFuture; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowResumedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowSuspendedEvent; public class WorkflowPersistenceListener implements WorkflowExecutionCompletableListener { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java index 7f86d77cc..c4e64f039 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/DefaultHashFactory.java @@ -13,8 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashMappingCoordinator.BytesWithFlag; import com.github.f4b6a3.ulid.Ulid; import com.github.f4b6a3.ulid.UlidFactory; import java.util.List; @@ -22,8 +24,6 @@ import java.util.Optional; import java.util.function.Consumer; import java.util.function.Function; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; -import org.openworkflow.sdk.impl.persistence.hashing.HashMappingCoordinator.BytesWithFlag; public class DefaultHashFactory implements HashFactory { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java similarity index 95% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java index c8d949cc3..bf2b837c1 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/DefaultHashIndex.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; import com.github.f4b6a3.ulid.Ulid; import java.util.Objects; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashFactory.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashFactory.java similarity index 91% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashFactory.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashFactory.java index 27e5c6a95..45f3c742f 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashFactory.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashFactory.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.function.Consumer; import java.util.function.Function; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; public interface HashFactory extends AutoCloseable { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashIndex.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashIndex.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashIndex.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashIndex.java index 94c3039d5..cc05a1054 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashIndex.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashIndex.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; public interface HashIndex { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashItem.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashItem.java similarity index 87% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashItem.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashItem.java index 2d2c8fc41..543c2e47e 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashItem.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashItem.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; public interface HashItem { final byte HASHING_DISABLED = 0; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java similarity index 99% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java index d78fed29b..4601cf7bf 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinator.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; import java.util.ArrayList; import java.util.Arrays; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java index 128f75c8b..d1802c23a 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingInfo.java @@ -13,6 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; public record HashMappingInfo(HashItem item, HashIndex index, byte[] bytes) {} diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java similarity index 86% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java index 157231895..f9974ae15 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/IntegerHashItem.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; import java.util.Arrays; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; public class IntegerHashItem implements HashItem { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/LRUCache.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/LRUCache.java similarity index 99% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/LRUCache.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/LRUCache.java index c3a368af1..afc2a94ff 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/LRUCache.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/LRUCache.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; import java.util.AbstractCollection; import java.util.AbstractSet; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java similarity index 90% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java index d92eb5197..cbb4a0064 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/hashing/MD5HashItem.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; public class MD5HashItem implements HashItem { diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java similarity index 94% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java index 183445996..3e6df7a44 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/metadata/MetaTransient.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.metadata; +package cloud.openworkflow.sdk.impl.persistence.metadata; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; diff --git a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java similarity index 92% rename from impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java rename to impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java index af61281c9..1f3420faf 100644 --- a/impl/persistence/api/src/main/java/org/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java +++ b/impl/persistence/api/src/main/java/cloud/openworkflow/sdk/impl/persistence/metadata/PersistenceMetaUtils.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.metadata; +package cloud.openworkflow.sdk.impl.persistence.metadata; +import cloud.openworkflow.sdk.impl.WorkflowInstanceData; import java.util.Map; import java.util.Map.Entry; import java.util.stream.Collectors; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.WorkflowInstanceData; public class PersistenceMetaUtils { diff --git a/impl/persistence/api/src/test/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java b/impl/persistence/api/src/test/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java similarity index 98% rename from impl/persistence/api/src/test/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java rename to impl/persistence/api/src/test/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java index 3bfd1a302..56eb0e8ea 100644 --- a/impl/persistence/api/src/test/java/org/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java +++ b/impl/persistence/api/src/test/java/cloud/openworkflow/sdk/impl/persistence/hashing/HashMappingCoordinatorTest.java @@ -13,10 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; import static org.assertj.core.api.Assertions.*; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -25,7 +26,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; /** * Integration tests for HashMappingCoordinator verifying the complete lifecycle: pin during diff --git a/impl/persistence/api/src/test/java/org/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java b/impl/persistence/api/src/test/java/cloud/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java similarity index 99% rename from impl/persistence/api/src/test/java/org/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java rename to impl/persistence/api/src/test/java/cloud/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java index 093324b4f..04f6c2284 100644 --- a/impl/persistence/api/src/test/java/org/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java +++ b/impl/persistence/api/src/test/java/cloud/openworkflow/sdk/impl/persistence/hashing/LRUCacheTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.hashing; +package cloud.openworkflow.sdk.impl.persistence.hashing; import static org.assertj.core.api.Assertions.*; diff --git a/impl/persistence/bigmap/pom.xml b/impl/persistence/bigmap/pom.xml index 8dcc8cdbf..30b93b61c 100644 --- a/impl/persistence/bigmap/pom.xml +++ b/impl/persistence/bigmap/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: Persistence:: BigMap - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-api diff --git a/impl/persistence/bigmap/src/main/java/org/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java b/impl/persistence/bigmap/src/main/java/cloud/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java similarity index 90% rename from impl/persistence/bigmap/src/main/java/org/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java rename to impl/persistence/bigmap/src/main/java/cloud/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java index 3537a68c6..34ad6335b 100644 --- a/impl/persistence/bigmap/src/main/java/org/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java +++ b/impl/persistence/bigmap/src/main/java/cloud/openworkflow/sdk/impl/persistence/bigmap/BigMapInstanceTransaction.java @@ -13,8 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.bigmap; - +package cloud.openworkflow.sdk.impl.persistence.bigmap; + +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; +import cloud.openworkflow.sdk.impl.WorkflowInstanceData; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceInfo; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceTransaction; +import cloud.openworkflow.sdk.impl.persistence.PersistenceTaskInfo; +import cloud.openworkflow.sdk.impl.persistence.PersistenceWorkflowInfo; import io.cloudevents.CloudEvent; import java.util.Collection; import java.util.Map; @@ -22,17 +33,6 @@ import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; -import org.openworkflow.sdk.impl.WorkflowInstanceData; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceInfo; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceTransaction; -import org.openworkflow.sdk.impl.persistence.PersistenceTaskInfo; -import org.openworkflow.sdk.impl.persistence.PersistenceWorkflowInfo; public abstract class BigMapInstanceTransaction implements PersistenceInstanceTransaction { diff --git a/impl/persistence/bigmap/src/main/java/org/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java b/impl/persistence/bigmap/src/main/java/cloud/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java similarity index 90% rename from impl/persistence/bigmap/src/main/java/org/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java rename to impl/persistence/bigmap/src/main/java/cloud/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java index 020f5f17d..1d1ec6201 100644 --- a/impl/persistence/bigmap/src/main/java/org/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java +++ b/impl/persistence/bigmap/src/main/java/cloud/openworkflow/sdk/impl/persistence/bigmap/BytesMapInstanceTransaction.java @@ -13,8 +13,30 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.bigmap; - +package cloud.openworkflow.sdk.impl.persistence.bigmap; + +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowInstanceData; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.executors.AbstractTaskExecutor; +import cloud.openworkflow.sdk.impl.executors.TransitionInfo; +import cloud.openworkflow.sdk.impl.marshaller.MarshallingUtils; +import cloud.openworkflow.sdk.impl.marshaller.TaskStatus; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; +import cloud.openworkflow.sdk.impl.persistence.CompletedTaskInfo; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceInfo; +import cloud.openworkflow.sdk.impl.persistence.PersistenceTaskInfo; +import cloud.openworkflow.sdk.impl.persistence.RetriedTaskInfo; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashIndex; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashItem; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashMappingCoordinator; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashMappingInfo; +import cloud.openworkflow.sdk.impl.persistence.metadata.PersistenceMetaUtils; import io.cloudevents.CloudEvent; import io.cloudevents.SpecVersion; import io.cloudevents.core.builder.CloudEventBuilder; @@ -27,28 +49,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowInstanceData; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.executors.AbstractTaskExecutor; -import org.openworkflow.sdk.impl.executors.TransitionInfo; -import org.openworkflow.sdk.impl.marshaller.MarshallingUtils; -import org.openworkflow.sdk.impl.marshaller.TaskStatus; -import org.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; -import org.openworkflow.sdk.impl.marshaller.WorkflowInputBuffer; -import org.openworkflow.sdk.impl.marshaller.WorkflowOutputBuffer; -import org.openworkflow.sdk.impl.persistence.CompletedTaskInfo; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceInfo; -import org.openworkflow.sdk.impl.persistence.PersistenceTaskInfo; -import org.openworkflow.sdk.impl.persistence.RetriedTaskInfo; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; -import org.openworkflow.sdk.impl.persistence.hashing.HashIndex; -import org.openworkflow.sdk.impl.persistence.hashing.HashItem; -import org.openworkflow.sdk.impl.persistence.hashing.HashMappingCoordinator; -import org.openworkflow.sdk.impl.persistence.hashing.HashMappingInfo; -import org.openworkflow.sdk.impl.persistence.metadata.PersistenceMetaUtils; public abstract class BytesMapInstanceTransaction extends BigMapInstanceTransaction { diff --git a/impl/persistence/mvstore/pom.xml b/impl/persistence/mvstore/pom.xml index 12977c5e6..c1bd5c65f 100644 --- a/impl/persistence/mvstore/pom.xml +++ b/impl/persistence/mvstore/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence 8.0.0-SNAPSHOT @@ -13,11 +13,11 @@ h2-mvstore - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-big-map - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-tests diff --git a/impl/persistence/mvstore/src/main/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java b/impl/persistence/mvstore/src/main/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java similarity index 77% rename from impl/persistence/mvstore/src/main/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java rename to impl/persistence/mvstore/src/main/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java index 1ac7605fb..3ade19e71 100644 --- a/impl/persistence/mvstore/src/main/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java +++ b/impl/persistence/mvstore/src/main/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStore.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.mvstore; +package cloud.openworkflow.sdk.impl.persistence.mvstore; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.marshaller.DefaultBufferFactory; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; +import cloud.openworkflow.sdk.impl.persistence.bigmap.BigMapInstanceTransaction; +import cloud.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; import org.h2.mvstore.MVStore; import org.h2.mvstore.tx.TransactionStore; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.marshaller.DefaultBufferFactory; -import org.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; -import org.openworkflow.sdk.impl.persistence.bigmap.BigMapInstanceTransaction; -import org.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; public class MVStorePersistenceStore implements PersistenceInstanceStore { private final TransactionStore transactionStore; diff --git a/impl/persistence/mvstore/src/main/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java b/impl/persistence/mvstore/src/main/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java similarity index 89% rename from impl/persistence/mvstore/src/main/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java rename to impl/persistence/mvstore/src/main/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java index 4b7543205..931427869 100644 --- a/impl/persistence/mvstore/src/main/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java +++ b/impl/persistence/mvstore/src/main/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStoreTransaction.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.mvstore; - +package cloud.openworkflow.sdk.impl.persistence.mvstore; + +import cloud.openworkflow.sdk.api.types.Document; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionData; +import cloud.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; +import cloud.openworkflow.sdk.impl.persistence.bigmap.BytesMapInstanceTransaction; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; import java.util.Map; import org.h2.mvstore.MVStore; import org.h2.mvstore.tx.Transaction; import org.h2.mvstore.tx.TransactionMap; import org.h2.mvstore.tx.TransactionStore; -import org.openworkflow.sdk.api.types.Document; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowDefinitionData; -import org.openworkflow.sdk.impl.marshaller.WorkflowBufferFactory; -import org.openworkflow.sdk.impl.persistence.bigmap.BytesMapInstanceTransaction; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; public class MVStoreTransaction extends BytesMapInstanceTransaction { private static final String ID_SEPARATOR = "-"; diff --git a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java similarity index 83% rename from impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java rename to impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java index 5c5d98dc4..b42dce875 100644 --- a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java +++ b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/HashingMVStorePersistenceTest.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.mvstore; +package cloud.openworkflow.sdk.impl.persistence.mvstore; -import org.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; public class HashingMVStorePersistenceTest extends MVStorePersistenceStoreTest { diff --git a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java similarity index 83% rename from impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java rename to impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java index ee00ce210..8fdddca44 100644 --- a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java +++ b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MD5MVStorePersistenceTest.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.mvstore; +package cloud.openworkflow.sdk.impl.persistence.mvstore; -import org.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; public class MD5MVStorePersistenceTest extends MVStorePersistenceStoreTest { diff --git a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java similarity index 83% rename from impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java rename to impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java index 2abf07633..4996f931e 100644 --- a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java +++ b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStoreCorrelationTest.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.mvstore; +package cloud.openworkflow.sdk.impl.persistence.mvstore; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; +import cloud.openworkflow.sdk.impl.persistence.test.AbstractStoreCorrelationPersistenceTest; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import org.junit.jupiter.api.AfterEach; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; -import org.openworkflow.sdk.impl.persistence.test.AbstractStoreCorrelationPersistenceTest; public class MVStoreCorrelationTest extends AbstractStoreCorrelationPersistenceTest { diff --git a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java similarity index 77% rename from impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java rename to impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java index 05b1d998b..44d2ddbb7 100644 --- a/impl/persistence/mvstore/src/test/java/org/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java +++ b/impl/persistence/mvstore/src/test/java/cloud/openworkflow/sdk/impl/persistence/mvstore/MVStorePersistenceStoreTest.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.mvstore; +package cloud.openworkflow.sdk.impl.persistence.mvstore; +import cloud.openworkflow.sdk.impl.marshaller.DefaultBufferFactory; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; +import cloud.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; +import cloud.openworkflow.sdk.impl.persistence.test.AbstractPersistenceTest; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import org.junit.jupiter.api.AfterEach; -import org.openworkflow.sdk.impl.marshaller.DefaultBufferFactory; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; -import org.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; -import org.openworkflow.sdk.impl.persistence.test.AbstractPersistenceTest; class MVStorePersistenceStoreTest extends AbstractPersistenceTest { diff --git a/impl/persistence/pom.xml b/impl/persistence/pom.xml index 704ed22d5..225125ffe 100644 --- a/impl/persistence/pom.xml +++ b/impl/persistence/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT diff --git a/impl/persistence/tests/pom.xml b/impl/persistence/tests/pom.xml index b6113a905..e6dd6f5b7 100644 --- a/impl/persistence/tests/pom.xml +++ b/impl/persistence/tests/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence 8.0.0-SNAPSHOT @@ -39,15 +39,15 @@ compile - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-api - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api diff --git a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java similarity index 81% rename from impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java rename to impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java index dc97d78ac..871210c98 100644 --- a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java +++ b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractCorrelationPersistenceTest.java @@ -13,12 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.test; +package cloud.openworkflow.sdk.impl.persistence.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.events.InMemoryEvents; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.persistence.AsyncPersistenceExecutor; +import cloud.openworkflow.sdk.impl.persistence.PersistenceExecutor; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; import io.cloudevents.jackson3.JsonCloudEventData; @@ -30,15 +39,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.events.InMemoryEvents; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.persistence.AsyncPersistenceExecutor; -import org.openworkflow.sdk.impl.persistence.PersistenceExecutor; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; public abstract class AbstractCorrelationPersistenceTest { diff --git a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java similarity index 85% rename from impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java rename to impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java index e413bfebc..0a615609b 100644 --- a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java +++ b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractHandlerPersistenceTest.java @@ -13,14 +13,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.test; +package cloud.openworkflow.sdk.impl.persistence.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowContextData; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowInstanceData; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowMutablePosition; +import cloud.openworkflow.sdk.impl.WorkflowPosition; +import cloud.openworkflow.sdk.impl.WorkflowUtils; +import cloud.openworkflow.sdk.impl.executors.TransitionInfo; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.WorkflowPersistenceInstance; +import cloud.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; +import cloud.openworkflow.sdk.impl.persistence.hashing.HashFactory; +import cloud.openworkflow.sdk.impl.persistence.metadata.MetaTransient; import java.io.IOException; import java.time.Duration; import java.time.Instant; @@ -33,26 +53,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowContextData; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowInstanceData; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowMutablePosition; -import org.openworkflow.sdk.impl.WorkflowPosition; -import org.openworkflow.sdk.impl.WorkflowUtils; -import org.openworkflow.sdk.impl.executors.TransitionInfo; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.WorkflowPersistenceInstance; -import org.openworkflow.sdk.impl.persistence.hashing.DefaultHashFactory; -import org.openworkflow.sdk.impl.persistence.hashing.HashFactory; -import org.openworkflow.sdk.impl.persistence.metadata.MetaTransient; public abstract class AbstractHandlerPersistenceTest { diff --git a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java similarity index 77% rename from impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java rename to impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java index 47f02ae1b..3d433af06 100644 --- a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java +++ b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractOperationsCorrelationPersistenceTest.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.test; +package cloud.openworkflow.sdk.impl.persistence.test; -import org.openworkflow.sdk.impl.persistence.PersistenceAllStrategyCorrelationInfoFactories; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceOperations; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; +import cloud.openworkflow.sdk.impl.persistence.PersistenceAllStrategyCorrelationInfoFactories; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceOperations; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; public abstract class AbstractOperationsCorrelationPersistenceTest extends AbstractCorrelationPersistenceTest { diff --git a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java similarity index 76% rename from impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java rename to impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java index f685eafb5..db56b46d0 100644 --- a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java +++ b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractPersistenceTest.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.test; +package cloud.openworkflow.sdk.impl.persistence.test; -import org.openworkflow.sdk.impl.persistence.DefaultPersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; +import cloud.openworkflow.sdk.impl.persistence.DefaultPersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; public abstract class AbstractPersistenceTest extends AbstractHandlerPersistenceTest { diff --git a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java similarity index 77% rename from impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java rename to impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java index 9dd30d683..0c3eec4a9 100644 --- a/impl/persistence/tests/src/main/java/org/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java +++ b/impl/persistence/tests/src/main/java/cloud/openworkflow/sdk/impl/persistence/test/AbstractStoreCorrelationPersistenceTest.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.persistence.test; +package cloud.openworkflow.sdk.impl.persistence.test; -import org.openworkflow.sdk.impl.persistence.PersistenceAllStrategyCorrelationInfoFactories; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; -import org.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; +import cloud.openworkflow.sdk.impl.persistence.PersistenceAllStrategyCorrelationInfoFactories; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceStore; +import cloud.openworkflow.sdk.impl.scheduler.AllStrategyCorrelationInfoFactory; public abstract class AbstractStoreCorrelationPersistenceTest extends AbstractCorrelationPersistenceTest { diff --git a/impl/pom.xml b/impl/pom.xml index 5a8c70f37..14c5910fd 100644 --- a/impl/pom.xml +++ b/impl/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT @@ -23,105 +23,105 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-http ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jq ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-model ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-validation ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-function ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-lifecycle-events ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-api ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-big-map ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-tests ${project.version} test - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-mvstore ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-http-jackson ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core ${project.version} test-jar test - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-openapi ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-container ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-grpc ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-a2a ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-cron ${project.version} @@ -158,12 +158,12 @@ ${version.com.h2database} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-script-js ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-script-python ${project.version} diff --git a/impl/python/pom.xml b/impl/python/pom.xml index 162df6552..3928d2a86 100644 --- a/impl/python/pom.xml +++ b/impl/python/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Impl :: Script Python - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core diff --git a/impl/python/src/main/java/org/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java b/impl/python/src/main/java/cloud/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java similarity index 81% rename from impl/python/src/main/java/org/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java rename to impl/python/src/main/java/cloud/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java index d26b66855..45e9ce41d 100644 --- a/impl/python/src/main/java/org/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java +++ b/impl/python/src/main/java/cloud/openworkflow/sdk/impl/executors/script/python/PythonScriptTaskRunner.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.executors.script.python; +package cloud.openworkflow.sdk.impl.executors.script.python; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.scripts.ScriptContext; +import cloud.openworkflow.sdk.impl.scripts.ScriptLanguageId; +import cloud.openworkflow.sdk.impl.scripts.ScriptRunner; +import cloud.openworkflow.sdk.impl.scripts.ScriptUtils; import java.util.List; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.scripts.ScriptContext; -import org.openworkflow.sdk.impl.scripts.ScriptLanguageId; -import org.openworkflow.sdk.impl.scripts.ScriptRunner; -import org.openworkflow.sdk.impl.scripts.ScriptUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/python/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner b/impl/python/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner new file mode 100644 index 000000000..c4b1f15a1 --- /dev/null +++ b/impl/python/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.scripts.ScriptRunner @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.executors.script.python.PythonScriptTaskRunner \ No newline at end of file diff --git a/impl/python/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner b/impl/python/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner deleted file mode 100644 index dac9a1791..000000000 --- a/impl/python/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.scripts.ScriptRunner +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.executors.script.python.PythonScriptTaskRunner \ No newline at end of file diff --git a/impl/test/pom.xml b/impl/test/pom.xml index 11e050c2a..72133e3f4 100644 --- a/impl/test/pom.xml +++ b/impl/test/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -9,41 +9,41 @@ Open Workflow :: Impl :: Test - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-jackson - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-fluent-spec ${project.version} test - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-persistence-mvstore - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-http - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-http-jackson - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-script-js - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-script-python - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-a2a @@ -51,15 +51,15 @@ jersey-media-json-jackson3 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-openapi - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-grpc - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-cron @@ -170,7 +170,7 @@ java - org.openworkflow.sdk.impl.test.DBGenerator + cloud.openworkflow.sdk.impl.test.DBGenerator diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java similarity index 86% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java index 7df518bbd..411ec5efe 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/auth/OAuthRequestBuilderTest.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.auth; +package cloud.openworkflow.sdk.impl.auth; +import static cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.CLIENT_CREDENTIALS; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.types.OAuth2AuthenticationData.OAuth2AuthenticationDataGrant.CLIENT_CREDENTIALS; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; +import cloud.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.UriTemplate; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.net.URI; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationDataClient; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPropertiesEndpoints; -import org.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; -import org.openworkflow.sdk.api.types.UriTemplate; -import org.openworkflow.sdk.impl.WorkflowApplication; class OAuthRequestBuilderTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/A2AExecutorTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/A2AExecutorTest.java similarity index 98% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/A2AExecutorTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/A2AExecutorTest.java index 8ba055b83..e9d1a221b 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/A2AExecutorTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/A2AExecutorTest.java @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowException; import java.io.IOException; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; @@ -29,9 +32,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowException; class A2AExecutorTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/AccessTokenProvider.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/AccessTokenProvider.java similarity index 97% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/AccessTokenProvider.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/AccessTokenProvider.java index fd4ee6bcb..acd6a1ec4 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/AccessTokenProvider.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/AccessTokenProvider.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import java.nio.charset.StandardCharsets; import java.time.Instant; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java similarity index 85% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java index 2afa3d038..3024f04c7 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ActiveInstanceRegistrationTest.java @@ -13,12 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; import java.io.IOException; import java.time.Duration; import java.util.List; @@ -26,14 +34,6 @@ import java.util.concurrent.CompletableFuture; import java.util.concurrent.CopyOnWriteArrayList; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; /** An instance is registered in its definition's active instances only once it is started. */ class ActiveInstanceRegistrationTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/BasicAuthHttpTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/BasicAuthHttpTest.java similarity index 89% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/BasicAuthHttpTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/BasicAuthHttpTest.java index 1d7aeeaae..9be9f96da 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/BasicAuthHttpTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/BasicAuthHttpTest.java @@ -13,11 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.io.IOException; import java.util.Base64; import java.util.Map; @@ -29,10 +33,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.jackson.JsonUtils; public class BasicAuthHttpTest { private static WorkflowApplication app; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CancelMetadataTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CancelMetadataTest.java similarity index 92% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/CancelMetadataTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CancelMetadataTest.java index 0a12bb440..7555b148e 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CancelMetadataTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CancelMetadataTest.java @@ -13,11 +13,29 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.lifecycle.EventType; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; import java.io.IOException; import java.time.Duration; import java.util.Map; @@ -36,24 +54,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.lifecycle.EventType; -import org.openworkflow.sdk.impl.lifecycle.TaskCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCancelledEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionCompletableListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowFailedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStatusEvent; /** * Instance metadata must still be available to listeners when {@code onWorkflowCancelled} is diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ConcurrentStartTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ConcurrentStartTest.java similarity index 88% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/ConcurrentStartTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ConcurrentStartTest.java index 41623cafc..e1ce3ec4e 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ConcurrentStartTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ConcurrentStartTest.java @@ -13,11 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; import java.io.IOException; import java.util.List; import java.util.Map; @@ -29,12 +35,6 @@ import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.IntStream; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; -import org.openworkflow.sdk.impl.lifecycle.WorkflowStartedEvent; public class ConcurrentStartTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CoreTaskTypesTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CoreTaskTypesTest.java similarity index 96% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/CoreTaskTypesTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CoreTaskTypesTest.java index c26e0cc4a..1a6bbd40d 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CoreTaskTypesTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CoreTaskTypesTest.java @@ -13,13 +13,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.catchThrowableOfType; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.types.FlowDirectiveEnum; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.SetTaskBuilder; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.io.IOException; import java.net.URI; import java.time.Instant; @@ -32,16 +42,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.types.FlowDirectiveEnum; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.SetTaskBuilder; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; import tools.jackson.databind.node.ArrayNode; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CorrelationTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CorrelationTest.java similarity index 94% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/CorrelationTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CorrelationTest.java index 01c3bcac7..89e09ddae 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CorrelationTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CorrelationTest.java @@ -13,13 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; import io.cloudevents.jackson3.JsonCloudEventData; @@ -37,14 +45,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.jackson.JsonUtils; class CorrelationTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java similarity index 87% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java index 7b905a498..3c76814a2 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CustomAuthProviderFactoryOverrideTest.java @@ -13,11 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.TaskContext; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowContext; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.auth.AuthProvider; +import cloud.openworkflow.sdk.impl.auth.AuthProviderFactory; import java.io.IOException; import java.net.URI; import java.util.Map; @@ -30,15 +39,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.TaskContext; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowContext; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.auth.AuthProvider; -import org.openworkflow.sdk.impl.auth.AuthProviderFactory; public class CustomAuthProviderFactoryOverrideTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CustomFunctionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CustomFunctionTest.java similarity index 88% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/CustomFunctionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CustomFunctionTest.java index f8475b8fd..c254d876a 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/CustomFunctionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/CustomFunctionTest.java @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.test.junit.DisabledIfPythonUnavailable; import java.io.IOException; import java.util.Map; import org.junit.jupiter.api.AfterAll; @@ -26,9 +29,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.test.junit.DisabledIfPythonUnavailable; public class CustomFunctionTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/DBGenerator.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DBGenerator.java similarity index 74% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/DBGenerator.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DBGenerator.java index dc2d05a30..22bc4f22b 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/DBGenerator.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DBGenerator.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.lifecycle.TraceExecutionListener; +import cloud.openworkflow.sdk.impl.persistence.DefaultPersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.PersistenceApplicationBuilder; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.mvstore.MVStorePersistenceStore; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.Map; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.lifecycle.TraceExecutionListener; -import org.openworkflow.sdk.impl.persistence.DefaultPersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.PersistenceApplicationBuilder; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.mvstore.MVStorePersistenceStore; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java similarity index 87% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java index b975241fb..1204afb3d 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DateTimeDescriptorTest.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.impl.expressions.DateTimeDescriptor; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.time.Instant; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.expressions.DateTimeDescriptor; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; class DateTimeDescriptorTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/DigestAuthHttpTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DigestAuthHttpTest.java similarity index 89% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/DigestAuthHttpTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DigestAuthHttpTest.java index 877564759..45f0573ef 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/DigestAuthHttpTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/DigestAuthHttpTest.java @@ -13,12 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mockStatic; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.utils.RandomFactory; import java.io.IOException; import java.util.Map; import java.util.Random; @@ -31,11 +36,6 @@ import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import org.mockito.Mockito; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.utils.RandomFactory; public class DigestAuthHttpTest { private static WorkflowApplication app; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/EmitExecutorTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/EmitExecutorTest.java similarity index 94% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/EmitExecutorTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/EmitExecutorTest.java index 2f813a20e..cf5f185ec 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/EmitExecutorTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/EmitExecutorTest.java @@ -13,12 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.events.InMemoryEvents; import io.cloudevents.CloudEvent; import java.io.IOException; import java.net.URI; @@ -30,11 +35,6 @@ import java.util.function.UnaryOperator; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.EventPropertiesBuilder; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.events.InMemoryEvents; class EmitExecutorTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/EventDefinitionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/EventDefinitionTest.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/EventDefinitionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/EventDefinitionTest.java index 90ec67abc..658c7f0b7 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/EventDefinitionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/EventDefinitionTest.java @@ -13,10 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.io.IOException; import java.time.Instant; import java.time.temporal.ChronoUnit; @@ -28,13 +35,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; import tools.jackson.databind.ObjectMapper; import tools.jackson.databind.node.ArrayNode; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ForTaskMissingInTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ForTaskMissingInTest.java similarity index 87% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/ForTaskMissingInTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ForTaskMissingInTest.java index 2c7199254..56db9eb6e 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ForTaskMissingInTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ForTaskMissingInTest.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; class ForTaskMissingInTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ForkWaitTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ForkWaitTest.java similarity index 88% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/ForkWaitTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ForkWaitTest.java index 88c200f48..b41f062db 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ForkWaitTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ForkWaitTest.java @@ -13,12 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.dsl.DSL; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; import java.io.IOException; import java.time.Duration; import java.util.Collection; @@ -31,14 +39,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.dsl.DSL; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; class ForkWaitTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java similarity index 97% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java index 1f924a5c2..7d1fc2713 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/HTTPWorkflowDefinitionTest.java @@ -13,13 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatCode; import static org.assertj.core.api.Assertions.catchThrowableOfType; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.executors.CallableTask; +import cloud.openworkflow.sdk.impl.executors.CallableTaskProxyBuilder; +import cloud.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; +import cloud.openworkflow.sdk.impl.http.DefaultURITemplateResolver; +import cloud.openworkflow.sdk.types.Errors; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.List; @@ -38,15 +47,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.executors.CallableTask; -import org.openworkflow.sdk.impl.executors.CallableTaskProxyBuilder; -import org.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; -import org.openworkflow.sdk.impl.http.DefaultURITemplateResolver; -import org.openworkflow.sdk.types.Errors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/LifeCycleEventsTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/LifeCycleEventsTest.java similarity index 86% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/LifeCycleEventsTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/LifeCycleEventsTest.java index 9a1af323a..c9d975d4e 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/LifeCycleEventsTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/LifeCycleEventsTest.java @@ -13,13 +13,36 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.impl.LifecycleEvents.APPLICATION_ID_EXTENSION; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.catchThrowableOfType; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.impl.LifecycleEvents.APPLICATION_ID_EXTENSION; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.dsl.DSL; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowError; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.events.InMemoryEvents; +import cloud.openworkflow.sdk.impl.lifecycle.ce.AbstractLifeCyclePublisher; +import cloud.openworkflow.sdk.impl.lifecycle.ce.InputOutputLifeCycleCloudEventFactory; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCancelledCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEDataWithOutput; +import cloud.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCancelledCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEDataWithOutput; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowFailedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowResumedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEData; +import cloud.openworkflow.sdk.impl.lifecycle.ce.WorkflowSuspendedCEData; import io.cloudevents.CloudEvent; import io.cloudevents.core.data.PojoCloudEventData; import java.io.IOException; @@ -43,29 +66,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.dsl.DSL; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowError; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.events.InMemoryEvents; -import org.openworkflow.sdk.impl.lifecycle.ce.AbstractLifeCyclePublisher; -import org.openworkflow.sdk.impl.lifecycle.ce.InputOutputLifeCycleCloudEventFactory; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskCancelledCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskCompletedCEDataWithOutput; -import org.openworkflow.sdk.impl.lifecycle.ce.TaskStartedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCancelledCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowCompletedCEDataWithOutput; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowFailedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowResumedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowStartedCEData; -import org.openworkflow.sdk.impl.lifecycle.ce.WorkflowSuspendedCEData; class LifeCycleEventsTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/MvStorePersistenceTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/MvStorePersistenceTest.java similarity index 87% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/MvStorePersistenceTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/MvStorePersistenceTest.java index c6869fd20..5e5ebb905 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/MvStorePersistenceTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/MvStorePersistenceTest.java @@ -13,11 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.lifecycle.TraceExecutionListener; +import cloud.openworkflow.sdk.impl.persistence.DefaultPersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.PersistenceApplicationBuilder; +import cloud.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; +import cloud.openworkflow.sdk.impl.persistence.mvstore.MVStorePersistenceStore; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; @@ -29,15 +38,6 @@ import java.util.stream.Stream; import org.awaitility.Awaitility; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.lifecycle.TraceExecutionListener; -import org.openworkflow.sdk.impl.persistence.DefaultPersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.PersistenceApplicationBuilder; -import org.openworkflow.sdk.impl.persistence.PersistenceInstanceHandlers; -import org.openworkflow.sdk.impl.persistence.mvstore.MVStorePersistenceStore; public class MvStorePersistenceTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java similarity index 98% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java index 7cc4e41ed..bd138dc1d 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OAuthHTTPWorkflowDefinitionTest.java @@ -13,12 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.impl.test.AccessTokenProvider.fakeAccessToken; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.impl.test.AccessTokenProvider.fakeAccessToken; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; +import cloud.openworkflow.sdk.impl.http.DefaultURITemplateResolver; import java.io.IOException; import java.net.URLDecoder; import java.nio.charset.StandardCharsets; @@ -33,10 +37,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; -import org.openworkflow.sdk.impl.http.DefaultURITemplateResolver; import tools.jackson.databind.ObjectMapper; public class OAuthHTTPWorkflowDefinitionTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OAuthUtilsTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OAuthUtilsTest.java similarity index 83% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/OAuthUtilsTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OAuthUtilsTest.java index b657c2a7b..cb6d552ba 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OAuthUtilsTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OAuthUtilsTest.java @@ -13,24 +13,24 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.BasicAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationData; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OAuth2AuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; +import cloud.openworkflow.sdk.impl.auth.OAuthPolicyData; +import cloud.openworkflow.sdk.impl.auth.OAuthScheme; +import cloud.openworkflow.sdk.impl.auth.OAuthUtils; import java.util.Optional; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.BasicAuthenticationPolicy; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationData; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicy; -import org.openworkflow.sdk.api.types.OAuth2AuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.OAuth2ConnectAuthenticationProperties; -import org.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicy; -import org.openworkflow.sdk.api.types.OpenIdConnectAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.SecretBasedAuthenticationPolicy; -import org.openworkflow.sdk.impl.auth.OAuthPolicyData; -import org.openworkflow.sdk.impl.auth.OAuthScheme; -import org.openworkflow.sdk.impl.auth.OAuthUtils; public class OAuthUtilsTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OpenAPITest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OpenAPITest.java similarity index 96% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/OpenAPITest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OpenAPITest.java index 3967df587..47813c32c 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OpenAPITest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OpenAPITest.java @@ -13,12 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; +import cloud.openworkflow.sdk.impl.http.DefaultURITemplateResolver; import java.io.IOException; import java.io.InputStream; import java.time.OffsetDateTime; @@ -35,12 +41,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; -import org.openworkflow.sdk.impl.http.DefaultURITemplateResolver; public class OpenAPITest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java similarity index 98% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java index 117410d2e..f32d36ab9 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/OpenIDCHTTPWorkflowDefinitionTest.java @@ -13,12 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.impl.test.AccessTokenProvider.fakeAccessToken; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.impl.test.AccessTokenProvider.fakeAccessToken; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; +import cloud.openworkflow.sdk.impl.http.DefaultURITemplateResolver; import java.io.IOException; import java.util.List; import java.util.Map; @@ -31,10 +35,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.http.DefaultHttpRequestBuilderFactory; -import org.openworkflow.sdk.impl.http.DefaultURITemplateResolver; import tools.jackson.databind.ObjectMapper; public class OpenIDCHTTPWorkflowDefinitionTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ResolvePolicyTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ResolvePolicyTest.java similarity index 83% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/ResolvePolicyTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ResolvePolicyTest.java index bf1ce1164..a5a9d5234 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ResolvePolicyTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ResolvePolicyTest.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyReference; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationPolicyConfiguration; +import cloud.openworkflow.sdk.api.types.BearerAuthenticationProperties; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.Use; +import cloud.openworkflow.sdk.api.types.UseAuthentications; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.auth.OAuthUtils; import java.util.Optional; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.AuthenticationPolicyReference; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicy; -import org.openworkflow.sdk.api.types.BearerAuthenticationPolicyConfiguration; -import org.openworkflow.sdk.api.types.BearerAuthenticationProperties; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.Use; -import org.openworkflow.sdk.api.types.UseAuthentications; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.auth.OAuthUtils; public class ResolvePolicyTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/RetryTimeoutTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RetryTimeoutTest.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/RetryTimeoutTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RetryTimeoutTest.java index 2795873fd..14e45fa28 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/RetryTimeoutTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RetryTimeoutTest.java @@ -13,12 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.TaskContextData; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; import java.io.IOException; import java.time.Duration; import java.util.Map; @@ -33,15 +42,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import org.openworkflow.sdk.impl.TaskContextData; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; import tools.jackson.databind.JsonNode; public class RetryTimeoutTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java index 88874f4c3..c7466311b 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RunScriptJavaScriptTest.java @@ -13,10 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThatThrownBy; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowModel; import java.io.IOException; import java.util.Map; import okhttp3.mockwebserver.MockResponse; @@ -26,11 +31,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowModel; public class RunScriptJavaScriptTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/RunShellExecutorTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RunShellExecutorTest.java similarity index 96% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/RunShellExecutorTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RunShellExecutorTest.java index 5b0f9061d..a4703db61 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/RunShellExecutorTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/RunShellExecutorTest.java @@ -13,10 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThatThrownBy; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.executors.ProcessResult; import java.io.IOException; import java.util.List; import java.util.Map; @@ -26,11 +31,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledOnOs; import org.junit.jupiter.api.condition.OS; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.executors.ProcessResult; @EnabledOnOs(value = OS.LINUX) public class RunShellExecutorTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java similarity index 93% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java index 46275e28c..35c61f1eb 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/ScheduleEventConsumerTest.java @@ -13,12 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowStatus; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; import io.cloudevents.jackson3.JsonCloudEventData; @@ -32,11 +37,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowStatus; -import org.openworkflow.sdk.impl.jackson.JsonUtils; class ScheduleEventConsumerTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/SchedulerTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SchedulerTest.java similarity index 90% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/SchedulerTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SchedulerTest.java index c86be088e..8addc7b28 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/SchedulerTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SchedulerTest.java @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.io.IOException; import java.time.Duration; import java.util.Map; @@ -27,9 +30,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; class SchedulerTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/SecretExpressionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SecretExpressionTest.java similarity index 91% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/SecretExpressionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SecretExpressionTest.java index 7d1e6ea97..84d2ec70c 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/SecretExpressionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SecretExpressionTest.java @@ -13,12 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowException; import java.io.IOException; import java.util.Map; import org.junit.jupiter.api.BeforeAll; @@ -27,9 +30,6 @@ import org.junit.jupiter.api.parallel.ExecutionMode; import org.junit.jupiter.api.parallel.ResourceLock; import org.junit.jupiter.api.parallel.Resources; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowException; public class SecretExpressionTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/SubWorkflowTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SubWorkflowTest.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/SubWorkflowTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SubWorkflowTest.java index 9778564f1..fb75c6e89 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/SubWorkflowTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/SubWorkflowTest.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.dsl.DSL; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.dsl.DSL; -import org.openworkflow.sdk.impl.WorkflowApplication; public class SubWorkflowTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java similarity index 83% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java index 299a5a9f7..c3e1d27a7 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/TaskCounterPerInstanceListener.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import cloud.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import org.openworkflow.sdk.impl.lifecycle.TaskCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskRetriedEvent; -import org.openworkflow.sdk.impl.lifecycle.TaskStartedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; public class TaskCounterPerInstanceListener implements WorkflowExecutionListener { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java similarity index 90% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java index 18e94425e..f9aec3a6a 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/UndefinedAuthReferenceTest.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; import static org.assertj.core.api.Assertions.assertThatThrownBy; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.dsl.DSL; +import cloud.openworkflow.sdk.impl.WorkflowApplication; import java.net.URI; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.dsl.DSL; -import org.openworkflow.sdk.impl.WorkflowApplication; class UndefinedAuthReferenceTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WaitExecutorTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WaitExecutorTest.java similarity index 94% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/WaitExecutorTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WaitExecutorTest.java index 8ae8f8c92..914e9b117 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WaitExecutorTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WaitExecutorTest.java @@ -13,13 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.awaitility.Awaitility.await; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.fluent.spec.dsl.DSL; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.WorkflowStatus; import java.io.IOException; import java.time.Duration; import java.time.format.DateTimeParseException; @@ -29,14 +37,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.api.types.TimeoutAfter; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.fluent.spec.dsl.DSL; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.WorkflowStatus; class WaitExecutorTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java similarity index 94% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java index ac413b136..20857e1b2 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowDefinitionTest.java @@ -13,13 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.api.WorkflowReader.validation; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.catchThrowableOfType; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.api.WorkflowReader.validation; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowException; +import cloud.openworkflow.sdk.impl.WorkflowInstance; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; import java.io.IOException; import java.time.Instant; import java.util.Arrays; @@ -32,12 +38,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowException; -import org.openworkflow.sdk.impl.WorkflowInstance; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.jackson.JsonUtils; import tools.jackson.databind.JsonNode; import tools.jackson.databind.node.ArrayNode; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java similarity index 83% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java index fcc5e09a7..f157cdbcf 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowExecutionListenerOutputTest.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; +import cloud.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; import java.io.IOException; import java.util.Map; import java.util.concurrent.atomic.AtomicReference; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.lifecycle.WorkflowCompletedEvent; -import org.openworkflow.sdk.impl.lifecycle.WorkflowExecutionListener; /** * Verifies that {@code event.output()} in {@code onWorkflowCompleted} carries the workflow's final @@ -33,7 +33,7 @@ * the hook — it is populated directly from the task result before the event is published. * *

{@code instanceData().output()} is intentionally absent from {@link - * org.openworkflow.sdk.impl.WorkflowInstanceData}: it is a blocking join on the workflow future + * cloud.openworkflow.sdk.impl.WorkflowInstanceData}: it is a blocking join on the workflow future * intended for callers outside the event chain (e.g. after {@code instance.start().join()}). */ class WorkflowExecutionListenerOutputTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java similarity index 84% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java index 63cff98e9..d8b0d24b1 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/WorkflowInstanceIdTest.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test; +package cloud.openworkflow.sdk.impl.test; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowInstance; import java.io.IOException; import java.util.Map; import org.junit.jupiter.api.Test; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowInstance; public class WorkflowInstanceIdTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java similarity index 85% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java index 2a44e00d9..f2ae9a4e9 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcBiDirectionalStreamingTest.java @@ -13,12 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc; +package cloud.openworkflow.sdk.impl.test.grpc; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.test.grpc.handlers.ContributorBiDiStreamingHandler; +import cloud.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; import io.grpc.Server; import io.grpc.ServerBuilder; import java.io.IOException; @@ -33,15 +42,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.test.grpc.handlers.ContributorBiDiStreamingHandler; -import org.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; @DisabledIfProtocUnavailable public class GrpcBiDirectionalStreamingTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java similarity index 84% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java index 29433f433..940976ed9 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcClientStreamingTest.java @@ -13,12 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc; +package cloud.openworkflow.sdk.impl.test.grpc; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.test.grpc.handlers.ContributorClientStreamingHandler; +import cloud.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; import io.grpc.Server; import io.grpc.ServerBuilder; import java.io.IOException; @@ -33,14 +41,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.test.grpc.handlers.ContributorClientStreamingHandler; -import org.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; @DisabledIfProtocUnavailable public class GrpcClientStreamingTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java similarity index 85% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java index c5dc89aff..4eaeb0611 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcServerStreamingTest.java @@ -13,12 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc; +package cloud.openworkflow.sdk.impl.test.grpc; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.WorkflowModel; +import cloud.openworkflow.sdk.impl.test.grpc.handlers.ContributorServerStreamingHandler; +import cloud.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; import io.grpc.Server; import io.grpc.ServerBuilder; import java.io.IOException; @@ -34,15 +43,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.WorkflowModel; -import org.openworkflow.sdk.impl.test.grpc.handlers.ContributorServerStreamingHandler; -import org.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; @DisabledIfProtocUnavailable public class GrpcServerStreamingTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java similarity index 84% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java index 0fe96fb34..3a863a16a 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcUnaryArgsExprTest.java @@ -13,12 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc; +package cloud.openworkflow.sdk.impl.test.grpc; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.test.grpc.handlers.ContributorUnaryArgsExprHandler; +import cloud.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; import io.grpc.Server; import io.grpc.ServerBuilder; import java.io.IOException; @@ -32,15 +41,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.test.grpc.handlers.ContributorUnaryArgsExprHandler; -import org.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; @DisabledIfProtocUnavailable public class GrpcUnaryArgsExprTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java similarity index 85% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java index 57e8ed5ef..17449fbb3 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/GrpcUnaryTest.java @@ -13,12 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc; +package cloud.openworkflow.sdk.impl.test.grpc; +import static cloud.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; +import static cloud.openworkflow.sdk.fluent.spec.dsl.DSL.*; import static org.assertj.core.api.Assertions.assertThat; -import static org.openworkflow.sdk.api.WorkflowReader.readWorkflowFromClasspath; -import static org.openworkflow.sdk.fluent.spec.dsl.DSL.*; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.fluent.spec.WorkflowBuilder; +import cloud.openworkflow.sdk.impl.WorkflowApplication; +import cloud.openworkflow.sdk.impl.WorkflowDefinition; +import cloud.openworkflow.sdk.impl.WorkflowDefinitionId; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.test.grpc.handlers.PersonUnaryHandler; +import cloud.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; import io.grpc.Server; import io.grpc.ServerBuilder; import java.io.IOException; @@ -32,15 +41,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.fluent.spec.WorkflowBuilder; -import org.openworkflow.sdk.impl.WorkflowApplication; -import org.openworkflow.sdk.impl.WorkflowDefinition; -import org.openworkflow.sdk.impl.WorkflowDefinitionId; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.test.grpc.handlers.PersonUnaryHandler; -import org.openworkflow.sdk.impl.test.junit.DisabledIfProtocUnavailable; @DisabledIfProtocUnavailable public class GrpcUnaryTest { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java similarity index 86% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java index 8dd205673..e6a3206ba 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorBiDiStreamingHandler.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc.handlers; +package cloud.openworkflow.sdk.impl.test.grpc.handlers; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.BiDirectionalStreamingGrpc.BiDirectionalStreamingImplBase; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; import io.grpc.stub.StreamObserver; -import org.openworkflow.sdk.impl.executors.grpc.contributors.BiDirectionalStreamingGrpc.BiDirectionalStreamingImplBase; -import org.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; public class ContributorBiDiStreamingHandler extends BiDirectionalStreamingImplBase { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java similarity index 90% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java index d3819ff54..6c556a0e8 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorClientStreamingHandler.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc.handlers; +package cloud.openworkflow.sdk.impl.test.grpc.handlers; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.ClientStreamingGrpc.ClientStreamingImplBase; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; import io.grpc.stub.StreamObserver; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.LongAdder; -import org.openworkflow.sdk.impl.executors.grpc.contributors.ClientStreamingGrpc.ClientStreamingImplBase; -import org.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; public class ContributorClientStreamingHandler extends ClientStreamingImplBase { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java similarity index 84% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java index 2ae9c42d1..9ef95c124 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorServerStreamingHandler.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc.handlers; +package cloud.openworkflow.sdk.impl.test.grpc.handlers; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.ServerStreamingGrpc.ServerStreamingImplBase; import io.grpc.stub.StreamObserver; -import org.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; -import org.openworkflow.sdk.impl.executors.grpc.contributors.ServerStreamingGrpc.ServerStreamingImplBase; public class ContributorServerStreamingHandler extends ServerStreamingImplBase { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java similarity index 82% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java index 66a081e2f..b452c4ef3 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/ContributorUnaryArgsExprHandler.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc.handlers; +package cloud.openworkflow.sdk.impl.test.grpc.handlers; -import static org.openworkflow.sdk.impl.executors.grpc.contributors.UnaryArgsExprGrpc.UnaryArgsExprImplBase; +import static cloud.openworkflow.sdk.impl.executors.grpc.contributors.UnaryArgsExprGrpc.UnaryArgsExprImplBase; +import cloud.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; import io.grpc.stub.StreamObserver; -import org.openworkflow.sdk.impl.executors.grpc.contributors.Contributors; public class ContributorUnaryArgsExprHandler extends UnaryArgsExprImplBase { diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java index 11450d6f8..1a448e4ac 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/grpc/handlers/PersonUnaryHandler.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.grpc.handlers; +package cloud.openworkflow.sdk.impl.test.grpc.handlers; import io.grpc.stub.StreamObserver; import person.PersonGrpc.PersonImplBase; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java similarity index 97% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java index 6ae46d198..d48b88f12 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/BinaryCheckUtil.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.junit; +package cloud.openworkflow.sdk.impl.test.junit; import java.io.IOException; import java.util.concurrent.ConcurrentHashMap; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java index 107c5760a..f6fa85b1c 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/DisabledIfProtocUnavailable.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.junit; +package cloud.openworkflow.sdk.impl.test.junit; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java similarity index 95% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java index 86ab111a5..741e96d5f 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/DisabledIfPythonUnavailable.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.junit; +package cloud.openworkflow.sdk.impl.test.junit; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java similarity index 93% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java index 426710e05..8a414360b 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/ProtocCheckCondition.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.junit; +package cloud.openworkflow.sdk.impl.test.junit; -import static org.openworkflow.sdk.impl.test.junit.BinaryCheckUtil.isBinaryAvailable; +import static cloud.openworkflow.sdk.impl.test.junit.BinaryCheckUtil.isBinaryAvailable; import com.github.os72.protocjar.Protoc; import org.junit.jupiter.api.extension.ConditionEvaluationResult; diff --git a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java similarity index 91% rename from impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java rename to impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java index 97da682d0..0ed84907f 100644 --- a/impl/test/src/test/java/org/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java +++ b/impl/test/src/test/java/cloud/openworkflow/sdk/impl/test/junit/PythonCheckCondition.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.test.junit; +package cloud.openworkflow.sdk.impl.test.junit; -import static org.openworkflow.sdk.impl.test.junit.BinaryCheckUtil.isBinaryAvailable; +import static cloud.openworkflow.sdk.impl.test.junit.BinaryCheckUtil.isBinaryAvailable; import org.junit.jupiter.api.extension.ConditionEvaluationResult; import org.junit.jupiter.api.extension.ExecutionCondition; diff --git a/impl/test/src/test/resources/workflows-samples/grpc/proto/contributors.proto b/impl/test/src/test/resources/workflows-samples/grpc/proto/contributors.proto index 26e0e390d..195d8adfd 100644 --- a/impl/test/src/test/resources/workflows-samples/grpc/proto/contributors.proto +++ b/impl/test/src/test/resources/workflows-samples/grpc/proto/contributors.proto @@ -1,6 +1,6 @@ syntax = "proto2"; -package org.openworkflow.sdk.impl.executors.grpc.contributors; +package cloud.openworkflow.sdk.impl.executors.grpc.contributors; message AddContributionRequest { required string github = 1; diff --git a/impl/validation/pom.xml b/impl/validation/pom.xml index d22575295..d4af2ac1e 100644 --- a/impl/validation/pom.xml +++ b/impl/validation/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl 8.0.0-SNAPSHOT @@ -13,15 +13,15 @@ json-schema-validator - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-core - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-json diff --git a/impl/validation/src/main/java/org/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java b/impl/validation/src/main/java/cloud/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java similarity index 93% rename from impl/validation/src/main/java/org/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java rename to impl/validation/src/main/java/cloud/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java index 164e3de46..1f74fc6d7 100644 --- a/impl/validation/src/main/java/org/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java +++ b/impl/validation/src/main/java/cloud/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidator.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson.schema; +package cloud.openworkflow.sdk.impl.jackson.schema; +import cloud.openworkflow.sdk.impl.schema.AbstractSchemaValidator; import com.networknt.schema.Error; import com.networknt.schema.Schema; import com.networknt.schema.SchemaRegistry; @@ -22,7 +23,6 @@ import java.util.Collection; import java.util.Optional; import java.util.stream.Collectors; -import org.openworkflow.sdk.impl.schema.AbstractSchemaValidator; import tools.jackson.databind.JsonNode; public class JsonSchemaValidator extends AbstractSchemaValidator { diff --git a/impl/validation/src/main/java/org/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java b/impl/validation/src/main/java/cloud/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java similarity index 76% rename from impl/validation/src/main/java/org/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java rename to impl/validation/src/main/java/cloud/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java index 6fd81d1ba..fae27e161 100644 --- a/impl/validation/src/main/java/org/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java +++ b/impl/validation/src/main/java/cloud/openworkflow/sdk/impl/jackson/schema/JsonSchemaValidatorFactory.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.impl.jackson.schema; +package cloud.openworkflow.sdk.impl.jackson.schema; -import org.openworkflow.sdk.api.WorkflowFormat; -import org.openworkflow.sdk.api.types.SchemaInline; -import org.openworkflow.sdk.impl.jackson.JsonUtils; -import org.openworkflow.sdk.impl.schema.SchemaValidator; -import org.openworkflow.sdk.impl.schema.SchemaValidatorFactory; +import cloud.openworkflow.sdk.api.WorkflowFormat; +import cloud.openworkflow.sdk.api.types.SchemaInline; +import cloud.openworkflow.sdk.impl.jackson.JsonUtils; +import cloud.openworkflow.sdk.impl.schema.SchemaValidator; +import cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory; public class JsonSchemaValidatorFactory implements SchemaValidatorFactory { diff --git a/impl/validation/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory b/impl/validation/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory new file mode 100644 index 000000000..05eea50ca --- /dev/null +++ b/impl/validation/src/main/resources/META-INF/services/cloud.openworkflow.sdk.impl.schema.SchemaValidatorFactory @@ -0,0 +1 @@ +cloud.openworkflow.sdk.impl.jackson.schema.JsonSchemaValidatorFactory \ No newline at end of file diff --git a/impl/validation/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.schema.SchemaValidatorFactory b/impl/validation/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.schema.SchemaValidatorFactory deleted file mode 100644 index c1354eba0..000000000 --- a/impl/validation/src/main/resources/META-INF/services/org.openworkflow.sdk.impl.schema.SchemaValidatorFactory +++ /dev/null @@ -1 +0,0 @@ -org.openworkflow.sdk.impl.jackson.schema.JsonSchemaValidatorFactory \ No newline at end of file diff --git a/mermaid/README.md b/mermaid/README.md index 0e1287a76..287bc1446 100644 --- a/mermaid/README.md +++ b/mermaid/README.md @@ -32,7 +32,7 @@ Add the dependency to the module where you want to render diagrams. ```xml - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-mermaid YOUR_VERSION @@ -44,7 +44,7 @@ Add the dependency to the module where you want to render diagrams.

Gradle (Kotlin) ```kotlin -implementation("org.openworkflow.sdk:openworkflow-mermaid:YOUR_VERSION") +implementation("cloud.openworkflow.sdk:openworkflow-mermaid:YOUR_VERSION") ``` @@ -58,8 +58,8 @@ implementation("org.openworkflow.sdk:openworkflow-mermaid:YOUR_VERSION") ### 1) From a `Workflow` instance ```java -import org.openworkflow.sdk.api.types.Workflow; -import org.openworkflow.sdk.mermaid.Mermaid; +import cloud.openworkflow.sdk.api.types.Workflow; +import cloud.openworkflow.sdk.mermaid.Mermaid; Workflow wf = /* build or load your workflow */; String mermaid = new Mermaid().from(wf); @@ -70,7 +70,7 @@ System.out.println(mermaid); ### 2) From a YAML on the classpath ```java -import org.openworkflow.sdk.mermaid.Mermaid; +import cloud.openworkflow.sdk.mermaid.Mermaid; String mermaid = new Mermaid().from("workflows/sample.yaml"); ``` @@ -99,8 +99,8 @@ Use the built-in `MermaidInk` helper (HTTP call to mermaid.ink): ```java import java.nio.file.Path; -import org.openworkflow.sdk.mermaid.Mermaid; -import org.openworkflow.sdk.mermaid.MermaidInk; +import cloud.openworkflow.sdk.mermaid.Mermaid; +import cloud.openworkflow.sdk.mermaid.MermaidInk; String mermaid = new Mermaid().from("workflows/sample.yaml"); diff --git a/mermaid/pom.xml b/mermaid/pom.xml index 11fe8eaa5..ca310dd86 100644 --- a/mermaid/pom.xml +++ b/mermaid/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT @@ -19,11 +19,11 @@ - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api @@ -54,7 +54,7 @@ test
- org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-impl-test ${project.version} tests diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/CallNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/CallNode.java similarity index 93% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/CallNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/CallNode.java index 8e21e954c..6ab2c11a9 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/CallNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/CallNode.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.CallHTTP; -import org.openworkflow.sdk.api.types.CallTask; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.CallHTTP; +import cloud.openworkflow.sdk.api.types.CallTask; +import cloud.openworkflow.sdk.api.types.TaskItem; public class CallNode extends TaskNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/DefaultNodeRenderer.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/DefaultNodeRenderer.java similarity index 97% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/DefaultNodeRenderer.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/DefaultNodeRenderer.java index dcabb0ea6..139193fa7 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/DefaultNodeRenderer.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/DefaultNodeRenderer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; public class DefaultNodeRenderer implements NodeRenderer { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Edge.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Edge.java similarity index 98% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/Edge.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Edge.java index 0bc7007ba..b34547461 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Edge.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Edge.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; import java.util.Objects; diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/EmitNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/EmitNode.java similarity index 88% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/EmitNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/EmitNode.java index 0f4e93be0..90e610d94 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/EmitNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/EmitNode.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.EmitTask; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.EmitTask; +import cloud.openworkflow.sdk.api.types.TaskItem; public class EmitNode extends TaskNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/EndpointStringify.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/EndpointStringify.java similarity index 92% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/EndpointStringify.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/EndpointStringify.java index 8dd541ad1..bcf9b8da4 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/EndpointStringify.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/EndpointStringify.java @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; - +package cloud.openworkflow.sdk.mermaid; + +import cloud.openworkflow.sdk.api.types.AuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyReference; +import cloud.openworkflow.sdk.api.types.AuthenticationPolicyUnion; +import cloud.openworkflow.sdk.api.types.Endpoint; +import cloud.openworkflow.sdk.api.types.EndpointConfiguration; +import cloud.openworkflow.sdk.api.types.EndpointUri; +import cloud.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; +import cloud.openworkflow.sdk.api.types.UriTemplate; import java.net.URI; -import org.openworkflow.sdk.api.types.AuthenticationPolicy; -import org.openworkflow.sdk.api.types.AuthenticationPolicyReference; -import org.openworkflow.sdk.api.types.AuthenticationPolicyUnion; -import org.openworkflow.sdk.api.types.Endpoint; -import org.openworkflow.sdk.api.types.EndpointConfiguration; -import org.openworkflow.sdk.api.types.EndpointUri; -import org.openworkflow.sdk.api.types.ReferenceableAuthenticationPolicy; -import org.openworkflow.sdk.api.types.UriTemplate; public final class EndpointStringify { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/ForNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ForNode.java similarity index 93% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/ForNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ForNode.java index 19e1170f2..016948b08 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/ForNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ForNode.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.ForTask; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.ForTask; +import cloud.openworkflow.sdk.api.types.TaskItem; public class ForNode extends TaskSubgraphNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/ForkNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ForkNode.java similarity index 94% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/ForkNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ForkNode.java index 5e2e1399c..09e399ba8 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/ForkNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ForkNode.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.types.ForkTask; +import cloud.openworkflow.sdk.api.types.TaskItem; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import org.openworkflow.sdk.api.types.ForkTask; -import org.openworkflow.sdk.api.types.TaskItem; public class ForkNode extends TaskSubgraphNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Ids.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Ids.java similarity index 96% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/Ids.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Ids.java index 45867d87b..dece85993 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Ids.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Ids.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.types.TaskItem; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.text.Normalizer; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.atomic.AtomicInteger; -import org.openworkflow.sdk.api.types.TaskItem; public final class Ids { private final String salt = Integer.toString(ThreadLocalRandom.current().nextInt(), 36); diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/IteratorNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/IteratorNode.java similarity index 93% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/IteratorNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/IteratorNode.java index ecc714bda..cfb8c907c 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/IteratorNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/IteratorNode.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.SubscriptionIterator; +import cloud.openworkflow.sdk.api.types.SubscriptionIterator; public class IteratorNode extends SubgraphNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/ListenNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ListenNode.java similarity index 94% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/ListenNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ListenNode.java index 502b018e5..7a69c7596 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/ListenNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/ListenNode.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.types.ListenTask; +import cloud.openworkflow.sdk.api.types.ListenTo; +import cloud.openworkflow.sdk.api.types.TaskItem; import java.util.ArrayList; import java.util.List; -import org.openworkflow.sdk.api.types.ListenTask; -import org.openworkflow.sdk.api.types.ListenTo; -import org.openworkflow.sdk.api.types.TaskItem; public class ListenNode extends TaskSubgraphNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Mermaid.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Mermaid.java similarity index 92% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/Mermaid.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Mermaid.java index 72e451009..2e46f205b 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Mermaid.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Mermaid.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.WorkflowReader; +import cloud.openworkflow.sdk.api.types.Workflow; import java.io.IOException; import java.util.Map; -import org.openworkflow.sdk.api.WorkflowReader; -import org.openworkflow.sdk.api.types.Workflow; /** Main entrypoint to generate a Mermaid representation of a Workflow definition. */ public class Mermaid { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidGraph.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidGraph.java similarity index 92% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidGraph.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidGraph.java index 3367d5e40..485445ff5 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidGraph.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidGraph.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.types.CallTask; +import cloud.openworkflow.sdk.api.types.FlowDirective; +import cloud.openworkflow.sdk.api.types.FlowDirectiveEnum; +import cloud.openworkflow.sdk.api.types.TaskBase; +import cloud.openworkflow.sdk.api.types.TaskItem; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import org.openworkflow.sdk.api.types.CallTask; -import org.openworkflow.sdk.api.types.FlowDirective; -import org.openworkflow.sdk.api.types.FlowDirectiveEnum; -import org.openworkflow.sdk.api.types.TaskBase; -import org.openworkflow.sdk.api.types.TaskItem; final class MermaidGraph { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidInk.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidInk.java similarity index 98% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidInk.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidInk.java index f0375b31f..fbec0ddf7 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidInk.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidInk.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; import java.io.ByteArrayOutputStream; import java.io.IOException; diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidRenderer.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidRenderer.java similarity index 95% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidRenderer.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidRenderer.java index 860ce2fe9..89ecb5b9b 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/MermaidRenderer.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/MermaidRenderer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; import java.util.Map; diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Node.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Node.java similarity index 98% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/Node.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Node.java index 5fd8950a6..4a899a1a9 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/Node.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/Node.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; import java.io.Serializable; import java.util.Collections; diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeBuilder.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeBuilder.java similarity index 83% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeBuilder.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeBuilder.java index 61b818a1a..b974098b8 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeBuilder.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeBuilder.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.CallTask; -import org.openworkflow.sdk.api.types.DoTask; -import org.openworkflow.sdk.api.types.EmitTask; -import org.openworkflow.sdk.api.types.ForTask; -import org.openworkflow.sdk.api.types.ForkTask; -import org.openworkflow.sdk.api.types.ListenTask; -import org.openworkflow.sdk.api.types.RaiseTask; -import org.openworkflow.sdk.api.types.RunTask; -import org.openworkflow.sdk.api.types.SetTask; -import org.openworkflow.sdk.api.types.SwitchTask; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.TryTask; -import org.openworkflow.sdk.api.types.WaitTask; +import cloud.openworkflow.sdk.api.types.CallTask; +import cloud.openworkflow.sdk.api.types.DoTask; +import cloud.openworkflow.sdk.api.types.EmitTask; +import cloud.openworkflow.sdk.api.types.ForTask; +import cloud.openworkflow.sdk.api.types.ForkTask; +import cloud.openworkflow.sdk.api.types.ListenTask; +import cloud.openworkflow.sdk.api.types.RaiseTask; +import cloud.openworkflow.sdk.api.types.RunTask; +import cloud.openworkflow.sdk.api.types.SetTask; +import cloud.openworkflow.sdk.api.types.SwitchTask; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TryTask; +import cloud.openworkflow.sdk.api.types.WaitTask; public final class NodeBuilder { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeRenderer.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeRenderer.java similarity index 96% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeRenderer.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeRenderer.java index 92e46b5fb..99b67c412 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeRenderer.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeRenderer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; public interface NodeRenderer { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeType.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeType.java similarity index 96% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeType.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeType.java index 29b088281..dc3c57c46 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/NodeType.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/NodeType.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; public enum NodeType { RECT("rect"), diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/RaiseNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/RaiseNode.java similarity index 92% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/RaiseNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/RaiseNode.java index 4c28329e6..8d6a70eb8 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/RaiseNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/RaiseNode.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TaskItem; public class RaiseNode extends TaskNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/RunNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/RunNode.java similarity index 92% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/RunNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/RunNode.java index 404f7d253..b65683773 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/RunNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/RunNode.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.RunTask; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.RunTask; +import cloud.openworkflow.sdk.api.types.TaskItem; public class RunNode extends TaskNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/SubgraphNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SubgraphNode.java similarity index 95% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/SubgraphNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SubgraphNode.java index e5ca3ce8b..6bc48327d 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/SubgraphNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SubgraphNode.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; public class SubgraphNode extends Node { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java similarity index 97% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java index 96123a74b..468161bde 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SubgraphNodeRenderer.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; public class SubgraphNodeRenderer extends DefaultNodeRenderer implements NodeRenderer { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/SwitchNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SwitchNode.java similarity index 93% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/SwitchNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SwitchNode.java index 9d7188006..5dee9bde6 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/SwitchNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/SwitchNode.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.SwitchItem; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.SwitchItem; +import cloud.openworkflow.sdk.api.types.TaskItem; public class SwitchNode extends TaskNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/TaskNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TaskNode.java similarity index 90% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/TaskNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TaskNode.java index 2e9016980..a2ad4a392 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/TaskNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TaskNode.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TaskItem; public class TaskNode extends Node { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/TaskSubgraphNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TaskSubgraphNode.java similarity index 93% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/TaskSubgraphNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TaskSubgraphNode.java index 1eb3bcdef..bebb0555c 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/TaskSubgraphNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TaskSubgraphNode.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.types.TaskItem; import java.util.List; -import org.openworkflow.sdk.api.types.TaskItem; public class TaskSubgraphNode extends TaskNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/TryCatchNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TryCatchNode.java similarity index 94% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/TryCatchNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TryCatchNode.java index 8a10718e4..11b287673 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/TryCatchNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/TryCatchNode.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; -import org.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TaskItem; public class TryCatchNode extends TaskSubgraphNode { diff --git a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/WaitNode.java b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/WaitNode.java similarity index 94% rename from mermaid/src/main/java/org/openworkflow/sdk/mermaid/WaitNode.java rename to mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/WaitNode.java index 1f60f08c3..63a0ea6e4 100644 --- a/mermaid/src/main/java/org/openworkflow/sdk/mermaid/WaitNode.java +++ b/mermaid/src/main/java/cloud/openworkflow/sdk/mermaid/WaitNode.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; +import cloud.openworkflow.sdk.api.types.DurationInline; +import cloud.openworkflow.sdk.api.types.TaskItem; +import cloud.openworkflow.sdk.api.types.TimeoutAfter; import java.util.Objects; -import org.openworkflow.sdk.api.types.DurationInline; -import org.openworkflow.sdk.api.types.TaskItem; -import org.openworkflow.sdk.api.types.TimeoutAfter; public class WaitNode extends TaskNode { diff --git a/mermaid/src/test/java/org/openworkflow/sdk/mermaid/ClasspathYamlFinder.java b/mermaid/src/test/java/cloud/openworkflow/sdk/mermaid/ClasspathYamlFinder.java similarity index 99% rename from mermaid/src/test/java/org/openworkflow/sdk/mermaid/ClasspathYamlFinder.java rename to mermaid/src/test/java/cloud/openworkflow/sdk/mermaid/ClasspathYamlFinder.java index 74c4ff62c..1b1c8b8cc 100644 --- a/mermaid/src/test/java/org/openworkflow/sdk/mermaid/ClasspathYamlFinder.java +++ b/mermaid/src/test/java/cloud/openworkflow/sdk/mermaid/ClasspathYamlFinder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; import java.io.File; import java.io.IOException; diff --git a/mermaid/src/test/java/org/openworkflow/sdk/mermaid/MermaidSmokeTest.java b/mermaid/src/test/java/cloud/openworkflow/sdk/mermaid/MermaidSmokeTest.java similarity index 91% rename from mermaid/src/test/java/org/openworkflow/sdk/mermaid/MermaidSmokeTest.java rename to mermaid/src/test/java/cloud/openworkflow/sdk/mermaid/MermaidSmokeTest.java index 3496a4ad8..f2133f88f 100644 --- a/mermaid/src/test/java/org/openworkflow/sdk/mermaid/MermaidSmokeTest.java +++ b/mermaid/src/test/java/cloud/openworkflow/sdk/mermaid/MermaidSmokeTest.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.mermaid; +package cloud.openworkflow.sdk.mermaid; import static org.assertj.core.api.Assertions.assertThat; +import cloud.openworkflow.sdk.api.WorkflowReader; import java.io.IOException; import java.util.stream.Stream; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import org.openworkflow.sdk.api.WorkflowReader; class MermaidSmokeTest { @@ -46,7 +46,7 @@ static Stream yamlSamples() throws IOException { @MethodSource("yamlSamples") void rendersBasicMermaidStructure(String resourcePath) throws Exception { var wf = WorkflowReader.readWorkflowFromClasspath(resourcePath); - var mermaid = new org.openworkflow.sdk.mermaid.Mermaid().from(wf); + var mermaid = new cloud.openworkflow.sdk.mermaid.Mermaid().from(wf); assertThat(mermaid).isNotBlank().contains("flowchart TD"); } } diff --git a/pom.xml b/pom.xml index a611937dc..9f8e0af0b 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT pom @@ -165,22 +165,22 @@ test - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-api ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-serialization ${project.version} - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-annotations ${project.version} diff --git a/serialization/pom.xml b/serialization/pom.xml index 450c68491..41e027eb0 100644 --- a/serialization/pom.xml +++ b/serialization/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ Open Workflow :: Serialization - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-annotations ${project.version} diff --git a/serialization/src/main/java/org/openworkflow/sdk/serialization/DeserializeHelper.java b/serialization/src/main/java/cloud/openworkflow/sdk/serialization/DeserializeHelper.java similarity index 97% rename from serialization/src/main/java/org/openworkflow/sdk/serialization/DeserializeHelper.java rename to serialization/src/main/java/cloud/openworkflow/sdk/serialization/DeserializeHelper.java index fcb000aef..1a187c584 100644 --- a/serialization/src/main/java/org/openworkflow/sdk/serialization/DeserializeHelper.java +++ b/serialization/src/main/java/cloud/openworkflow/sdk/serialization/DeserializeHelper.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.serialization; +package cloud.openworkflow.sdk.serialization; +import cloud.openworkflow.sdk.annotations.OneOfSetter; import jakarta.validation.ConstraintViolationException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; -import org.openworkflow.sdk.annotations.OneOfSetter; import tools.jackson.core.JacksonException; import tools.jackson.core.JsonParser; import tools.jackson.databind.DatabindException; diff --git a/serialization/src/main/java/org/openworkflow/sdk/serialization/SerializeHelper.java b/serialization/src/main/java/cloud/openworkflow/sdk/serialization/SerializeHelper.java similarity index 88% rename from serialization/src/main/java/org/openworkflow/sdk/serialization/SerializeHelper.java rename to serialization/src/main/java/cloud/openworkflow/sdk/serialization/SerializeHelper.java index 67c3c9eb1..ed279c119 100644 --- a/serialization/src/main/java/org/openworkflow/sdk/serialization/SerializeHelper.java +++ b/serialization/src/main/java/cloud/openworkflow/sdk/serialization/SerializeHelper.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.serialization; +package cloud.openworkflow.sdk.serialization; -import org.openworkflow.sdk.annotations.OneOfValueProvider; +import cloud.openworkflow.sdk.annotations.OneOfValueProvider; import tools.jackson.core.JsonGenerator; public class SerializeHelper { diff --git a/types/pom.xml b/types/pom.xml index 2018ab162..54be82e86 100644 --- a/types/pom.xml +++ b/types/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-parent 8.0.0-SNAPSHOT @@ -9,7 +9,7 @@ openworkflow-types - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-annotations @@ -29,7 +29,7 @@ https://raw.githubusercontent.com/serverlessworkflow/specification/main/schema/workflow.yaml --> yamlschema - org.openworkflow.sdk.api.types + cloud.openworkflow.sdk.api.types ${project.build.directory}/generated-sources/src/main/java true true @@ -46,12 +46,12 @@ true none true - org.openworkflow.sdk.generator.UnreferencedFactory - org.openworkflow.sdk.generator.CustomAnnotator + cloud.openworkflow.sdk.generator.UnreferencedFactory + cloud.openworkflow.sdk.generator.CustomAnnotator - org.openworkflow.sdk + cloud.openworkflow.sdk openworkflow-types-generator ${project.version} diff --git a/types/src/main/java/org/openworkflow/sdk/types/Defaults.java b/types/src/main/java/cloud/openworkflow/sdk/types/Defaults.java similarity index 95% rename from types/src/main/java/org/openworkflow/sdk/types/Defaults.java rename to types/src/main/java/cloud/openworkflow/sdk/types/Defaults.java index f1ed54db5..d4f7fdf9b 100644 --- a/types/src/main/java/org/openworkflow/sdk/types/Defaults.java +++ b/types/src/main/java/cloud/openworkflow/sdk/types/Defaults.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.types; +package cloud.openworkflow.sdk.types; public class Defaults { diff --git a/types/src/main/java/org/openworkflow/sdk/types/Errors.java b/types/src/main/java/cloud/openworkflow/sdk/types/Errors.java similarity index 99% rename from types/src/main/java/org/openworkflow/sdk/types/Errors.java rename to types/src/main/java/cloud/openworkflow/sdk/types/Errors.java index f0cbbe588..e318bf802 100644 --- a/types/src/main/java/org/openworkflow/sdk/types/Errors.java +++ b/types/src/main/java/cloud/openworkflow/sdk/types/Errors.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.openworkflow.sdk.types; +package cloud.openworkflow.sdk.types; import java.net.URI; import java.util.Objects;