Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
X-tee
X-Road-catalogue
Commits
6e13218b
Commit
6e13218b
authored
Mar 13, 2019
by
Vitali Stupin
Browse files
Additional statuses for WSDL's
parent
6f58381d
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/app/subsystem-list/subsystem-item/subsystem-item.component.html
View file @
6e13218b
...
...
@@ -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>
...
...
src/app/subsystem/subsystem.component.html
View file @
6e13218b
...
...
@@ -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>
src/assets/i18n/eng.json
View file @
6e13218b
...
...
@@ -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."
,
...
...
src/assets/i18n/est.json
View file @
6e13218b
...
...
@@ -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."
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment