diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 44e5e149e..30bdef8eb 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -14,4 +14,4 @@ jobs: uses: codecov/codecov-action@v4 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - slug: uber/cadence-java-client \ No newline at end of file + slug: cadence-workflow/cadence-java-client diff --git a/src/test/java/com/uber/cadence/internal/compatibility/EnumMapperTest.java b/src/test/java/com/uber/cadence/internal/compatibility/EnumMapperTest.java index 131a3579f..18040bee2 100644 --- a/src/test/java/com/uber/cadence/internal/compatibility/EnumMapperTest.java +++ b/src/test/java/com/uber/cadence/internal/compatibility/EnumMapperTest.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.internal.compatibility; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/uber/cadence/internal/compatibility/thrift/HistoryMapperEventTest.java b/src/test/java/com/uber/cadence/internal/compatibility/thrift/HistoryMapperEventTest.java index 52d80c191..37fb3caf1 100644 --- a/src/test/java/com/uber/cadence/internal/compatibility/thrift/HistoryMapperEventTest.java +++ b/src/test/java/com/uber/cadence/internal/compatibility/thrift/HistoryMapperEventTest.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.internal.compatibility.thrift; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/com/uber/cadence/testUtils/CadenceTestContext.java b/src/test/java/com/uber/cadence/testUtils/CadenceTestContext.java index 67f40c08c..a9976169b 100644 --- a/src/test/java/com/uber/cadence/testUtils/CadenceTestContext.java +++ b/src/test/java/com/uber/cadence/testUtils/CadenceTestContext.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.testUtils; import com.uber.cadence.FeatureFlags; diff --git a/src/test/java/com/uber/cadence/testUtils/CadenceTestRule.java b/src/test/java/com/uber/cadence/testUtils/CadenceTestRule.java index 6d60f0daf..710feaaf6 100644 --- a/src/test/java/com/uber/cadence/testUtils/CadenceTestRule.java +++ b/src/test/java/com/uber/cadence/testUtils/CadenceTestRule.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.testUtils; import com.uber.cadence.activity.ActivityOptions; diff --git a/src/test/java/com/uber/cadence/testUtils/RequiresDockerService.java b/src/test/java/com/uber/cadence/testUtils/RequiresDockerService.java index 49088e9fa..a4f9a369a 100644 --- a/src/test/java/com/uber/cadence/testUtils/RequiresDockerService.java +++ b/src/test/java/com/uber/cadence/testUtils/RequiresDockerService.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.testUtils; import java.lang.annotation.ElementType; diff --git a/src/test/java/com/uber/cadence/testUtils/RequiresTestService.java b/src/test/java/com/uber/cadence/testUtils/RequiresTestService.java index 6a4580893..7cba4826d 100644 --- a/src/test/java/com/uber/cadence/testUtils/RequiresTestService.java +++ b/src/test/java/com/uber/cadence/testUtils/RequiresTestService.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.testUtils; import java.lang.annotation.ElementType; diff --git a/src/test/java/com/uber/cadence/testUtils/TestEnvironment.java b/src/test/java/com/uber/cadence/testUtils/TestEnvironment.java index ed20804f9..a12a07526 100644 --- a/src/test/java/com/uber/cadence/testUtils/TestEnvironment.java +++ b/src/test/java/com/uber/cadence/testUtils/TestEnvironment.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.testUtils; public final class TestEnvironment { diff --git a/src/test/java/com/uber/cadence/workflow/CrossDomainWorkflowTest.java b/src/test/java/com/uber/cadence/workflow/CrossDomainWorkflowTest.java index ed60d3891..0bf7e94c3 100644 --- a/src/test/java/com/uber/cadence/workflow/CrossDomainWorkflowTest.java +++ b/src/test/java/com/uber/cadence/workflow/CrossDomainWorkflowTest.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.workflow; import static com.uber.cadence.testUtils.TestEnvironment.DOMAIN2; diff --git a/src/test/java/com/uber/cadence/workflow/WorkflowReplayTest.java b/src/test/java/com/uber/cadence/workflow/WorkflowReplayTest.java index 3406c075b..c1f84bf5f 100644 --- a/src/test/java/com/uber/cadence/workflow/WorkflowReplayTest.java +++ b/src/test/java/com/uber/cadence/workflow/WorkflowReplayTest.java @@ -1,3 +1,17 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *

Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *

http://aws.amazon.com/apache2.0 + * + *

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ package com.uber.cadence.workflow; import com.uber.cadence.testing.WorkflowReplayer;