News for hackers. Stuff that matters.
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @12:37PM (#9858975)
#1 is exactly what I'm working on right now; turns out there's a huge market for this sort of thing. We're using an API gateway (Axway/Oracle) to build an "API Mullet" (all SOAP in the back, all REST in the front), and while I have some qualms with the tooling, the idea of an API gateway is very sound.
Re:Amazon API Gateway – Build and Run Scalable Application B... by ch on Thursday July 09, 2015 @01:12PM (#9859247)
"API Mullet" has got to be my favorite description of this type of system. Well done.
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @01:44PM (#9859476)
I can't take credit for it, alas. It was from an Axway blog post. It's sort of backwards too, if you think about it - business in the back and party in front.
Re:Amazon API Gateway – Build and Run Scalable Application B... by robertfw on Thursday July 09, 2015 @02:19PM (#9859724)
I don't know, the "front" is all business - ordered, structured, conforms to the standards. The back is a jumbled, messy, non conforming. It's a party back there.
Re:Amazon API Gateway – Build and Run Scalable Application B... by Splendor on Thursday July 09, 2015 @01:58PM (#9859569)
API Tellum?
Re:Amazon API Gateway – Build and Run Scalable Application B... by junto on Thursday July 09, 2015 @01:05PM (#9859199)
Out of interest SOAP services tend to be message/operation based, while REST is deliberately not this.

How do you go about proxying REST style requests to a SOAP backend?

Re:Amazon API Gateway – Build and Run Scalable Application B... by femto113 on Thursday July 09, 2015 @01:39PM (#9859444)
Can't speak for the parent but having tackled similar efforts before I find that almost all APIs regardless of the implementation flavor (including SOAP and RPC) are readily understood as CRUD systems creating/reading/updating/deleting things), and the mapping from CRUD to REST is straightforward. In practice this generally means mapping from a SOAP call like `SetPostAuthor` to a REST call like `PUT /post/:post_id/author`. There are always some gnarly bits along the way, but the basic structure usually comes together pretty easily.
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:20PM (#9859733)
Yup, petty much. If you're willing to be a little flexible in your application of RESTful concepts and are okay with your abstractions leaking a bit, it's not especially tough.
Re:Amazon API Gateway – Build and Run Scalable Application B... by jacques_chester on Friday July 10, 2015 @01:09AM (#9862407)
That's the easy case.

A harder case is when you have a "service" layer which also has a large collection of queries at various levels of abstraction.

These map poorly into resources, where you want a single level of abstraction per resource. And they map badly to legacy consumers, who've grown comfortable to having a collection of special knobs and dials perfectly shaped for their exact needs.

Re:Amazon API Gateway – Build and Run Scalable Application B... by oblio on Thursday July 09, 2015 @02:00PM (#9859596)
Heh, I never thought I'd meet an Axway product user on HN. What are you using? Gateway? Integrator?
Re:Amazon API Gateway – Build and Run Scalable Application B... by Natsu on Friday July 10, 2015 @01:44AM (#9862473)
Gateway is pretty non-specific if you're talking Axway. It could mean XFB Gateway, Gateway Interchange or API Gateway... and I'm not even sure that's the whole list.
Re:Amazon API Gateway – Build and Run Scalable Application B... by oblio on Friday July 10, 2015 @02:44AM (#9862608)
I meant XFB. It was the only product that was referred internally just as "Gateway". "Gateway Interchange" was "Interchange" and "API Gateway" was "API Gateway".
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:05PM (#9859633)
Gateway, under oracle branding.
Re:Amazon API Gateway – Build and Run Scalable Application B... by sytringy05 on Thursday July 09, 2015 @09:30PM (#9861833)
me too! (not the oracle version though) :(

It does suck a bit, I've also sent Layer 7 into production which is just as bad as Axway. Typical Vendorware.

The AWS Gateway is pretty enticing. Solves lots of the API Gateway problem space very quickly and super cheap. We could run our production instance for about $2 a month I reckon, vs a 6 figure sum for the vendor tech.

Re:Amazon API Gateway – Build and Run Scalable Application B... by oblio on Thursday July 09, 2015 @02:16PM (#9859709)
May God have mercy on your soul :o)
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:21PM (#9859736)
;_;
Re:Amazon API Gateway – Build and Run Scalable Application B... by Natsu on Friday July 10, 2015 @01:42AM (#9862466)
Just curious, but why Oracle-branded rather than direct?
Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:16PM (#9859712)
have you look at the open source KONG https://github.com/mashape/kong ?
Re:Amazon API Gateway – Build and Run Scalable Application B... by curiousjorge on Thursday July 09, 2015 @01:13PM (#9859254)
do you have a website?
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @01:45PM (#9859482)
Not really, why do you ask?