Changes domain name for chat bot

parent 216ba3ae
...@@ -18,16 +18,16 @@ android { ...@@ -18,16 +18,16 @@ android {
flavorDimensions "tier" flavorDimensions "tier"
signingConfigs { signingConfigs {
debug { debug {
keyAlias 'androiddebugkey' // keyAlias 'androiddebugkey'
keyPassword 'android' // keyPassword 'android'
storeFile file('/Users/chaukadev/.android/debug.keystore') // storeFile file('/Users/chaukadev/.android/debug.keystore')
storePassword 'android' // storePassword 'android'
} }
config { config {
keyAlias 'Uofl' // keyAlias 'Uofl'
keyPassword 'Vsoft@123' // keyPassword 'Vsoft@123'
storeFile file('/Users/apple/Desktop/uofl_builds/Uofl_keys') // storeFile file('/Users/apple/Desktop/uofl_builds/Uofl_keys')
storePassword 'Vsoft@123' // storePassword 'Vsoft@123'
} }
} }
......
...@@ -135,27 +135,28 @@ public class HRCaseItemInputManager implements DBConstants { ...@@ -135,27 +135,28 @@ public class HRCaseItemInputManager implements DBConstants {
} }
public static List<HRCaseItemInput> getDirtyItemInput() { public static List<HRCaseItemInput> getDirtyItemInput() {
SQLiteDatabase db = CatalogueApplication.getDatabase(); // SQLiteDatabase db = CatalogueApplication.getDatabase();
//
if(db!=null) { // if(db!=null) {
Cursor c = db.rawQuery("select * from " + TABLE_HR_CASE_ITEM_INPUT // Cursor c = db.rawQuery("select * from " + TABLE_HR_CASE_ITEM_INPUT
+ " where " + HR_CASE_ITEM_INPUT_SYNC_DIRTY + ">" + SYNC_FLAG_NONE , null); // + " where " + HR_CASE_ITEM_INPUT_SYNC_DIRTY + ">" + SYNC_FLAG_NONE , null);
ArrayList<HRCaseItemInput> itemInputList; // ArrayList<HRCaseItemInput> itemInputList;
if (c.getCount() > 0) { // if (c.getCount() > 0) {
itemInputList = new ArrayList<>(c.getCount()); // itemInputList = new ArrayList<>(c.getCount());
while (c.moveToNext()) { // while (c.moveToNext()) {
HRCaseItemInput.HRCaseItemInputBuilder builder = HRCaseItemInput.HRCaseItemInputBuilder.aHRCaseItemInput(); // HRCaseItemInput.HRCaseItemInputBuilder builder = HRCaseItemInput.HRCaseItemInputBuilder.aHRCaseItemInput();
fillAllItemInputDetails(c, builder); // fillAllItemInputDetails(c, builder);
itemInputList.add(builder.build()); // itemInputList.add(builder.build());
} // }
} else { // } else {
itemInputList = new ArrayList<>(0); // itemInputList = new ArrayList<>(0);
} // }
c.close(); // c.close();
return itemInputList; // return itemInputList;
} else { // } else {
return new ArrayList<>(0); // return new ArrayList<>(0);
} // }
return null;
} }
private static void fillAllItemInputDetails(Cursor c, HRCaseItemInput.HRCaseItemInputBuilder builder) { private static void fillAllItemInputDetails(Cursor c, HRCaseItemInput.HRCaseItemInputBuilder builder) {
......
...@@ -61,5 +61,5 @@ public class AppConfig { ...@@ -61,5 +61,5 @@ public class AppConfig {
* */ * */
public static final String CHAT_SERVER_URL_RELEASE = "http://111.93.6.218:12914/"; public static final String CHAT_SERVER_URL_RELEASE = "http://111.93.6.218:12914/";
public static final String CHAT_SERVER_URL_DEBUG = "http://111.93.6.218:12911/"; public static final String CHAT_SERVER_URL_DEBUG = "http://111.93.6.218:12911/";
public static final String CHAT_SERVER_URL_STAGING = "http://111.93.6.218:12912/"; public static final String CHAT_SERVER_URL_STAGING = "http://ai.test.vsoftconsulting.com:3000/";
} }
...@@ -36,25 +36,25 @@ public class MenuProvider { ...@@ -36,25 +36,25 @@ public class MenuProvider {
.setTitle(R.string.home_screen_report_incident_title) .setTitle(R.string.home_screen_report_incident_title)
.setMenuIconResId(R.string.home_screen_my_request_icon) .setMenuIconResId(R.string.home_screen_my_request_icon)
.build(), .build(),
new CreateHRCaseMenuItemData.Builder() // new CreateHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_create_hr_case_title) // .setTitle(R.string.home_screen_create_hr_case_title)
.setMenuIconResId(R.string.home_screen_create_hr_case_icon) // .setMenuIconResId(R.string.home_screen_create_hr_case_icon)
.build(), // .build(),
new ViewHRCaseMenuItemData.Builder() // new ViewHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_view_hr_case_title) // .setTitle(R.string.home_screen_view_hr_case_title)
.setMenuIconResId(R.string.home_screen_view_hr_case_icon) // .setMenuIconResId(R.string.home_screen_view_hr_case_icon)
.build(), // .build(),
new ChatMenuItemData.Builder() new ChatMenuItemData.Builder()
.setTitle(R.string.home_screen_chat_title) .setTitle(R.string.home_screen_chat_title)
.setMenuIconResId(R.string.home_screen_chat_icon) .setMenuIconResId(R.string.home_screen_chat_icon)
.build(),
new NotificationMenuItemData.Builder()
.setTitle(R.string.home_screen_notification_title)
.setMenuIconResId(R.string.home_screen_notification_icon)
.build(),
new ApprovalsMenuItemData.Builder()
.setTitle(R.string.home_screen_approvals_title)
.setMenuIconResId(R.string.home_screen_approvals_icon)
.build() .build()
// new NotificationMenuItemData.Builder()
// .setTitle(R.string.home_screen_notification_title)
// .setMenuIconResId(R.string.home_screen_notification_icon)
// .build(),
// new ApprovalsMenuItemData.Builder()
// .setTitle(R.string.home_screen_approvals_title)
// .setMenuIconResId(R.string.home_screen_approvals_icon)
// .build()
); );
} }
...@@ -6,7 +6,7 @@ buildscript { ...@@ -6,7 +6,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.google.gms:google-services:3.1.0' classpath 'com.google.gms:google-services:3.1.0'
......
#Wed Mar 07 21:00:49 IST 2018 #Mon Apr 30 19:16:01 IST 2018
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment