Commit 6e13218b authored by Vitali Stupin's avatar Vitali Stupin

Additional statuses for WSDL's

parent 6f58381d
......@@ -15,8 +15,10 @@
{{method.fullMethodName}}
<a href="{{getApiUrlBase()}}{{method.wsdl}}" class="badge badge-success"
*ngIf="method.wsdl" [target]="'_blank'">WSDL</a>
<span class="badge badge-danger" *ngIf="!method.wsdl">{{'subsystem.statusWsdlError' | translate}}</span>
</p>
<span class="badge badge-danger" *ngIf="method.methodStatus == 'ERROR'">{{'subsystem.statusWsdlError' | translate}}</span>
<span class="badge badge-danger" *ngIf="method.methodStatus == 'TIMEOUT'">{{'subsystem.statusWsdlTimeout' | translate}}</span>
<span class="badge badge-warning" *ngIf="method.methodStatus == 'SKIPPED'">{{'subsystem.statusWsdlSkipped' | translate}}</span>
</p>
<p *ngIf="getNotInPreview() > 0" class="pointerCursor" (click)="showDetail()">
{{'subsystem.moreMethods' | translate:{"count": getNotInPreview()} }}
</p>
......
......@@ -27,8 +27,10 @@
{{method.fullMethodName}}
<a href="{{getApiUrlBase()}}{{method.wsdl}}" class="badge badge-success"
*ngIf="method.wsdl" [target]="'_blank'">WSDL</a>
<span class="badge badge-danger" *ngIf="!method.wsdl">{{'subsystem.statusWsdlError' | translate}}</span>
</p>
<span class="badge badge-danger" *ngIf="method.methodStatus == 'ERROR'">{{'subsystem.statusWsdlError' | translate}}</span>
<span class="badge badge-danger" *ngIf="method.methodStatus == 'TIMEOUT'">{{'subsystem.statusWsdlTimeout' | translate}}</span>
<span class="badge badge-warning" *ngIf="method.methodStatus == 'SKIPPED'">{{'subsystem.statusWsdlSkipped' | translate}}</span>
</p>
</div>
</div>
</div>
......@@ -28,6 +28,8 @@
"statusEmpty": "Empty",
"statusError": "Error",
"statusWsdlError": "Error while downloading or parsing of WSDL",
"statusWsdlTimeout": "WSDL query timed out",
"statusWsdlSkipped": "WSDL skipped due to previous Timeout",
"allSystemsBtn": "Show all subsystems",
"statusErrorInfo": "Subsystem either could not be reached by RIA's Monitoring Security Server or there was some other error during the request.",
"statusEmptyInfo": "Subsystem does not have any methods.",
......
......@@ -28,6 +28,8 @@
"statusEmpty": "Tühi",
"statusError": "Viga",
"statusWsdlError": "Viga WSDL'i laadimisel või töötlemisel",
"statusWsdlTimeout": "WSDL'i laadimine aegus",
"statusWsdlSkipped": "Eelneva aegumise tõttu WSDL'i laadimine pole teostatud",
"allSystemsBtn": "Näita kõiki alamsüsteeme",
"statusErrorInfo": "Alamsüsteem kas ei ole ligipääsetav RIA monitooringu turvaserveri poolt, või päringu tegemisel ilmnes muu viga.",
"statusEmptyInfo": "Alamsüsteem ei oma X-tee teenuseid.",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment