How we use services with rules - web-services

I want to use drupal rules with services module.
I have with services_rule module. It's not working for me. I did't find event for service.
Please help me out.
Thanks

Finally I have done it.
Step to use services_rule module with services module in drupal 7.
Step 1: You have to create component in rules. Now you see there is permission option available for this.
You can define variables as argument used in web service . Please see screenshot.
Step 2:
Enable this source from service resources: admin/structure/services
See screenshot

Right now drupal does not have that capability. To show you this, I am including a link to the drupal website where many others had the same question.
https://groups.drupal.org/node/10376

Related

Integration of razorpay payment gatway with django application

I am a beginner in django and i want to integrate razorpay with django application but not getting any proper documentation
can anyone help me to provide step by step documentation or any github link.
Thank you.
https://github.com/razorpay/razorpay-python
no there isn't any the only thing you can do now is to follow the guide from official website and make your own the needed steps for the python integration is given in the link

How do I host a Django project on Google Cloud Platform?

Can anyone tell me how I can easily host my Django Project on Google Cloud Platform ?
Links to a detailed video guide are highly appreciated and Thanks in advance.
I find the documentation so convoluted, tedious, and non-user friendly and so need help to figure out the right way to host my Django based project.
The best way to deploy your Django project in the cloud is using a micro VM, or you can use google app engine but I don't have experience with that so I can't help you with that.
First create a VM instace if you don't know how you can read this then you can read this tutorial how to setup a Django tutorial in a Linux machine . Hope it helps
Google Cloud Platform has multiple product offerings, you need to decide on one which best fits your particular case.
IMHO you should start here to decide: Getting Started With Django

Error deploying yii2-starter-kit Yii2 installation

I'm trying to deploy this Yii2 installation (https://github.com/trntv/yii2-starter-kit/blob/master/docs/installation.md#configure-your-web-server) but I'm having problems.
I think problems are related with this configuration step: "Configure your web server".
I've the webpage running here: http://vector5.raspctl.com/yii2-starter-kit/frontend/web/
But no one of the options works. For example, "Connect" option (http://vector5.raspctl.com/yii2-starter-kit/frontend/web/user/sign-in/login)
I can't found the error, any help?
Thanks.
The Yii2-Starter-Kit is not ready to work in a single-domain installation. You must enable, for example: backend.website.com, storage.website.com and the frontpage www.website.com
The installation guide, specifies this.
You can use this guide, to setup your single-domain installation (remember that the yii2-starter-kit also uses the storage folder!).
Have a great week.

Does anyone have detailed and accurate travelocity.com sample app instructions that work?

The WSO2IS sample app instructions are less than accurate and there are some key details to the instructions are missing. Does anyone have a complete set of instructions that will actually produce a working example?
Also, it seems like localhost is coded everywhere, some guidance on how to add and update the service provider and identity provider that are on different hosts is important.
also, is the patch or service pack needed for this to run correctly? That info is not in the documentation or blogs I've been reading from WSO2
I've written a post on configuring the sample for a tenant scenario1. You should be able to configure using this. Change the hostname of SAML.IdPUrl in WEB-INF/classes/travelocity.property to that of IS. Change Assertion Consumer URL at SP registration and on WEB-INF/classes/travelocity.property to that of SP(travelocit app).
1 - how-to-configure-identity-server-sso

Issues while deploying tomcat 7 in cloudfoundry

I have a java Spring application that I want to deploy to Cloudfoundry on Tomcat7. I am newbie to Cloudfoundry and followed the steps mentioned here but when I issue vmc push command I am getting warning Can't determine the Application Type with no options provided. Any idea to resolve this ?
C:\apps\tomcat7>vmc push
Would you like to deploy from the current directory? [Yn]:
Application Name: myApp77
[WARNING] Can't determine the Application Type.
Select Application Type:
Dan's comment is correct. You should be given the option to choose standalone app.
You may want to have a look at https://github.com/ericbottard/cloudfoundry-tomcat-7 which is a distribution of tomcat already customized (and tested) as described in the blog post you mention.
Even better, if you're using Maven, just follow the README and you'll be able to deploy your war project automatically as a tomcat7 standalone.
Hope this helps,
This actually sounds correct to me, in the list of application types should be an entry named "standalone application". Select that one and then provide the command you wish to start the application with, in this case it's 'bin/startup.sh'