Is there a way to log all incoming SFCC OCAPI requests? - salesforce-commerce-cloud

Anybody knows if there is already a way to log all SFCC OCAPI calls, similar to the web service logs?
This unanswered question let's me think, there is no standard way, but maybe somebody knows of some workaround?
Thanks a lot!

Related

Searching in multiple APIs

I come across a problem that I have no clue where should I start in order to solve it.
I have a service that searchs for something very usual, for instance, the current dollar cotation in Brazil. I have multiple trust Apis that can provide me this information, but response time is critical to my service, so I have to choose the faster API, always.
Do anyone knows where do I get started here? Any clue would be great. Thanks !
I would go with parallel asynchronous requests on the different API you think are the best.
Then you only treat the first response.

standalone client to hear on graphql subscriptions without a GUI

I am trying to write a standalone client that hears after subscribing to the exposed graphql subscription on an apollo server.
But I can only find the ones which requires a browser to trigger it.
I want the listening on the opened websocket to be automated.
I have taken a look at https://github.com/apollographql/subscriptions-transport-ws, but it didn't work through.
Feeling lost here. Would be glad if someone can point in the correct direction.
I was able to find a great tool for the same https://github.com/hasura/graphqurl
Adding it here so it could help other folks looking for the same.

How to make zsock_recv API non-blocking?

Hello all I want to use the zsock_recv API in a non-blocking mode. Is there a way to do that? I can't find any reliable documentation on the zsock API's. Could anyone please point me towards one?
ZeroMQ zsock API is documented here:
http://api.zeromq.org/czmq3-0:zsock

Log of all connections/queries via Parse

I'm working on optimizing an app that interfaces with Parse.com and was wondering if anyone knew of a way to monitor/log all connections and/or queries executed.
I've looked through the documentation and clicked around and can't see anything readily available so hoping someone can help.
Thanks

Has anyone written Ruby code to programmatically modify their DNS?

There are a bunch of services (dyndns, nettica, etc.) that offer API's but I'm having trouble with Nettica's and I was just wondering if anyone has a nice gem suggestion for any of the DNS services... I'm not set on one or the other.
Thanks for any help in advance.
Chad
This just in, Nettica does work as intended, but you need to buy the bulk DNS service in order to enable the AddRecord API call....... wasn't documented clearly but their support was able to point this out.

Resources