Skip to content

Commit 2dc7d01

Browse files
committed
[Fix #1676] Copilot comments
Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>
1 parent cdadb02 commit 2dc7d01

59 files changed

Lines changed: 76 additions & 75 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ try (InputStream in = new FileInputStream("simple.yaml")) {
121121
}
122122
```
123123

124-
For additional reading helper methods, including the one to read a workflow definition from classpath, check [WorkflowReader](api/src/main/java/io/serverlessworkflow/api/WorkflowReader.java) class.
124+
For additional reading helper methods, including the one to read a workflow definition from classpath, check [WorkflowReader](api/src/main/java/org/openworkflow/api/WorkflowReader.java) class.
125125

126126
### Writing workflow definition to a JSON/YAML target
127127

@@ -134,7 +134,7 @@ try (OutputStream out = new FileOutputStream("simple.json")) {
134134
}
135135

136136
```
137-
For additional writing helper methods, check [WorkflowWriter](api/src/main/java/io/serverlessworkflow/api/WorkflowWriter.java) class.
137+
For additional writing helper methods, check [WorkflowWriter](api/src/main/java/org/openworkflow/api/WorkflowWriter.java) class.
138138

139139
### Reference implementation
140140

‎api/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<plugins>
8383
<plugin>
8484
<groupId>org.openworkflow</groupId>
85-
<artifactId>serverless-workflow-jackson-generator</artifactId>
85+
<artifactId>openworkflow-jackson-generator</artifactId>
8686
<version>${project.version}</version>
8787
<dependencies />
8888
<configuration>

‎api/src/main/java/org/openworkflow/api/WorkflowFormat.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import java.nio.file.Path;
2020

2121
/**
22-
* Enum representing the supported formats for Serverless Workflow definitions.
22+
* Enum representing the supported formats for Open Workflow definitions.
2323
*
2424
* <p>Provides utility methods to determine the format based on file name or path, and to access the
2525
* corresponding {@link ObjectMapper} for serialization and deserialization.

‎api/src/main/java/org/openworkflow/api/WorkflowReader.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import java.nio.file.Path;
2424
import org.openworkflow.api.types.Workflow;
2525

26-
/** Utility class for reading and parsing Serverless Workflow definitions from various sources. */
26+
/** Utility class for reading and parsing Open Workflow definitions from various sources. */
2727
public class WorkflowReader {
2828

2929
/**

‎api/src/main/java/org/openworkflow/api/WorkflowWriter.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.openworkflow.api.types.Workflow;
2525

2626
/**
27-
* Utility class for writing Serverless Workflow definitions to various outputs and formats.
27+
* Utility class for writing Open Workflow definitions to various outputs and formats.
2828
*
2929
* <p>This class provides static methods to serialize {@link Workflow} objects to files, streams,
3030
* writers, byte arrays, or strings in either JSON or YAML format. The format is determined by the

‎api/src/test/resources/features/raise.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ do:
88
raise:
99
error:
1010
status: 400
11-
type: https://serverlessworkflow.io/errors/types/compliance
11+
type: https://openworkflow.cloud/errors/types/compliance
1212
title: Compliance Error
1313
instance: raiseError

‎api/src/test/resources/features/try.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ do:
1515
catch:
1616
errors:
1717
with:
18-
type: https://serverlessworkflow.io/dsl/errors/types/communication
18+
type: https://openworkflow.cloud/dsl/errors/types/communication
1919
status: 404
2020
as: err
2121
do:

‎bom/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<artifactId>openworkflow-bom</artifactId>
1111
<packaging>pom</packaging>
1212
<name>Open Workflow :: BOM</name>
13-
<description>Bill of Materials for Serverless Workflow Java SDK</description>
13+
<description>Bill of Materials for Open Workflow Java SDK</description>
1414

1515
<build>
1616
<plugins>

‎fluent/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
| Module | Purpose |
1010
| -------------- | --------------------------------------------------------------------------------------------- |
11-
| **spec** | Core DSL implementing the [Open Workflow Specification](https://github.com/serverlessworkflow/specification). Purely compliant fluent API. |
11+
| **spec** | Core DSL implementing the [Open Workflow Specification](https://github.com/open-workflow-specification/specification). Purely compliant fluent API. |
1212
| **func** | Java‑centric “functional” DSL on top of **spec**: adds `Function<>`/`Predicate<>` support, `callFn` for Java method calls, and richer flow controls. |
1313
| **agentic** | **Experimental** proof‑of‑concept DSL built on **func** for LangChain4j agentic workflows: `agent`, `sequence`, `loop`, `parallel`, etc. |
1414

@@ -21,7 +21,7 @@ Add the modules you need to your Maven `pom.xml` (replace versions as appropriat
2121
```xml
2222
<!--
2323
Replace ${version.org.openworkflow} with the actual released version:
24-
https://github.com/serverlessworkflow/sdk-java/releases
24+
https://github.com/open-workflow-specification/sdk-java/releases
2525
-->
2626
<dependency>
2727
<groupId>org.openworkflow</groupId>

‎fluent/spec/src/main/java/org/openworkflow/fluent/spec/ListenTaskBuilder.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
package org.openworkflow.fluent.spec;
1717

1818
/**
19-
* Fluent builder for a "listen" task in a Serverless Workflow. Enforces exactly one consumption
20-
* strategy: one, all, or any.
19+
* Fluent builder for a "listen" task in a Open Workflow. Enforces exactly one consumption strategy:
20+
* one, all, or any.
2121
*/
2222
public class ListenTaskBuilder
2323
extends AbstractListenTaskBuilder<TaskItemListBuilder, ListenToBuilder> {

0 commit comments

Comments
 (0)