Share a service between two or more plugins [closed] - kuzzle

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I need to share a payment service class between two (or more) plugins and am wondering if Kuzzle's Pipes are the best solution for that?
I made a poc which seems to work, nevertheless, I don't found any similar example on kuzzle's plugins (like for hooks with Kuzzle-plugin-logger)
What are the other options?

The best way to share functionalities between plugins is to declare them as API actions.
You could expose your payment service features by creating a plugin named payment for example and declaring a controller inside.
this.controllers = {
card: {
pay: request => ...,
fraudCheck: request => ...
}
};
Then you can use the embedded SDK to call those actions from another plugin. The request will be directly transmitted to Kuzzle without using the network.
this.context.accessors.sdk.query({
controller: 'payment/card',
action: pay,
number: '...',
ccv: 543,
...
});
Since Kuzzle rights are whitelist based so external users will not be able to call your actions unless you explicitly specify it in their roles.

Related

I want to start learning Demandware [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a website or tutorial to have a "Hello World" and more for demandware?
Where can I find the demand ware api documentation
Is there someway to have free server access, for training purpose ?
I already installed Eclipse and UX plugin..
Thanks
The main resources for such queries would be
https://xchange.demandware.com/community/developer
https://documentation.demandware.com
Both require that you have a valid Demandware XChange account.
It should be possible to request such by Demandware support.
There is no free server access as far as I am aware. To get a sandbox, you need to have an active subscription for Demandware SaaS.
It may be the case that your employer/client already has one, so it may be good to check with them.
It's a pay-to-play kind of model, so you can't really learn it without having an enterprise account with DW. If you do have one, you can get access to xchange where there are lots of training videos and documents....but basically it's just like NodeJS with some DW-specific calls and some, optional, funky flow chart things.

Where can I find jenkins restful api reference? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am trying to integrate an external system with jenkins by REST API.
Although I have done lots of google search on its API reference, I still cannot get a full list of jenkins REST API reference.
Anybody knows about this?
Jenkins has a link to their REST API in the bottom right of each page.
This link appears on every page of Jenkins and points you to an API output for the exact page you are browsing. That should provide some understanding into how to build the API URls.
You can additionally use some wrapper, like I do, in Python, using http://jenkinsapi.readthedocs.io/en/latest/
Here is their website: https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
Additional Solution: use Restul api wrapper libraries written in Java / python / Ruby - An object oriented wrappers which aim to provide a more conventionally way of controlling a Jenkins server.
For documentation and links: Remote Access API

Do we need adobe Digital Marketing Suite's authentication for appMeasurement for my ios app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I just want to use adobe's omniture for my IOS app so do i need to make an account on Digital Marketing Suite in omniture.Can any one provide me any sample source code in which omniture has been used.
If you or your organization are an existing Digital Marketing Suite customer, you can obtain all the measurement libraries by navigating to the Code Manager in the Admin Console. You can also obtain implementation code examples in their help interface here:
http://microsite.omniture.com/t2/help/en_US/home/index.html#Developer
If you are not an existing user, there's not much reason or use to implement code because you wouldn't be able to access any reports that result from it.

Chat API - Similar service like TokBox but for text-based chat? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I find tokbox is a great service for video chat. But is there any other similar service for text-based chat, that provides api, so that i can manage my own users and chat participants.
Thanks
In another SO question somebody recommended http://www.phpfreechat.net/ but I've no experience of using the service.
As ever Google is your friend and once you know of a service such as PHP Free Chat you can do a related search and get some other options.
You could also build a chat solution using Pusher, who I work for. We offer a number of publisher libraries and client libraries in different technologies including JavaScript. We offer presence functionality that makes building chat forums really easy which is why it's one of the big use of Pusher.
Edit
There is also CometChat which may be worth looking at.

Which is the best CMS for multi subdomains handling [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a free CMS that would handle subdomains very well.
Say I want to create a website called cars.com and I want to have multiple blogs/wikis/forums... about each brand :
- ford.cars.com
- toyota.cars.com
- bmw.cars.com
Which CMS should I use to create this ?
My first guess was Liferay, does it stand the comparison with drupal when it comes to collaborative work?
Drupal's built-in multi-site functionality provides a lot of flexibility for running separate sites out-of-the-box. The add-on Domain Access module provides even more flexibility by allowing you to share content, users, and configuration between the sites.