Skip to content

Enhancement. Reactive api rest for get SVG #216 #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 28, 2023

Conversation

davideduma
Copy link
Contributor

Signed-off-by: davideduma [email protected]

❤️

What this PR does / why we need it: Reactive api rest for get SVG

Special notes for reviewers:

Additional information (if needed):

@davideduma davideduma requested a review from tsurdilo as a code owner December 2, 2022 15:22
@tsurdilo
Copy link
Contributor

tsurdilo commented Dec 4, 2022

@davideduma thanks for the pr. can you give some more info on what it does?

@@ -0,0 +1,316 @@
#!/bin/sh
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good morning, yes that's right. the reason is beacause is a spring maven project.

@tsurdilo
Copy link
Contributor

tsurdilo commented Dec 4, 2022

Think most of files are missing our copyright. please add

@davideduma
Copy link
Contributor Author

@davideduma thanks for the pr. can you give some more info on what it does?

With this functionality. It is possible to get the SVG string through a API REST

image

@davideduma
Copy link
Contributor Author

Think most of files are missing our copyright. please add

Please give me a couple examples. i dont undestand

@tsurdilo
Copy link
Contributor

tsurdilo commented Dec 9, 2022

Hi, you can look at any source files in the repo, for example: https://github.com/serverlessworkflow/sdk-java/blob/main/api/src/main/java/io/serverlessworkflow/api/deserializers/AuthDefinitionDeserializer.java#L1-L15

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
Copy link

Choose a reason for hiding this comment

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

MissingSummary: A summary fragment is required; consider using the value of the @return block as a summary fragment instead.


Suggested change
@Builder(toBuilder = true)
Returns {@code this}.

ℹ️ Learn about @sonatype-lift commands

You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.

Command Usage
@sonatype-lift ignore Leave out the above finding from this PR
@sonatype-lift ignoreall Leave out all the existing findings from this PR
@sonatype-lift exclude <file|issue|path|tool> Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file

Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this suggestion cannot be applied. The above line is required.

/***
* Get image SVG from string.
* @param serverlessRequest
* @return
Copy link

Choose a reason for hiding this comment

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

EmptyBlockTag: A block tag (@param, @return, @throws, @deprecated) has an empty description. Block tags without descriptions don't add much value for future readers of the code; consider removing the tag entirely or adding a description.


Suggested change
* @return
*

ℹ️ Learn about @sonatype-lift commands

You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.

Command Usage
@sonatype-lift ignore Leave out the above finding from this PR
@sonatype-lift ignoreall Leave out all the existing findings from this PR
@sonatype-lift exclude <file|issue|path|tool> Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file

Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed issue


/***
* Get image SVG from string.
* @param serverlessRequest
Copy link

Choose a reason for hiding this comment

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

EmptyBlockTag: A block tag (@param, @return, @throws, @deprecated) has an empty description. Block tags without descriptions don't add much value for future readers of the code; consider removing the tag entirely or adding a description.


Suggested change
* @param serverlessRequest
*

ℹ️ Learn about @sonatype-lift commands

You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.

Command Usage
@sonatype-lift ignore Leave out the above finding from this PR
@sonatype-lift ignoreall Leave out all the existing findings from this PR
@sonatype-lift exclude <file|issue|path|tool> Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file

Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed issue

@davideduma
Copy link
Contributor Author

this suggestion cannot be applied. The above line is required.:

image

Signed-off-by: davideduma <[email protected]>
@davideduma
Copy link
Contributor Author

Fixed issues sonatype

@davideduma davideduma requested a review from tsurdilo December 14, 2022 13:13
@davideduma
Copy link
Contributor Author

Hi. Can you help me. This pull request still in progress. Thanks!

@davideduma
Copy link
Contributor Author

Hi. Can you help me. This pull request still in progress. Thanks!

Only Awaiting approval to owner.

@tsurdilo tsurdilo merged commit 83e1c21 into serverlessworkflow:main Jan 28, 2023
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.

3 participants