0

I'd like to deploy my UI from Angular, and the Angular server needs to connect with the Axon Server, putting commands on the command bus.

  • Is there an API reference for Axon Server?
  • Are there any tutorials out there describing how to make a call from javascript/Typescript to the command gateway?

To be clear, my communication path looks like this:

browser <--> web server (Angular) <--> Axon Server <--> backend services
                                   ^
                                   |
                                   this is where I'm needing help

Any help is appreciated.

3

1 Answer 1

2

I got some excellent feedback from Google groups for Axon Framework. I'm posting here to benefit anyone that stops by:

On Friday, March 8, 2019 at 3:30:42 PM UTC-6, [email protected] wrote:

I believe your <-------h-e-l-p--n-e-e-d-e-d--h-e-r-e--------> is a java based http api. Something like spring boot using a RestAPI which is responsible for producing the commands. handling the events, and updating your projections. At this time, Axon Framework is only available on the JVM.

-Ben

And this one:

On Monday, March 11, 2019 at 5:22:25 AM UTC-5, Steven van Beelen wrote: Hi Jonathan, Ben,

Ben's point is right, Axon Framework is only available on the JVM. The Axon Server API however is gRPC based, and you could thus connect to it in any language where you can use gRPC.

By the way, the Axon Server API can be found here. I am currently not aware of any tutorial showing you how to do this from JavaScript/Angular; you'd be somewhat of a pioneer, afaik.

That's my two cents.

Cheers, Steven

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.