Skip to content

Commit

Permalink
Remove audits from Angular client generator
Browse files Browse the repository at this point in the history
  • Loading branch information
avdev4j committed Jul 14, 2020
1 parent e4ac2eb commit 116199a
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 735 deletions.
20 changes: 0 additions & 20 deletions generators/client/files-angular.js
Expand Up @@ -257,20 +257,6 @@ const files = {
'admin/metrics/metrics.service.ts',
],
},
{
condition: generator =>
(generator.databaseType !== 'no' || generator.authenticationType === 'uaa') && generator.databaseType !== 'cassandra',
path: ANGULAR_DIR,
templates: [
{ file: 'admin/audits/audits.route.ts', method: 'processJs' },
{ file: 'admin/audits/audits.module.ts', method: 'processJs' },
'admin/audits/audit-data.model.ts',
'admin/audits/audit.model.ts',
{ file: 'admin/audits/audits.component.ts', method: 'processJs' },
{ file: 'admin/audits/audits.component.html', method: 'processHtml' },
'admin/audits/audits.service.ts',
],
},
{
condition: generator => generator.websocket === 'spring-websocket',
path: ANGULAR_DIR,
Expand Down Expand Up @@ -460,12 +446,6 @@ const files = {
'spec/app/core/login/login-modal.service.spec.ts',
],
},
{
condition: generator =>
(generator.databaseType !== 'no' || generator.authenticationType === 'uaa') && generator.databaseType !== 'cassandra',
path: TEST_SRC_DIR,
templates: ['spec/app/admin/audits/audits.component.spec.ts', 'spec/app/admin/audits/audits.service.spec.ts'],
},
{
condition: generator => !generator.skipUserManagement,
path: TEST_SRC_DIR,
Expand Down
Expand Up @@ -34,12 +34,6 @@ import { RouterModule } from '@angular/router';
}
},
<%_ } _%>
<%_ if ((databaseType !== 'no' || authenticationType === 'uaa') && databaseType !== 'cassandra') { _%>
{
path: 'audits',
loadChildren: () => import('./audits/audits.module').then(m => m.AuditsModule)
},
<%_ } _%>
{
path: 'configuration',
loadChildren: () => import('./configuration/configuration.module').then(m => m.ConfigurationModule)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 116199a

Please sign in to comment.