serverless / serverless-openwhisk

Adds Apache OpenWhisk support to the Serverless Framework!
http://openwhisk.org/
MIT License
143 stars 47 forks source link

Custom Domain Support #92

Open more-ron opened 6 years ago

more-ron commented 6 years ago

It's really inconvenient to keep manually setting the domain on IBM Cloud's web UI for this. Seems their API already supports being able to do this. It's just not the most intuitive way.

I've managed to be able to hack it up by:

If the plug-in generates the minimal swagger doc and uploads it instead of posting individual routes it could remove an api request per route. It could also pave the way for supporting custom domains.

I'm fairly new to node.js that's why there's no PR yet. Hoping somebody could add the support.

jthomas commented 6 years ago

Thanks for reporting this and the details that help me understand how to fix this.

I'll have a look over the next few weeks and see if I can submit a PR to resolve this.