Giter Site home page Giter Site logo

Pub sub for Java SDK about dapr-workshop HOT 5 CLOSED

danp11 avatar danp11 commented on May 26, 2024 2
Pub sub for Java SDK

from dapr-workshop.

Comments (5)

danp11 avatar danp11 commented on May 26, 2024 1

Looks perfect!

/Dan

from dapr-workshop.

EdwinVW avatar EdwinVW commented on May 26, 2024

Hi @danp11 . Thanks for interest in the workshop.
We will address this issue a.s.a.p.

from dapr-workshop.

danp11 avatar danp11 commented on May 26, 2024

From earlier steps the method looks like this before we enter the section attached in my earlier post.

    @PostMapping(path = "/collectfine")
    public ResponseEntity<Void> registerViolation(@RequestBody final JsonNode event) {
        var data = event.get("data");
        var violation = new SpeedingViolation(
                data.get("licenseNumber").asText(),
                data.get("roadId").asText(),
                data.get("excessSpeed").asInt(),
                LocalDateTime.parse(data.get("timestamp").asText())
        );

        violationProcessor.processSpeedingViolation(violation);
        return ResponseEntity.ok().build();
    }

from dapr-workshop.

mthmulders avatar mthmulders commented on May 26, 2024

Hi @danp11, thanks for bringing this to our attention. Indeed, the instructions were not particularly clear at this point. I've updated the instructions - could you please take a look at #44 and see if the updated instructions make more sense?

Thanks in advance!

from dapr-workshop.

EdwinVW avatar EdwinVW commented on May 26, 2024

Fixed by PR #44

from dapr-workshop.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.