This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
forked from Ana06/medical-data-android
-
Notifications
You must be signed in to change notification settings - Fork 2
Solucionados los issues #11 & #14 & sonar análisis. #1
Merged
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1571576
Issues #11  with sonar Analysis
joaquinolivera 0c7947f
Se agrego .idea y Bip4cast a .gitignore
joaquinolivera 305c909
Add .sonar to .gitignore
joaquinolivera 3322a0f
Readme with sonar guide
joaquinolivera 0614fd5
Readme
joaquinolivera 3b087c0
Readme fix
joaquinolivera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
.DS_Store | ||
/build | ||
/captures | ||
.idea | ||
|
||
Bip4cast.apk |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
projectKey=bip4cast | ||
serverUrl=http://localhost:9000 | ||
dashboardUrl=http://localhost:9000/dashboard/index/bip4cast | ||
ceTaskId=AVvt1qSuMi7_G9x4RzoD | ||
ceTaskUrl=http://localhost:9000/api/ce/task?id=AVvt1qSuMi7_G9x4RzoD |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,14 @@ | |
*/ | ||
public final class Variables { | ||
// The server IP | ||
private static final String IP = "IP"; | ||
private static final String IP = "192.168.0.21"; // MongoDB server... | ||
private String ip = System.getProperty("myapplication.ip"); //solution proposal of sonar-runner... | ||
private static final String PORT = "27017"; | ||
// MongoDB uri with the IP, authentication (user, password and mechanism), database, etc. | ||
public static final String mongo_uri = "mongodb://androidUser:password@" + IP + ":" + PORT + | ||
"/bipolarDatabase?authMechanism=MONGODB-CR"; | ||
|
||
//public static final String mongo_uri = "mongodb://androidUser:password@" + IP + ":" + PORT + | ||
//"/bipolarDatabase?authMechanism=MONGODB-CR"; | ||
//used for test purpose! | ||
//public static final String mongo_uri = "mongodb://" + IP + ":" + PORT + "/test"; | ||
|
||
public static final String mongo_uri = "mongodb://" + IP + ":" + PORT + "/test"; | ||
// Name of shared preferences file; | ||
public static final String PREFS_NAME = "MyPrefsFile"; | ||
// Regular expression to check email correction | ||
|
@@ -35,6 +34,11 @@ public final class Variables { | |
* Final class: to prevent someone from accidentally instantiating the class, we give it an | ||
* empty constructor. | ||
*/ | ||
public void ipfromsystem(){ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Code Conventions should follow Oracle recommendations http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-135099.html#367 |
||
String ip = System.getProperty("myapplication.ip"); | ||
Log.i("Ip found", ip); | ||
} | ||
|
||
public Variables() { | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Oct 21 11:34:03 PDT 2015 | ||
#Tue May 09 11:23:12 PYT 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sonar.projectKey=bip4cast | ||
sonar.projectName=Bip4Cast | ||
sonar.projectVersion=1.0 | ||
|
||
sonar.sources=app/src/main/java/com/example/ana/exampleapp | ||
sonar.language=java | ||
sonar.sourceEncoding=UTF-8 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.sonar
directory should be ignored from versioning, for same reasons we removed .idea and binaries.