Does SonarLint send codes to sonar server? - sonarlint

Does sonarLint send codes to sonar server ?
I am a user of sonarLint.
I just worried about if sonarLint send my codes to sonar server, i will be problems.
So I just want to know that sonarList send codes to sonar server ?

The aim of SonarLint is to run local analyses. The connected experience makes you able to grab configuration and plugins updates from SonarQube server but SonarLint analyses are not pushed from the IDE to SonarQube server.

Related

Transfer yii2 application from a local computer to a server

I have a finished yii application from my local computer. What I want now is to transfer it to my IBM server, but it seems, a simple "copy-paste" will not work. Can somebody please enumerate the steps to transfer my yii application to my IBM server. And if there is any software my server needs. Thank you!!!
Using version control would be recommended.
You can use Git, Subversion or something else. Push the code up from your computer directly to your server or to your remote repository.

SQL adapter in Worlight?

I am new to IBM Worklight,and i found a way to connect to the MySQL using the SQL adapter.
the configuration as below:
<dataSourceDefinition>
<driverClass>com.mysql.jdbc.Driver</driverClass>
<url>jdbc:mysql://localhost:3306/worklight_training</url>
<user>Worklight</user>
<password>Worklight</password>
</dataSourceDefinition>
Since the adapter are compile together with the app, just wondering, is it safe? is there a possibility of someone decompiling my apk or ipa to view the adapter connection thus acquire the user and password to my mysql database.
A hacker decompiling your .apk or .ipa file will not find the database username/password there, for the simple reason that the adapter is not compiled "together with the app" and is not part of any artifacts that you install in a device.
An adapter is a server-side entity, not client-side.
The adapter is an object stored in the memory of the running application server.
Adapters are Server side code andare not part of the apk or ipa files.
You can check/confirm this information in Worklight documentation. The details about adapters, under "Developing the server side of a Worklight Application" are at:
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/devref/c_overview_of_ibm_worklight_adap.html
You can also check the Server Side Development of MobileFirst Platform Getting Started Modules
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/server-side-development/
(MobileFirst Platform is the new name of Worklight)
In worklight, you usually have the application (apk/ipa) communicating with a server side component (the adapters) running in a worklight server. The adapters are used to communicate with backend systems (like a mysql server). There are a few different types of adapters to communicate with different types of backends (like sql, http and SAP)
Please, let us know what documentation/guide caused you the understanding that adapters are part of the client apk/ipa. If that is really stated in any documentation, it is wrong and must be corrected.
Edit:
To connect to a MySQL DB (no matter if it is a standalone MySQL or in XAMP, LAMP or whatever package) you can follow this geting started tutorial
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/server-side-development/sql-adapter-communicating-sql-database/
Also note that, if you are using MobileFirst Studio (previously Worklight Studio) downloaded for free from Developer Works you have a developer version of the WOrklight Server running inside Studio so that you can create and deploy adapters and use it during development as your server. But when you go to production you are required to purchase licenses of Worklight because you don't have the worklight server available for free.
So if you have Studio, you have the server available but only for development purposes.

Sonar Tomcat installation fails

I installed both Sonar and Jenkins on the same Tomcat (7.0.29) version. I followed the instructions, which means that I created the sonarqube database (we are using MySQL), that I built and created the WAR file, and that I deployed that file to Tomcat. I also modified the Tomcat CATALINA_OPTS value to give Tomcat more memory. Jenkins will run, but Sonar will give me a "We're sorry, but something went wrong." error. I checked all of the Tomcat logs but could not find anything useful such as an exception. Does anyone have any ideas on this?
Thanks in advance...
Deployment on Tomcat won't be supported as of next version. Therefore, I recommend you to use the standalone mode instead. Note also that is not recommended to install SonarQube and Jenkins on the same machine. See http://docs.codehaus.org/display/SONAR/Installing#Installing-SonarQubePlatformOverview.

cas jasig using oracle data source on windows

is there any way that can help cas settings to use the data source oracle on windows
in my company will apply singgle singgle sign on and logout, I've been trying for 5 days, and until now have not been successful.
I've tried several ways
I use
Tomcat 7.0
Java 1.7
cas server 3.5.2
Tomcat 7.0
Java 1.7
cas server 3.5.2
I downloaded cas server 3.5.2
extract cas-server-3.5.2
copy cas-server-webapp-3.5.2.war into tomcat webapps
cas has been successfully deployed, and can be accessed
and then I do not understand anymore, how do I get the authentication process can use oracle database
sorry my english is not good
thank you
There's a few things you need to do:
First of all, if you haven't downloaded and included the Oracle JDBC Driver library (http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html) then you have to do that.
Secondly, you need to configure the JDBC plugin: https://wiki.jasig.org/display/CASUM/JDBC
These instructions (and the preferred method of customizing & building CAS) uses the Maven Web Overlay method. This has the advantage that you deploy lots of un-necessary libraries that you aren't using.

Cannot connect to connecting to SQL Server 2008 from WSO2 Data services server on WSO2 Stratos live

I have started using WSO2 Stratos live and started using WSO2 data services server.
I am facing issue while using SQL Server 2008 with WSO2 data services server.
I am getting below error
The server version is not supported. The target server must be SQL
Server 2000 or later.
I believe the answer to this is to update the jars in Stratos live to use latest sqljdbc4.jar but I am not sure how to do it.
Any help is appreciated.
There's no way that the users can replace the driver jars of the StratosLive Data Services Server and WSO2 should upload the latest versions of the jars to the server for you. We'll make sure they are updated soon.
As an alternative, if you want to have your own latest driver jars used, you can write a webapp including the desired jars inside WEB-INF/lib folder, host it in the WSO2 Application Server and connect to your MSSQL instance.
Regards,
Prabath