-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* First pass, DEM data set validation * Validate DEM data set with additional schematrons * Fix naming collision and test * Refactor xsd/schematron validation for reuse in SOAP webservice implementation, consistency * Finishing setup for schematron error conversion to json * First pass, convert schematron errors to JSON * Deprecated code cleanup, fix validation issue with employment/personnel record * Always show validation errors * First pass, linking to validation errors * Fix test
- Loading branch information
Showing
40 changed files
with
402 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
.../projects/admin/src/app/demographics/custom-configurations-list-demographics.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
angular/projects/admin/src/app/demographics/devices-list-demographics.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
angular/projects/admin/src/app/demographics/locations-list-demographics.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
angular/projects/admin/src/app/demographics/vehicles-list-demographics.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...projects/admin/src/app/demographics/versions/validate-version-demographics.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3"> | ||
<h1 class="h2">Version</h1> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<ul class="nav"> | ||
<li class="nav__item"><a tabIndex="0" class="nav__link" routerLink="..">Details</a></li> | ||
<li class="nav__item"><a tabIndex="0" class="nav__link" routerLink="../preview">XML</a></li> | ||
<li class="nav__item"><a tabIndex="0" class="nav__link nav__link--active">Validation</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div> | ||
<div *ngIf="validationErrors === undefined"><shared-loader></shared-loader></div> | ||
<div *ngIf="validationErrors === null">No validation errors!</div> | ||
<div *ngIf="validationErrors"> | ||
<div *ngFor="let error of validationErrors.errors"> | ||
{{ error.value }}: {{ error.message }} <a [routerLink]="['/demographics', error.section, error.id]">Fix</a> | ||
</div> | ||
</div> | ||
</div> |
19 changes: 19 additions & 0 deletions
19
...r/projects/admin/src/app/demographics/versions/validate-version-demographics.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { ActivatedRoute } from '@angular/router'; | ||
import { HttpResponse } from '@angular/common/http'; | ||
import { ApiService } from 'shared'; | ||
|
||
@Component({ | ||
templateUrl: './validate-version-demographics.component.html', | ||
}) | ||
export class ValidateVersionDemographicsComponent implements OnInit { | ||
id: string = ''; | ||
validationErrors: any; | ||
|
||
constructor(private api: ApiService, private route: ActivatedRoute) {} | ||
|
||
ngOnInit() { | ||
this.id = this.route.snapshot.params['id']; | ||
this.api.versions.validate(this.id).subscribe((response: HttpResponse<any>) => (this.validationErrors = response.body)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 0 additions & 73 deletions
73
angular/projects/admin/src/app/schema/base-schema.component.ts
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
angular/projects/admin/src/app/schema/schema-list.component.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.