-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve getting started experience for Camunda Cloud SaaS #132
Conversation
src/main/resources/application.yaml
Outdated
@@ -20,3 +25,5 @@ logging: | |||
management: | |||
server: | |||
port: 8081 | |||
|
|||
server.port: 8082 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can remove this config and use the default port.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
@ikheraj17 thank you for your contribution. Please give some context why do you make these changes. |
I changed the title of this PR to reflect that these changes are removing roadblocks that have cost @ikheraj17 and me a lot of unnecessary time to figure out how to get this worker running with Camunda Cloud SaaS. |
We are aware that the DMN implementation inside Zeebe is on its way but for the time being, the dmn-worker is the only option |
@falko the worker is built based on the Zeebe Spring starter. So, the configuration should be the same 😅 |
<inputEntry id="UnaryTests_0c3lrnz"> | ||
<text></text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_1l0btob"> | ||
<text><=85</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_1f3y5xd"> | ||
<text>"Won't Pay In Time"</text> | ||
</outputEntry> | ||
<outputEntry id="LiteralExpression_1w57ha5"> | ||
<text>"red"</text> | ||
</outputEntry> | ||
</rule> | ||
<rule id="DecisionRule_0s72fjf"> | ||
<description></description> | ||
<inputEntry id="UnaryTests_1dkokb9"> | ||
<text></text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_0d5r6v3"> | ||
<text>"Unemployed"</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_1v6fey5"> | ||
<text>not("Basic Package")</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_1rw2hjn"> | ||
<text><=95</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_18kpqx8"> | ||
<text>"Lack Of Income"</text> | ||
</outputEntry> | ||
<outputEntry id="LiteralExpression_0mrbkzr"> | ||
<text>"red"</text> | ||
</outputEntry> | ||
</rule> | ||
<rule id="DecisionRule_0c99hq3"> | ||
<description></description> | ||
<inputEntry id="UnaryTests_16q1ghi"> | ||
<text><= 30</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_0c86j25"> | ||
<text>"Self-employed"</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_0l8wmca"> | ||
<text>"Premium Package"</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_1qkgqif"> | ||
<text></text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_0jlpe55"> | ||
<text>"Irregular And Possibly Lack Of Income"</text> | ||
</outputEntry> | ||
<outputEntry id="LiteralExpression_05qilq2"> | ||
<text>"yellow"</text> | ||
</outputEntry> | ||
</rule> | ||
<rule id="DecisionRule_1euaw2y"> | ||
<description></description> | ||
<inputEntry id="UnaryTests_0bctfm4"> | ||
<text></text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_12o8otd"> | ||
<text>"Freelancer", "Self-employed"</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_0o842fe"> | ||
<text>-</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_1h8e7id"> | ||
<text><=95</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_1pwrw8z"> | ||
<text>"Not Trustworthy"</text> | ||
</outputEntry> | ||
<outputEntry id="LiteralExpression_0zcjpew"> | ||
<text>"yellow"</text> | ||
</outputEntry> | ||
</rule> | ||
<rule id="DecisionRule_08nz8pq"> | ||
<description></description> | ||
<inputEntry id="UnaryTests_0adgp9c"> | ||
<text></text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_1jzpweh"> | ||
<text>"Salaried"</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_17itih0"> | ||
<text>"Premium Package"</text> | ||
</inputEntry> | ||
<inputEntry id="UnaryTests_0dgmj4d"> | ||
<text><90</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_1xwbye7"> | ||
<text>"Too Low Income"</text> | ||
</outputEntry> | ||
<outputEntry id="LiteralExpression_1s5g29d"> | ||
<text>"yellow"</text> | ||
</outputEntry> | ||
</rule> | ||
</decisionTable> | ||
</decision> | ||
</definitions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ikheraj17 why do you want to add an example DMN to the repository?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that users immediately see the folder in which files have to go and also have a working example in case they are new to DMN.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saig0 Are there any other outstanding issues regarding my pull request? If not, would you or the appropriate person please merge the changes that Falko and I have made? I'm in the process of creating documentation for the Camunda Cloud showcase, and the showcase's DMN functionality depends on this plugin. Please let me know if there are any other changes that you have questions about. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ikheraj17 I'm sorry for the delay. I was distracted by other duties 🙈
Currently, the build of this PR is failing. Something went wrong in the test case: WorkflowTest.shouldCompleteWorkflowInstance()
.
Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 34.072 s <<< FAILURE! - in io.zeebe.dmn.WorkflowTest
Error: shouldCompleteWorkflowInstance Time elapsed: 10.407 s <<< ERROR!
Are you able to build the PR locally?
I'll look into it today or tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can reproduce the test error locally. Looking into it...
Not everyone knows Spring Boot or our starter or all its configuration options by hard. |
Also, with the changes Imran suggested, the DMN worker works out of the box with our official Customer Onboarding Showcase that we use in all demos to Camunda Cloud prospects: https://github.com/camunda-consulting/showroom-customer-onboarding/tree/camunda-cloud We frequently share that code with prospects for them to try it out themselves. We thought about copying the DMN worker code directly into the showcase repo but that would cut us off from updates and could lead customers to follow our example instead of using the official DMN worker. It also wouldn't give the due credit to you. |
Co-authored-by: li zhi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BUILD SUCCESS
@saig0 I'd suggest squashing all this mess together into one commit when merging ;-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ikheraj17 / @falko looks good 👍 Thanks you 🍰
Added 'dmn-repo' folder to repository with a sample dmn file inside; also modified yaml file to clarify where cloud credentials should be inputted