Zuletzt geändert von Jannis Klein am 2025/02/13 13:15

Von Version 23.1
bearbeitet von Jannis Klein
am 2025/02/06 15:00
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 24.1
bearbeitet von Jannis Klein
am 2025/02/06 15:03
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -414,10 +414,50 @@
414 414  1. Wechseln Sie in den Skript-Tab //OnStart //und fügen Sie den nachfolgenden Code in die Datei ein.
415 415  1. Wechseln Sie in den Skript-Tab //OnExecute //und fügen Sie den nachfolgenden Code in die Datei ein.
416 416  
417 +|(% style="width:698px" %){{code}}#
418 +# This gets executed perpetually by the scheduler. Main business logic should go here.
419 +#
420 +
421 +try {
422 + # Trying to fetch new data
423 + Write-Host "Fetching new data from the api."
424 + $result = Get-ISSData -ApiUrl $configuration.ApiUrl
425 +
426 + # Converting the data to icql
427 + $icql = ConvertTo-AESBIcql $result
428 +
429 + # Sending the data to the next microserice
430 + Publish-AESBMessage -Alias $configuration.Target -Message $icql
431 +}
432 +catch {
433 + Write-Error $_
434 +}{{/code}}|(% style="width:928px" %){{code}}#
435 +# This gets executed perpetually by the scheduler. Main business logic should go here.
436 +#
437 +
438 +try {
439 + # Trying to fetch new data
440 + Write-Host "Fetching new data from the api."
441 + $result = Get-ISSData -ApiUrl $configuration.ApiUrl
442 +
443 + # Converting the data to icql
444 + $icql = ConvertTo-AESBIcql $result
445 +
446 + # Sending the data to the next microserice
447 + Publish-AESBMessage -Alias $configuration.Target -Message $icql
448 +}
449 +catch {
450 + Write-Error $_
451 +}{{/code}}
417 417  
418 418  (% class="wikigeneratedid" %)
419 419  **ISSAssetImporter**
420 420  
456 +
457 +
458 +(% class="wikigeneratedid" %)
459 +
460 +
421 421  == Microservice-Schema erstellen ==
422 422  
423 423  = Fehlerbehandlung =
© Aagon GmbH 2025
Besuchen Sie unsere neue Aagon-Community