Changes domain name for chat bot

parent 216ba3ae
......@@ -18,16 +18,16 @@ android {
flavorDimensions "tier"
signingConfigs {
debug {
keyAlias 'androiddebugkey'
keyPassword 'android'
storeFile file('/Users/chaukadev/.android/debug.keystore')
storePassword 'android'
// keyAlias 'androiddebugkey'
// keyPassword 'android'
// storeFile file('/Users/chaukadev/.android/debug.keystore')
// storePassword 'android'
}
config {
keyAlias 'Uofl'
keyPassword 'Vsoft@123'
storeFile file('/Users/apple/Desktop/uofl_builds/Uofl_keys')
storePassword 'Vsoft@123'
// keyAlias 'Uofl'
// keyPassword 'Vsoft@123'
// storeFile file('/Users/apple/Desktop/uofl_builds/Uofl_keys')
// storePassword 'Vsoft@123'
}
}
......
......@@ -135,27 +135,28 @@ public class HRCaseItemInputManager implements DBConstants {
}
public static List<HRCaseItemInput> getDirtyItemInput() {
SQLiteDatabase db = CatalogueApplication.getDatabase();
if(db!=null) {
Cursor c = db.rawQuery("select * from " + TABLE_HR_CASE_ITEM_INPUT
+ " where " + HR_CASE_ITEM_INPUT_SYNC_DIRTY + ">" + SYNC_FLAG_NONE , null);
ArrayList<HRCaseItemInput> itemInputList;
if (c.getCount() > 0) {
itemInputList = new ArrayList<>(c.getCount());
while (c.moveToNext()) {
HRCaseItemInput.HRCaseItemInputBuilder builder = HRCaseItemInput.HRCaseItemInputBuilder.aHRCaseItemInput();
fillAllItemInputDetails(c, builder);
itemInputList.add(builder.build());
}
} else {
itemInputList = new ArrayList<>(0);
}
c.close();
return itemInputList;
} else {
return new ArrayList<>(0);
}
// SQLiteDatabase db = CatalogueApplication.getDatabase();
//
// if(db!=null) {
// Cursor c = db.rawQuery("select * from " + TABLE_HR_CASE_ITEM_INPUT
// + " where " + HR_CASE_ITEM_INPUT_SYNC_DIRTY + ">" + SYNC_FLAG_NONE , null);
// ArrayList<HRCaseItemInput> itemInputList;
// if (c.getCount() > 0) {
// itemInputList = new ArrayList<>(c.getCount());
// while (c.moveToNext()) {
// HRCaseItemInput.HRCaseItemInputBuilder builder = HRCaseItemInput.HRCaseItemInputBuilder.aHRCaseItemInput();
// fillAllItemInputDetails(c, builder);
// itemInputList.add(builder.build());
// }
// } else {
// itemInputList = new ArrayList<>(0);
// }
// c.close();
// return itemInputList;
// } else {
// return new ArrayList<>(0);
// }
return null;
}
private static void fillAllItemInputDetails(Cursor c, HRCaseItemInput.HRCaseItemInputBuilder builder) {
......
......@@ -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_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 {
.setTitle(R.string.home_screen_report_incident_title)
.setMenuIconResId(R.string.home_screen_my_request_icon)
.build(),
new CreateHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_create_hr_case_title)
.setMenuIconResId(R.string.home_screen_create_hr_case_icon)
.build(),
new ViewHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_view_hr_case_title)
.setMenuIconResId(R.string.home_screen_view_hr_case_icon)
.build(),
// new CreateHRCaseMenuItemData.Builder()
// .setTitle(R.string.home_screen_create_hr_case_title)
// .setMenuIconResId(R.string.home_screen_create_hr_case_icon)
// .build(),
// new ViewHRCaseMenuItemData.Builder()
// .setTitle(R.string.home_screen_view_hr_case_title)
// .setMenuIconResId(R.string.home_screen_view_hr_case_icon)
// .build(),
new ChatMenuItemData.Builder()
.setTitle(R.string.home_screen_chat_title)
.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()
// 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 {
google()
}
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.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
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
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