Skip to content

Conversation

@antmendoza
Copy link
Contributor

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:
Initial implementation for typescript sdk

Based in the specification v0.6. Only a few subset of definitions, I will continue working on it.

Special notes for reviewers:

Additional information (if needed):

@antmendoza antmendoza requested a review from tsurdilo as a code owner April 4, 2021 23:34
Signed-off-by: Antonio Mendoza Pérez <antonio.mendoza@bideaavant.com>
README.md Outdated

### Add as dependency to your project
```sh
npm install sdk-typescript
Copy link
Contributor Author

@antmendoza antmendoza Apr 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am assuming here that we are going to publish the package into npm (sdk-typescript or @serverlessworkflow/sdk-typescript, but this is not working yet.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, but let's leave this out until we deploy it there
+1 for @serverlessworkflow/sdk-typescript

Copy link
Contributor Author

@antmendoza antmendoza Apr 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense,
is it ok if I add a description on how to use the sdk as a dependency with npm-link?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure! thanks

To build the project and run tests locally:

```
git clone https://github.com/serverlessworkflow/sdk-typescript.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add second step of
"cd sdk-typescript" before the npm install...i know its obvious but just in case :)

README.md Outdated
# Serverless Workflow Specification - Typescript SDK

Provides (TODO: add specifics) for the [Serverless Workflow Specification](https://github.com/serverlessworkflow/specification)
Provides the Java API/SPI for the [Serverless Workflow Specification](https://github.com/serverlessworkflow/specification)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we maybe indicate that this is still WIP in the readme?
Per your comment it seems there is still some work to be completed at a later point in time?

Copy link
Contributor Author

@antmendoza antmendoza Apr 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is still work to do,

There is a WIP two lines below. Do you want me to be more explicit? I am ok doing it, just want to be sure.

  • replace Java for Typescript

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opps I missed that, sry. Yeah this is fine the way you have it.

@tsurdilo
Copy link
Contributor

tsurdilo commented Apr 5, 2021

@antmendoza this is really cool! thank you very much.
I left just some small comments.
Definitely let's get this in and then continue working on it.

Signed-off-by: Antonio Mendoza Pérez <antonio.mendoza@bideaavant.com>
@antmendoza
Copy link
Contributor Author

@tsurdilo I have updated the readme.md according to your comments, any issue just let me know.

Meanwhile I will continue adding functionality to cover the specification.

@tsurdilo tsurdilo merged commit 769dc0e into serverlessworkflow:main Apr 5, 2021
@antmendoza antmendoza deleted the initial-sdk branch April 17, 2021 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants