Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c71e8f4f
authored
Mar 23, 2018
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Changed variables name for URL.
parent
5221d3ea
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
51 deletions
app/src/arrow/AndroidManifest.xml
app/src/arrow/java/com/vsoft/servicenow/AppConfig.java
app/src/citrix/java/com/vsoft/servicenow/AppConfig.java
app/src/ge/java/com/vsoft/servicenow/AppConfig.java
app/src/main/java/com/vsoft/servicenow/utils/Constants.java
app/src/uofl/java/com/vsoft/servicenow/AppConfig.java
app/src/arrow/AndroidManifest.xml
View file @
c71e8f4f
...
@@ -2,12 +2,11 @@
...
@@ -2,12 +2,11 @@
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
package=
"com.vsoft.servicenow"
>
package=
"com.vsoft.servicenow"
>
<uses-permission
android:name=
"android.permission.RECORD_AUDIO"
/>
<uses-permission
android:name=
"android.permission.RECORD_AUDIO"
/>
<application
<application
tools:replace=
"android:icon"
android:icon=
"@mipmap/ge_launcher"
android:icon=
"@mipmap/ge_launcher"
>
tools:replace=
"android:icon"
>
<activity
<activity
android:name=
".chat.ChatActivity"
android:name=
".chat.ChatActivity"
android:label=
"@string/chat_activity_label"
android:label=
"@string/chat_activity_label"
...
...
app/src/arrow/java/com/vsoft/servicenow/AppConfig.java
View file @
c71e8f4f
...
@@ -9,14 +9,14 @@ public class AppConfig {
...
@@ -9,14 +9,14 @@ public class AppConfig {
public
static
final
String
APP_INTERNAL_NAME
=
"Arrow"
;
public
static
final
String
APP_INTERNAL_NAME
=
"Arrow"
;
public
static
final
String
DOMAIN_
PRODUCTION
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
RELEASE
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
TEST
=
"https://vsoftconsultingdemo1.service-now.com/"
;
public
static
final
String
DOMAIN_
DEBUG
=
"https://vsoftconsultingdemo1.service-now.com/"
;
public
static
final
String
LOGIN_CLIENT_ID_
PRODUCTION
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
RELEASE
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
PRODUCTION
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
RELEASE
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_ID_
TEST
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
DEBUG
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
TEST
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
DEBUG
=
"krD*!O}1.8"
;
/**
/**
* Web services urls
* Web services urls
...
...
app/src/citrix/java/com/vsoft/servicenow/AppConfig.java
View file @
c71e8f4f
...
@@ -9,14 +9,14 @@ public class AppConfig {
...
@@ -9,14 +9,14 @@ public class AppConfig {
public
static
final
String
CHAT_SERVER_URL
=
"http://111.93.6.218:12910/"
;
public
static
final
String
CHAT_SERVER_URL
=
"http://111.93.6.218:12910/"
;
public
static
final
String
DOMAIN_
PRODUCTION
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
RELEASE
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
TEST
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
DEBUG
=
"https://ven01199.service-now.com/"
;
public
static
final
String
LOGIN_CLIENT_ID_
PRODUCTION
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
RELEASE
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
PRODUCTION
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
RELEASE
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_ID_
TEST
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
DEBUG
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
TEST
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
DEBUG
=
"krD*!O}1.8"
;
/**
/**
* Web services urls
* Web services urls
...
...
app/src/ge/java/com/vsoft/servicenow/AppConfig.java
View file @
c71e8f4f
...
@@ -9,14 +9,14 @@ public class AppConfig {
...
@@ -9,14 +9,14 @@ public class AppConfig {
public
static
final
String
CHAT_SERVER_URL
=
"http://111.93.6.218:12910/"
;
public
static
final
String
CHAT_SERVER_URL
=
"http://111.93.6.218:12910/"
;
public
static
final
String
DOMAIN_
PRODUCTION
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
RELEASE
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
TEST
=
"https://geapplightrnd.service-now.com/"
;
public
static
final
String
DOMAIN_
DEBUG
=
"https://geapplightrnd.service-now.com/"
;
public
static
final
String
LOGIN_CLIENT_ID_
PRODUCTION
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
RELEASE
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
PRODUCTION
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
RELEASE
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_ID_
TEST
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
DEBUG
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
TEST
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
DEBUG
=
"krD*!O}1.8"
;
/**
/**
* Web services urls
* Web services urls
...
...
app/src/main/java/com/vsoft/servicenow/utils/Constants.java
View file @
c71e8f4f
...
@@ -71,11 +71,11 @@ public class Constants {
...
@@ -71,11 +71,11 @@ public class Constants {
/**
/**
* Decides the URLS used
* Decides the URLS used
*/
*/
private
static
final
String
DOMAIN_
PRODUCTION
=
AppConfig
.
DOMAIN_PRODUCTION
;
private
static
final
String
DOMAIN_
RELEASE
=
AppConfig
.
DOMAIN_RELEASE
;
private
static
final
String
DOMAIN_
TEST
=
AppConfig
.
DOMAIN_TEST
;
private
static
final
String
DOMAIN_
DEBUG
=
AppConfig
.
DOMAIN_DEBUG
;
private
static
final
String
API_PATH_
PRODUCTION
=
"/api/now/table/"
;
private
static
final
String
API_PATH_
RELEASE
=
"/api/now/table/"
;
private
static
final
String
API_PATH_
TEST
=
"/api/now/table/"
;
private
static
final
String
API_PATH_
DEBUG
=
"/api/now/table/"
;
private
static
final
int
BUILD_TYPE_DEBUG
=
1
;
private
static
final
int
BUILD_TYPE_DEBUG
=
1
;
private
static
final
int
BUILD_TYPE_RELEASE
=
2
;
private
static
final
int
BUILD_TYPE_RELEASE
=
2
;
...
@@ -83,44 +83,44 @@ public class Constants {
...
@@ -83,44 +83,44 @@ public class Constants {
/**
/**
* Decides the Api auth data used
* Decides the Api auth data used
*/
*/
private
static
final
String
API_AUTH_PARAM_USER_NAME_
PRODUCTION
=
"vsoft.admin"
;
private
static
final
String
API_AUTH_PARAM_USER_NAME_
RELEASE
=
"vsoft.admin"
;
private
static
final
String
API_AUTH_PARAM_PASSWORD_
PRODUCTION
=
"v50ft@123456"
;
private
static
final
String
API_AUTH_PARAM_PASSWORD_
RELEASE
=
"v50ft@123456"
;
private
static
final
String
API_AUTH_PARAM_USER_NAME_
TEST
=
"a0kuma18"
;
private
static
final
String
API_AUTH_PARAM_USER_NAME_
DEBUG
=
"a0kuma18"
;
private
static
final
String
API_AUTH_PARAM_PASSWORD_
TEST
=
"v$0ftA$win"
;
private
static
final
String
API_AUTH_PARAM_PASSWORD_
DEBUG
=
"v$0ftA$win"
;
public
static
final
String
API_AUTH_PARAM_USER_NAME
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
public
static
final
String
API_AUTH_PARAM_USER_NAME
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
?
API_AUTH_PARAM_USER_NAME_
PRODUCTION
?
API_AUTH_PARAM_USER_NAME_
RELEASE
:
API_AUTH_PARAM_USER_NAME_
TEST
);
:
API_AUTH_PARAM_USER_NAME_
DEBUG
);
public
static
final
String
API_AUTH_PARAM_PASSWORD
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
public
static
final
String
API_AUTH_PARAM_PASSWORD
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
?
API_AUTH_PARAM_PASSWORD_
PRODUCTION
?
API_AUTH_PARAM_PASSWORD_
RELEASE
:
API_AUTH_PARAM_PASSWORD_
TEST
);
:
API_AUTH_PARAM_PASSWORD_
DEBUG
);
private
static
final
String
API_PATH
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
private
static
final
String
API_PATH
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
?
API_PATH_
PRODUCTION
?
API_PATH_
RELEASE
:
API_PATH_
TEST
);
:
API_PATH_
DEBUG
);
private
static
final
String
DOMAIN_FROM_BUILD
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
private
static
final
String
DOMAIN_FROM_BUILD
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
?
DOMAIN_
PRODUCTION
?
DOMAIN_
RELEASE
:
DOMAIN_
TEST
);
:
DOMAIN_
DEBUG
);
/**
/**
* Decides the Client data used
* Decides the Client data used
*/
*/
private
static
final
String
LOGIN_CLIENT_ID_
PRODUCTION
=
AppConfig
.
LOGIN_CLIENT_ID_PRODUCTION
;
private
static
final
String
LOGIN_CLIENT_ID_
RELEASE
=
AppConfig
.
LOGIN_CLIENT_ID_RELEASE
;
private
static
final
String
LOGIN_CLIENT_SECRET_
PRODUCTION
=
AppConfig
.
LOGIN_CLIENT_SECRET_PRODUCTION
;
private
static
final
String
LOGIN_CLIENT_SECRET_
RELEASE
=
AppConfig
.
LOGIN_CLIENT_SECRET_RELEASE
;
private
static
final
String
LOGIN_CLIENT_ID_
TEST
=
AppConfig
.
LOGIN_CLIENT_ID_TEST
;
private
static
final
String
LOGIN_CLIENT_ID_
DEBUG
=
AppConfig
.
LOGIN_CLIENT_ID_DEBUG
;
private
static
final
String
LOGIN_CLIENT_SECRET_
TEST
=
AppConfig
.
LOGIN_CLIENT_SECRET_TEST
;
private
static
final
String
LOGIN_CLIENT_SECRET_
DEBUG
=
AppConfig
.
LOGIN_CLIENT_SECRET_DEBUG
;
public
static
final
String
LOGIN_CLIENT_ID
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
public
static
final
String
LOGIN_CLIENT_ID
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
?
LOGIN_CLIENT_ID_
PRODUCTION
?
LOGIN_CLIENT_ID_
RELEASE
:
LOGIN_CLIENT_ID_
TEST
);
:
LOGIN_CLIENT_ID_
DEBUG
);
public
static
final
String
LOGIN_CLIENT_SECRET
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
public
static
final
String
LOGIN_CLIENT_SECRET
=
(
BUILD_TYPE_RELEASE
==
BuildConfig
.
BUILD_TYPE_INT
?
LOGIN_CLIENT_SECRET_
PRODUCTION
?
LOGIN_CLIENT_SECRET_
RELEASE
:
LOGIN_CLIENT_SECRET_
TEST
);
:
LOGIN_CLIENT_SECRET_
DEBUG
);
/**
/**
* Domain to use
* Domain to use
...
...
app/src/uofl/java/com/vsoft/servicenow/AppConfig.java
View file @
c71e8f4f
...
@@ -9,14 +9,14 @@ public class AppConfig {
...
@@ -9,14 +9,14 @@ public class AppConfig {
public
static
final
String
CHAT_SERVER_URL
=
"http://111.93.6.218:12910/"
;
public
static
final
String
CHAT_SERVER_URL
=
"http://111.93.6.218:12910/"
;
public
static
final
String
DOMAIN_
PRODUCTION
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
RELEASE
=
"https://ven01199.service-now.com/"
;
public
static
final
String
DOMAIN_
TEST
=
"https://ven01199.service-now.com/"
;
//"https://uofltest.service-now.com/";
public
static
final
String
DOMAIN_
DEBUG
=
"https://ven01199.service-now.com/"
;
//"https://uofltest.service-now.com/";
public
static
final
String
LOGIN_CLIENT_ID_
PRODUCTION
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
RELEASE
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
PRODUCTION
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
RELEASE
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_ID_
TEST
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_ID_
DEBUG
=
"d958eb06b0f3830093781f441d59febc"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
TEST
=
"krD*!O}1.8"
;
public
static
final
String
LOGIN_CLIENT_SECRET_
DEBUG
=
"krD*!O}1.8"
;
/**
/**
* Web services urls
* Web services urls
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment