WSO2 identity server SMS OTP Authentication folder not deploying when changed to different environment - wso2

I'm using identity server v5.10.0, I'm changing only the UI of smsotp.jsp and mobile.jsp and whenever I run the jenkins job and switch it to a different environment, the sms OTP authentication gets deployed with the default war file and existing folder with the UI changes is not deployed. if I zip and paste in a different env the entire folder UI changes are present but whenever I take it through jenkins the SMS OTP folder gets deployed from the default war file. Can anyone from WSO2 team help here and let me know how to proceed further
Any help here is much Appreciated.

Related

local gitlab Auth 2.0 and django

Hello We made our own Gitlab installation on our server. I installed Readthedocs Local in the link below. In order to connect our accounts on gitlab with readthedocs, I was asked to make the following settings from the gitlab section in the readthedocs document.
https://readthedocs.org/
https://dev.readthedocs.io/en/latest/install.html
But interestingly, even though I set the settings on our own server gitlab.local, by default django goes to gitlab.com when I connect to gitlab via devthedocs.org. However, it should connect to gitlab.local on my server, how can I fix this problem?
On page 34 of this document here
https://readthedocs.org/projects/django-allauth/downloads/pdf/latest/
"The GitLab provider works by default with https://gitlab.com. It allows you to connect to your private GitLab
server and use GitLab as an OAuth2 authentication provider as described in GitLab docs at http://doc.gitlab.com/
ce/integration/oauth_provider.html"
I need your support in this matter.
Thank you very much.
Configure the applications on GitHub, Bitbucket, and GitLab. For each of these, the callback URI is http://devthedocs.org/accounts//login/callback/ where is one of github, gitlab, or bitbucket_oauth2. When setup, you will be given a “Client ID” (also called an “Application ID” or just “Key”) and a “Secret”.
Take the “Client ID” and “Secret” for each service and enter it in your local Django admin at: http://devthedocs.org/admin/socialaccount/socialapp/. Make sure to apply it to the “Site”.

Execute carbon deployment manually

When you deploy manually a .car inside WSO2 (ESB), wso2 deploys the file and it's done.
I would like to trigger manually this action.
My purpose is to send a .car file inside my ./carbonapps/ and deploy it.
I'm looking for a request in Java (executed by sh) or a web request.
Do you know how to do that ?
Thank you for you time :)

Deploy a proxy service created in the WSO2 Developer Studio in the ESB

I created a WSO2 proxy service using WSO2 Developer studio and would like to deploy it in the ESB in my local machine. If I create a CAR file and deploy it as in https://docs.wso2.com/display/DVS380/Deploying+a+C-App, it doesn't get deployed as a Proxy service. How can I deploy it as a proxy service?
This works without any problems. The only problem that I might think of, is that the proxy has the wrong server role assigned in the pom of the car project. To check this, do the following.
Click on the pom.xml of the car project
in the appearing form, check that in the dependency part the project you want to deploy is checked
expand the proxy artifact in the dependency view and verify that ServerRole is set to EnterpriseServiceBus
save if you have made any changes, create the car and deploy it
Hope that helps.
Regards
Martin

WSO2 P.PaaS : Accessing the AS and other WSO2 products

So I have got WSO2 P.PaaS installed and running. I want to deploy .war file to the Application Server. It seems the AS on P.PaaS does not accept .war file; but the stand-alone one does. See here. Also, I want to use the WSO2 products deployed into the PaaS. I am not sure what URL or port I should use. Is there a tutorial that I can use to experiment?
Sorry for the brevity, but, I am new to WSO2.
What PPaaS version you have installed, 4.0.0 or from current master branch which is 4.1.0 milestone 1 version?
Here is the quick start guide Quick start guide .
You can access the management console as https://STRATOS_DOMAIN:9443/console.
Assuming you are using PP 4.0.0 version,
Log into management console
Go to cartridges page. There you can find the available cartridges, you should find Application Server as a cartridge.
Click on AS cartridge in order to subscribe for it. At subscribing process you would be asked a GIT repository URL.
After you subscribe, PP will clone what is in your GIT repository url in to Application server. So if you provide a url which has your web application, those application would be automatically deployed into the Application server. Here is a sample GIT repository , you can include your web apps under "webapps" folder.
There after if you modify your web apps (say web app version 2) and commit the changes to your repository, Stratos/PP automatically update Application server with the new web apps.
Since you have already deployed PP, you can have a loot at this screencast to see how you can deploy a web app

Web Services with Netbeans

After having done a web service with netbeans and having tested it. What is it that I should upload to the server so I can use it? I have been going around tutorials but none (of the ones I've found) say what to upload. They just finish when you deploy the web service =/.
Right, you'll package it as a WAR file and deploy that to the app server. A WAR file is what you need.
How you deploy depends on your situation and your app server. If you're using Tomcat, you can either put the WAR in the /webapps directory or use the admin console to deploy.
If you're using a hosting service, you'll have to ask them how to do it.