Skip to content

Commit

Permalink
fix: trigger build
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Jan 11, 2024
1 parent caf7bff commit 3afa5dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dapr-distributed-calendar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ I have tried to model this system on the Model View Controller Service (MVCS) ar
}
})
```
where the invokeURL is defined as:
```js
const invokeUrl = `http://localhost:${daprPort}/v1.0/invoke/${eventApp}/method`;
```
* On creation of a new event, it publishes a message to a **pubsub** topic which is then picked up by the **Python** subscriber.
*Pubishing to the topic*
Expand All @@ -89,7 +90,9 @@ I have tried to model this system on the Model View Controller Service (MVCS) ar
request( { uri: publishUrl, method: 'POST', json: JSON.stringify(message) } );
}
```
where the publish URL is:
```js
const publishUrl = `http://localhost:${daprPort}/v1.0/publish/${pubsub_name}/${topic}`;
```
Expand Down

0 comments on commit 3afa5dd

Please sign in to comment.