portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

Event Gateway Instances – How verify is running ?

| View in Portal
December 02, 2019 03:15:24 PM GMT
2 Comments
<p>Event Gateway Instances - How verify is running whithout log in CF Adminisration</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/12/event-gateway-instances-verify-running/">Event Gateway Instances – How verify is running ?</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: ColdFusion, Development Services, Question, development services, question

Comments:

<p>Yes, you can do nearly anything in the Admin via code using the CF Admin API. While it was introduce in CF7, most are not aware of it. It’s a set of CFCs in the cfusion/wwwroot/CFIDE/adminapi folder, and there are CFCs for each of the broad areas of the CF Admin.</p><p>For your needs, there is an eventgateway.cfc, and among its methods are ones like getServiceManager (and getAllServiceManager), as well as getGatewayInstances and and getGatewayInstanceStatus. I suspect one of those would help you (but I have not tested them, as I have no gateways currently implemented to test them on).</p><p>As I suspect you also may also be new to using the Admin API, note first that there is a page that lists many (though not yet all) of the CFCs and their methods: <a href="https://helpx.adobe.com/coldfusion/configuring-administering/coldfusion-administrator-api-reference.html#eventgatewaycfc" rel="nofollow">https://helpx.adobe.com/coldfusion/configuring-administering/coldfusion-administrator-api-reference.html#eventgatewaycfc</a> (that URL I offered goes right to he eventgatewaycfc on that page).</p><p>But that’s just a reference. you will want to know “how to use it”, and for that there is indeed also documentation, here: <a href="https://helpx.adobe.com/coldfusion/configuring-administering/using-the-coldfusion-administrator.html#AdministratorAPI" rel="nofollow">https://helpx.adobe.com/coldfusion/configuring-administering/using-the-coldfusion-administrator.html#AdministratorAPI</a>.</p><p>Finally, I did a blog post pointing to both these, FWIW: <a href="https://www.carehart.org/blog/client/index.cfm/2018/1/3/great_start_on_adminapi_docs" rel="nofollow">https://www.carehart.org/blog/client/index.cfm/2018/1/3/great_start_on_adminapi_docs</a>, and there I have some “related” posts at the bottom talking about other uses of the Admin API.</p><p>Let us know if that gets you going.</p>
Comment by Charlie Arehart
3568 | December 03, 2019 11:50:02 PM GMT
Gianluca?
Comment by Charlie Arehart
3611 | January 07, 2020 09:56:10 PM GMT