Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Audit log,resolved merge conflict
[portal.git]
/
portal-FE-common
/
src
/
app
/
pages
/
dashboard-application-catalog
/
dashboard-application-catalog.component.ts
diff --git
a/portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
b/portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
index
f8a80bb
..
bd6500b
100644
(file)
--- a/
portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
+++ b/
portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
@@
-46,6
+46,7
@@
import { CatalogModalComponent } from '../catalog-modal/catalog-modal.component'
import { ExternalRequestAccessService } from 'src/app/shared/services/external-request-access-service/external-request-access.service';
import { UsersService } from 'src/app/shared/services/users/users.service';
import { AddTabFunctionService } from 'src/app/shared/services/tab/add-tab-function.service';
import { ExternalRequestAccessService } from 'src/app/shared/services/external-request-access-service/external-request-access.service';
import { UsersService } from 'src/app/shared/services/users/users.service';
import { AddTabFunctionService } from 'src/app/shared/services/tab/add-tab-function.service';
+import { AuditLogService } from 'src/app/shared/services/auditLog/audit-log.service';
@Component({
selector: 'app-dashboard-application-catalog',
@Component({
selector: 'app-dashboard-application-catalog',
@@
-67,7
+68,7
@@
export class DashboardApplicationCatalogComponent implements OnInit {
return this.applicationCatalogService.options;
} get layout(): GridsterItem[] {
return this.applicationCatalogService.layout;
return this.applicationCatalogService.options;
} get layout(): GridsterItem[] {
return this.applicationCatalogService.layout;
- } constructor(private applicationCatalogService: ApplicationCatalogService, private externalRequestAccessService: ExternalRequestAccessService, private userService: UsersService,private addTabFuntionService: AddTabFunctionService) {
+ } constructor(private applicationCatalogService: ApplicationCatalogService, private externalRequestAccessService: ExternalRequestAccessService, private userService: UsersService,private addTabFuntionService: AddTabFunctionService
, private auditLogService: AuditLogService
) {
this.sortOptions = [{
index: 0,
value: 'N',
this.sortOptions = [{
index: 0,
value: 'N',
@@
-214,4
+215,12
@@
export class DashboardApplicationCatalogComponent implements OnInit {
this.addTabFuntionService.filter(tabContent);
}
}
this.addTabFuntionService.filter(tabContent);
}
}
+
+ auditLog(app:any) {
+ this.auditLogService.storeAudit(app.appId, 'app', app.url).subscribe(data => {
+ console.log('App action Saved');
+ }, error => {
+ console.log('auditLog Save Error' + error);
+ });
+ }
}
\ No newline at end of file
}
\ No newline at end of file