diff --git a/ng6-seed/src/app/AwsService/aws.service.ts b/ng6-seed/src/app/AwsService/aws.service.ts
index 5eb076a8f..a2c865dcc 100755
--- a/ng6-seed/src/app/AwsService/aws.service.ts
+++ b/ng6-seed/src/app/AwsService/aws.service.ts
@@ -51,7 +51,8 @@ const sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961";//"ap
const lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907";
const vendorIdenttiy = "ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874";
// serviceProvider
-const apiurl = "http://ssa.sineedge.com/sparqapi/api/";
+const apiurl = environment.apiEndpoint;
+//const apiurl = "http://ssa.sineedge.com/sparqapi/api/";
//const apiurl = "http://localhost/sparqapi/api/";
@Injectable({
diff --git a/ng6-seed/src/app/AwsService/cognito.service.ts b/ng6-seed/src/app/AwsService/cognito.service.ts
index a568b7c1f..3b878b19c 100644
--- a/ng6-seed/src/app/AwsService/cognito.service.ts
+++ b/ng6-seed/src/app/AwsService/cognito.service.ts
@@ -40,7 +40,8 @@ const sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961";//"ap
const lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907";
const vendorIdenttiy = "";
// serviceProvider
-const apiurl = "http://ssa.sineedge.com/sparqapi/api/";
+//const apiurl = "http://ssa.sineedge.com/sparqapi/api/";
+const apiurl = environment.apiEndpoint;
// const apiurl = "http://localhost/sparqapi/api/";
export interface Callback {
diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
index 405f46144..33b989c0c 100644
--- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
+++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
@@ -8,6 +8,9 @@ import { of } from 'rxjs';
/** Imported Service Files Are., */
import { AwsService } from '../../AwsService/aws.service';
+/** Environment */
+import { environment } from 'environments/environment'
+
const currentdate = new Date().toJSON().slice(0,19).replace('T',' ');
/** Master Interface */
export interface Master {
@@ -22,7 +25,8 @@ export class PdTrigerService {
//private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
//private apiUrl = "http://192.168.0.5:9999/AWSEC2/sparqapi/api/";
- private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ //private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ private apiUrl = environment.apiEndpoint;
MAP_API_KEY: string;
MAP_API_URL: string;
constructor(private _http: HttpClient,
diff --git a/ng6-seed/src/app/quality-check/qc-service/qc.service.ts b/ng6-seed/src/app/quality-check/qc-service/qc.service.ts
index 3a43347e2..101e6da51 100644
--- a/ng6-seed/src/app/quality-check/qc-service/qc.service.ts
+++ b/ng6-seed/src/app/quality-check/qc-service/qc.service.ts
@@ -8,6 +8,9 @@ import { of } from 'rxjs';
/** Imported Service Files Are., */
import { AwsService } from '../../AwsService/aws.service';
+/** Environment */
+import { environment } from 'environments/environment';
+
const currentdate = new Date().toJSON().slice(0,19).replace('T',' ');
/** Master Interface */
export interface Master {
@@ -26,7 +29,9 @@ export class QcService {
//private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
//private apiUrl = "http://192.168.0.5:9999/AWSEC2/sparqapi/api/";
- private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ //private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ private apiUrl = environment.apiEndpoint;
+
MAP_API_KEY: string;
MAP_API_URL: string;
constructor(private _http: HttpClient,
diff --git a/ng6-seed/src/app/session/login/login-component.html b/ng6-seed/src/app/session/login/login-component.html
index 61229ce5e..41ee7e92e 100644
--- a/ng6-seed/src/app/session/login/login-component.html
+++ b/ng6-seed/src/app/session/login/login-component.html
@@ -2,7 +2,7 @@
- 0" >
+ 0">
+
-
+
{{ product.category_name }}
-
+
{{ product.question }}
-
+
-
-
-
+ 0">
+
+
- No Record Found ...
+
+ No Record Found ...
+
diff --git a/ng6-seed/src/app/template/service/masters/masters.service.ts b/ng6-seed/src/app/template/service/masters/masters.service.ts
index 0448504d2..1b33ce9ee 100644
--- a/ng6-seed/src/app/template/service/masters/masters.service.ts
+++ b/ng6-seed/src/app/template/service/masters/masters.service.ts
@@ -7,27 +7,21 @@ import { of } from 'rxjs';
/** Imported Service Files Are., */
import { AwsService } from '../../../AwsService/aws.service';
-//import { environment } from 'environments/environment';
+/** Environment */
+import { environment } from 'environments/environment';
/** Consant Value For Created Date And Updated Date */
const currentdate = new Date().toJSON().slice(0,19).replace('T',' ');
-/** Master Interface */
-export interface Master {
- master_id:number;
- master_name:string;
- constant_name:string;
-}
-
@Injectable()
export class MastersService {
- private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
-
-
+ //private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ private apiUrl = environment.apiEndpoint;
+
constructor(private _http: HttpClient,
private _aws:AwsService) { }
diff --git a/ng6-seed/src/app/template/service/questions/questions.service.ts b/ng6-seed/src/app/template/service/questions/questions.service.ts
index 1b532635c..ef9382c38 100644
--- a/ng6-seed/src/app/template/service/questions/questions.service.ts
+++ b/ng6-seed/src/app/template/service/questions/questions.service.ts
@@ -9,6 +9,8 @@ import 'rxjs/add/operator/map';
import { AwsService } from '../../../AwsService/aws.service';
/** Consant Value For Created Date And Updated Date */
const currentdate = new Date().toJSON().slice(0, 19).replace('T', ' ');
+/** Environment */
+import { environment } from 'environments/environment';
@Injectable({
@@ -20,7 +22,9 @@ const currentdate = new Date().toJSON().slice(0, 19).replace('T', ' ');
* Kdk
*/
export class QuestionsService {
- private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+
+ //private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ private apiUrl = environment.apiEndpoint;
private serviceUrl = 'https://jsonplaceholder.typicode.com/users';
constructor(private _http: HttpClient,
diff --git a/ng6-seed/src/app/template/service/templates/templates.service.ts b/ng6-seed/src/app/template/service/templates/templates.service.ts
index e7349be3a..b5fcce97a 100644
--- a/ng6-seed/src/app/template/service/templates/templates.service.ts
+++ b/ng6-seed/src/app/template/service/templates/templates.service.ts
@@ -9,13 +9,17 @@ import 'rxjs/add/operator/map';
import { AwsService } from '../../../AwsService/aws.service';
/** Consant Value For Created Date And Updated Date */
const currentdate = new Date().toJSON().slice(0, 19).replace('T', ' ');
-
+/** Environment */
+import { environment } from 'environments/environment';
@Injectable({
providedIn: 'root'
})
+
export class TemplatesService {
- private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+
+ //private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+ private apiUrl = environment.apiEndpoint;
constructor(private _http: HttpClient,
private _aws: AwsService) { }
diff --git a/ng6-seed/src/environments/environment.prod.ts b/ng6-seed/src/environments/environment.prod.ts
index 3612073bc..923b82d40 100644
--- a/ng6-seed/src/environments/environment.prod.ts
+++ b/ng6-seed/src/environments/environment.prod.ts
@@ -1,3 +1,4 @@
export const environment = {
- production: true
-};
+ production: true,
+ apiEndpoint: 'http://ssa.sineedge.com/sparqtest/api/'
+};
\ No newline at end of file
diff --git a/ng6-seed/src/environments/environment.ts b/ng6-seed/src/environments/environment.ts
index 7a2a068d0..adb47058a 100644
--- a/ng6-seed/src/environments/environment.ts
+++ b/ng6-seed/src/environments/environment.ts
@@ -24,5 +24,6 @@ export const environment = {
dynamodb_endpoint: '',
s3_endpoint: '',
accessToken:'',
- apiUrl:'http://localhost/sparqapi/api/'
+ //apiUrl:'http://localhost/sparqapi/api/'
+ apiEndpoint: 'http://ssa.sineedge.com/sparqapi/api/'
};
diff --git a/ng6-seed/src/index.html b/ng6-seed/src/index.html
index 51b54d9ba..84a9194ad 100644
--- a/ng6-seed/src/index.html
+++ b/ng6-seed/src/index.html
@@ -139,8 +139,8 @@
color:#000 !important;
}
-
-
+
+