I’m using community edition of couchbase version , when i hit the apis http://<server_name>:8091/versions or http://<server_name>:8092 , it gives me the version of the software installed with few other information. Is there any way to restrict those apis or implement authentication for the same.
Thanks
Related
I want to set up a MySQL instance to be accessible to a mobile app as a REST based API.
How do I make that API available on the internet?
One scenario I am considering is to install MySQL on a Linux instance within MS Azure and then I would generate the APIs using a tool like Dreamfactory.
Would that work or would I need to install the MySQL DB on an Apache web server to make the API available?
Additionally - do I need to be on a domain to do this? So I will have to pay for a domain and hosting too?
We are using Azure API Management where is supporting WebSocket, but we need 2 different endpoint routes for it, because you can`t create route to your API:
http(s)://{base_url} and ws(s)://{base_url},
you must add difference by using suffix, like :
http(s)://{base_url}
ws(s)://{base_url}/{suffix}
or
http(s)://{base_url}/{suffix}
ws(s)://{base_url}
How we can configure same endpoits ?
During the WebSocket passthrough the client application establishes a WebSocket connection with the API Management Gateway
Check for the steps in adding WebSocket API to APIM here.
Make sure we follow below limitations:
WebSocket APIs are not supported yet in the Consumption tier.
WebSocket APIs are not supported yet in the self-hosted gateway.
Azure CLI, PowerShell, and SDK currently do not support management operations of WebSocket APIs
Refer to this SO thread in including two endpoints for same URL in backend, thanks to Hury for great explanation. Though it is for functions app, but the process is similar.
Im trying to find a way to monitor couchbase cluster settings such as memory, email configurations, etc.
Ideally it would be a cli/REST command that describes entire cluster configurations or its particular components.
Couchbase version: 4.5.1- Community Edition
Will appreciate for any advice.
In current CB versions, you can get the email info using http://hostname:8091/settings/alerts and memory info using http://hostname:8091/pools/nodes
For some reason, I cannot seem to access the CB archived documentation to confirm this. Try it out and see if these APIs are available in 4.5.x. The pools API should be available. Not sure on the alerts API.
I'm working with an application which uses Windows Azure Servicebus as endpoint for in/outbound integration. A potential customer is using Oracle Servicebus as integration platform. "My" application is sending/receiving xml-based messages through topics/queues.
My thought is that it should be quite straight forward to connect these two platforms using REST or AMQP. But I have no experience with Oracle Servicebus, so I'm not ready to go all in with this thought.
Any out there who has experience with this kind of solution?
With best regards
/Anders
I'm attempting to write a Windows Phone 7 application which needs to connect to a remote data source, in this case it's a MySQL database on a Linux server. I'm not able to move this over to MSSQL, nor to build any kind of windows-based solution (like a WCF web service on the server).
Is there a way for me to use my MySQL database from my Windows Phone 7 application? The MySQL assemblies don't seem to work on the phone. If not, what would the best solution for me to use this database from the phone?
You could build your self a service which would send you json or xml. this can easily be built using mono, python, Ruby, php or any technology that you are comfortable with.
You can build it in a restful manner where all you have to do is call urls in a HTTP GET to retreive data which you handle with the services.
and use the HTTP POST to submit changes to your service.
you can then from WP7 make calls to this service and consume the data.
WP7 does not support sockets at the moment. So your best bet is transfering your payloads over HTTP.
As I mentioned before, if you have access to the machines configuration. You could run Mono which isn't too far off of .Net in terms of language and functionality.
further more, from the phone you can use the Rx library to make these calls Async and keep your application responsive.