Can expose Cloudify shell commands as a API? - cloudify

In the integration perspective, can we expose Cloudify shell commands as API call?. For instance,
http://172.xxx.xxx.xxx:8067/apiv1.0/cloudify/?command=bootstrap-cloud&provider=openstack
Thanks

Exposing the Cloudify CLI as an API is a good way to integrate with Cloudify.
This is especially true if you are planning to bootstrap cloudify clouds on demand so the Cloudify REST API is not available yet.
You should also consider the security implications of allowing the CLI commands to be specified in the URL, as users will be able to make calls that will install/uninstall services.

Related

Dotnet API that triggers AWS Services with AWS Systems Manager

I'm gonna build what the title says.
Are there any examples of such a project that I can use as a template?

Trying to setup mimik's back-end services on AWS Ec2 instance

Here are a few clarifications we need from you :
Not able to find back-end service (mDS, mSS) components on GitHub. Could you let us know the path and the implementation steps? We are trying to deploy mimik's back-end components on the EC2 instance and try to configure/access the micro service deployed on the local laptop from another device.
How can we deploy microservices written in other languages like java, python etc. we can see support for microservices written in Java Script( Node JS) only.
mDS and mSS are core mimik backend services and are not publicly available on any website. The capabilities/functionalities of mSS and mDS are provided within edgeEngine during runtime on supported platforms. You can learn about these concepts and develop your own solutions in tandem with edgeEngine and various backend microservices on our developer portal below:

https://developer.mimik.com/products/
1.1. You can run edgeEngine on any of our supported platforms and deploy any of our publicly available local microservices as a way of learning how to develop, deploy and work with edge-microservice.
The agent program on any platform can be developed by any desired programming language; however, for exposing a restful API at the edge to provide any specific function or for orchestration purpose, you need to develop them using JavaScript. In this way you can re-use the microservice and deploy them dynamically on all platforms with different operating systems. This means we only support the deployment of microservices written in JavaScript on to edegEngine environment
If you are trying to develop your own commercial solution please contact mimik support team directly at support#mimik.com.
In addition to the above response by Maz Mandi, please note that your application on top of edgeEngine (application and microservices) will communicate with your application back-end directly vs. going through mimik global functions such as mDS and mSS.

Is it possible to upgrade my project from spark to blaze using firebase or gcp CLI?

How can I upgrade my project from the spark plan to the blaze plan using the firebase CLI? If it's possible.
Or maybe I can use the GCP CLI to enable billing on my project?
I don't see any relevant APIs in either the REST API for managing projects or the Admin SDK for managing projects, so I think this isn't possible today. It's a valid feature request though, so I recommend filing it.

Microsoft workdflow custom connector

I am trying to develop a simple customer connector for my website on microsoft flow and so far I can't see how to use a web API that is hosted on my website every article tutorial I am coming by require APIs to be hosted on Azure, also an Azure account is a prerequisite .. is it true Only azure APIs to be used for custom connectors ?
Azure is not a prerequisite for Custom Connector. I agree that most of the tutorials talk about connecting Azure hosted apps.
Microsoft flow currently supports creating custom connector with Swagger API output or postman exported data. I created a Postman collection with the API and gave the exported data as input to Microsoft flow for creating the connector.
Detailed Tutorial is available here
https://flow.microsoft.com/en-us/documentation/postman-collection/
I have the same issue, I have configured a custom connector for testing to go against this test / mock API
POST -> https://jsonplaceholder.typicode.com/posts
In the connector test it keep on hitting this URL:
https://msmanaged-na.azure-apim.net/apim/zoom.2dtest.2d002.5f43ed1d930148619c.5f4fd64f4beaca2b60/51136e9557bf4e128e0d7552ff624ebd/posts
I have never configure it to go there. No document explains how or why this would happen.

How do I implement a custom message queue listener for WAS activation?

I'm writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I've found setup examples for configuring WAS service activation using MSMQ... but we aren't using MSMQ (using RabbitMQ) and I'm pretty sure I'll have to implement some kind of listener of my own.
I guess my problem is the system of configuration settings I'll have to set up is pretty opaque, and documentation is not clear.
so A: how do I implement and configure a custom listener for WAS service activation.
and B: any advice for configuring the rest of this setup would be wonderful.
Thanks
better to consume as a windows service whih is a pain. We are using an opensource project called TopShelf hosted by google. Rubbish documentation but it has a feature where is will auto run all DLL files placed in a directory as windows services - make depoyment and upgrade easy.
In the WCF WF Samples there's source for a UDP Activator. Wish there was one for AMQP.

Resources