Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 239.1
bearbeitet von Carina Enke
am 19.05.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 9.0.
Auf Version 378.1
bearbeitet von sandra_riediger
am 15.12.2014
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.carina
1 +XWiki.sandra_riediger
Inhalt
... ... @@ -1,105 +1,42 @@
1 1  {{sv-translation language="de"}}
2 2  {{layout}}
3 -{{layout-section ac:type="single"}}
3 +{{layout-section ac:type="two_right_sidebar"}}
4 4  {{layout-cell}}
5 +====== Inhalt: ======
5 5  
6 6  
7 -{{details}}
8 -(% class="wrapped" %)
9 -|=(((
10 -Verantwortlicher
11 -)))|(((
12 -\\
13 -)))
14 -|=(% colspan="1" %)(% colspan="1" %)
15 -(((
16 -Status
17 -)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
18 -(((
19 -(% class="content-wrapper" %)
20 -(((
21 -{{sv-metadata type="workflow-status"/}}
22 22  
23 -{{status colour="Green" title="Fertig"/}}
24 -)))
25 -)))
9 +{{toc maxLevel="5" style="square" outline="true" absoluteUrl="true"/}}
10 +{{/layout-cell}}
11 +
12 +{{layout-cell}}
26 26  |=(% colspan="1" %)(% colspan="1" %)
27 27  (((
28 -Varianten
15 +Programmversion
29 29  )))|(% colspan="1" %)(% colspan="1" %)
30 30  (((
31 -(% class="content-wrapper" %)
32 -(((
33 -{{sv-metadata type="variants"/}}
18 +
34 34  )))
20 +|=(((
21 +Status
22 +)))|(((
23 +(% class="status-macro aui-lozenge aui-lozenge-error" %)ENTWURF
35 35  )))
36 -|=(% colspan="1" %)(% colspan="1" %)
37 -(((
38 -Attribute
39 -)))|(% colspan="1" %)(% colspan="1" %)
40 -(((
41 -(% class="content-wrapper" %)
42 -(((
43 -{{sv-metadata type="attributes"/}}
44 -)))
45 -)))
46 -|=(% colspan="1" %)(% colspan="1" %)
47 -(((
48 -Pagekey
49 -)))|(% colspan="1" %)(% colspan="1" %)
50 -(((
51 -(% class="content-wrapper" %)
52 -(((
53 -{{sv-metadata type="pagekey"/}}
54 -)))
55 -)))
56 -|=(% colspan="1" %)(% colspan="1" %)
57 -(((
58 -Übersetzung
59 -)))|(% colspan="1" %)(% colspan="1" %)
60 -(((
61 -(% class="content-wrapper" %)
62 -(((
63 - ONYX Reporter interface
25 +|=(((
26 +Aufgaben
27 +)))|(((
28 +
64 64  
65 -{{status colour="Green" title="Fertig"/}}
30 +
66 66  )))
32 +|=(((
33 +JIRA
34 +)))|(((
35 +
67 67  )))
68 -|=(% colspan="1" %)(% colspan="1" %)
69 -(((
70 -TODOs
71 -)))|(% colspan="1" %)(% colspan="1" %)
72 -(((
73 -(% class="content-wrapper" %)
74 -(((
75 -(% class="task-list" %)
76 -(((
77 -{{task reference="/Tasks/Task_9" status="Done"}}
78 -carina {{mention reference="XWiki.0a49950f5c0f19a8015c101b60e10001" style="FULL_NAME" anchor="XWiki-0a49950f5c0f19a8015c101b60e10001-ysSwd"/}}: Übersetzung offen
79 -{{/task}}
80 -)))
81 -)))
82 -)))
83 -{{/details}}
84 84  {{/layout-cell}}
85 85  {{/layout-section}}
86 86  
87 -{{layout-section ac:type="two_right_sidebar"}}
88 -{{layout-cell}}
89 -\\
90 -{{/layout-cell}}
91 -
92 -{{layout-cell}}
93 -{{scroll-ignore}}
94 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
95 -
96 -
97 -{{toc/}}
98 -{{/panel}}
99 -{{/scroll-ignore}}
100 -{{/layout-cell}}
101 -{{/layout-section}}
102 -
103 103  {{layout-section ac:type="single"}}
104 104  {{layout-cell}}
105 105  == Allgemeines ==
... ... @@ -106,7 +106,6 @@
106 106  
107 107  Über die Schnittstelle zum ONYX WebReporter erfolgt jede Kommunikation zwischen dem LMS und dem Reporter. Dazu erfolgt eine Reihe von Aufrufen:
108 108  
109 -(% class="wrapped" %)
110 110  |(((
111 111  armSite
112 112  )))|(((
... ... @@ -137,7 +137,7 @@
137 137  
138 138  == Anmeldung des LMS ==
139 139  
140 -{{code language="xml" title="Anmeldung des LMS"}}
76 +{{code title="Anmeldung des LMS" language="xml"}}
141 141  @WebMethod(operationName = „armSite")
142 142  public String armSite(
143 143  @WebParam(name = „version") final Integer version,
... ... @@ -152,7 +152,6 @@
152 152  
153 153  === Parameter armSite ===
154 154  
155 -(% class="wrapped" %)
156 156  |(((
157 157  version
158 158  )))|(((
... ... @@ -195,7 +195,6 @@
195 195  
196 196  === ReturnValue armSite ===
197 197  
198 -(% class="wrapped" %)
199 199  |(((
200 200  String
201 201  )))|(((
... ... @@ -204,7 +204,7 @@
204 204  
205 205  == Initialisierung durch LMS ==
206 206  
207 -{{code language="xml" title="Initialisierung durch LMS"}}
141 +{{code title="Initialisierung durch LMS" language="xml"}}
208 208  @WebMethod(operationName = „initiateSite")
209 209  public String initiateSite(
210 210  @WebParam(name = „version") final Integer version,
... ... @@ -218,7 +218,6 @@
218 218  
219 219  === Parameter initiateSite ===
220 220  
221 -(% class="wrapped" %)
222 222  |(((
223 223  version
224 224  )))|(((
... ... @@ -254,7 +254,6 @@
254 254  
255 255  === ReturnValue initiateSite ===
256 256  
257 -(% class="wrapped" %)
258 258  |(((
259 259  String
260 260  )))|(((
... ... @@ -278,7 +278,7 @@
278 278  
279 279  == Abmeldung durch LMS ==
280 280  
281 -\\
213 +
282 282  
283 283  {{code}}
284 284  @WebMethod(operationName = „disarmSite")
... ... @@ -290,11 +290,10 @@
290 290  }
291 291  {{/code}}
292 292  
293 -\\
225 +
294 294  
295 295  === Parameter disarmSite ===
296 296  
297 -(% class="wrapped" %)
298 298  |(((
299 299  version
300 300  )))|(((
... ... @@ -320,7 +320,6 @@
320 320  
321 321  === ReturnValue disarmSite ===
322 322  
323 -(% class="wrapped" %)
324 324  |(((
325 325  Boolean
326 326  )))|(((
... ... @@ -329,7 +329,7 @@
329 329  
330 330  == Abfrage von Lernerresultaten durch LMS ==
331 331  
332 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
262 +{{code title="Abfrage von Lernerresultaten durch LMS" language="xml"}}
333 333   @WebMethod(operationName = „getResultValues")
334 334  public HashMapWrapper getResultValues(
335 335   @WebParam(name = „version") final Integer version,
... ... @@ -343,7 +343,6 @@
343 343  
344 344  === Parameter getResultValues ===
345 345  
346 -(% class="wrapped" %)
347 347  |(((
348 348  version
349 349  )))|(((
... ... @@ -374,7 +374,6 @@
374 374  
375 375  === ReturnValue getResultValues ===
376 376  
377 -(% class="wrapped" %)
378 378  |(((
379 379  HashMap<String, String>
380 380  )))|(((
... ... @@ -383,7 +383,7 @@
383 383  
384 384  == Abfrage von Ergebnisvariablen durch LMS ==
385 385  
386 -{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
314 +{{code title="Abfrage von Ergebnisvariablen durch LMS" language="xml"}}
387 387   @WebMethod(operationName = „getResultVariables")
388 388  public HashMapWrapper getResultVariables(
389 389  @WebParam(name = „version") final Integer version,
... ... @@ -394,7 +394,6 @@
394 394  
395 395  === Parameter getResultVariables ===
396 396  
397 -(% class="wrapped" %)
398 398  |(((
399 399  version
400 400  )))|(((
... ... @@ -413,7 +413,6 @@
413 413  
414 414  === ReturnValue getResultVariables ===
415 415  
416 -(% class="wrapped" %)
417 417  |(((
418 418  HashMap<String, String>
419 419  )))|(((
... ... @@ -422,7 +422,7 @@
422 422  
423 423  == Wrapper ==
424 424  
425 -Da die Übertragung von Maps und Listen über JAX-WS Probleme machen kann, müssen diese gewrappt werden.
351 +Da die Übertragung von Maps und Listen über JAX-WS Probleme macht (clientseitig gefüllte Listen werden leer über den WS versandt und kommen daher auch leer serverseitig an), müssen diese gewrappt werden.
426 426  
427 427  === Wrapper für die HashMap<String, String> ===
428 428  
... ... @@ -442,13 +442,13 @@
442 442  
443 443  {{layout-section ac:type="two_right_sidebar"}}
444 444  {{layout-cell}}
445 -\\
371 +
446 446  {{/layout-cell}}
447 447  
448 448  {{layout-cell}}
449 449  ====== relevante Links: ======
450 450  
451 -* [[doc:ONYX Player Interface]]
377 +* [[doc:Schnittstelle ONYX WebPlayer]]
452 452  {{/layout-cell}}
453 453  {{/layout-section}}
454 454  {{/layout}}
... ... @@ -462,39 +462,64 @@
462 462  
463 463  
464 464  
465 -{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
391 +{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}}
466 466  {{/layout-cell}}
467 467  
468 468  {{layout-cell}}
395 +|=(% colspan="1" %)(% colspan="1" %)
396 +(((
397 +Programmversion
398 +)))|(% colspan="1" %)(% colspan="1" %)
399 +(((
469 469  
401 +)))
402 +|=(((
403 +Status
404 +)))|(((
405 +(% class="status-macro aui-lozenge aui-lozenge-error" %)DRAFT
406 +)))
407 +|=(((
408 +Aufgaben
409 +)))|(((
410 +
411 +
412 +
413 +)))
414 +|=(((
415 +JIRA
416 +)))|(((
417 +
418 +)))
470 470  {{/layout-cell}}
471 471  {{/layout-section}}
472 472  
473 473  {{layout-section ac:type="single"}}
474 474  {{layout-cell}}
475 -== General information ==
424 +
476 476  
477 -The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed:
426 +== Allgemeines ==
478 478  
428 +Über die Schnittstelle zum ONYX WebReporter erfolgt jede Kommunikation zwischen dem LMS und dem Reporter. Dazu erfolgt eine Reihe von Aufrufen:
429 +
479 479  |(((
480 480  armSite
481 481  )))|(((
482 -Registration of sequence requests at the ONYX Reporter
433 +Anmeldung von Folgerequests beim ONYX Reporter.
483 483  )))
484 484  |(((
485 485  initiateSite
486 486  )))|(((
487 -Initiates the Reporter session (transmission of the CP).
438 +Initiiert die Reporter-Session (Übertragung des CPs).
488 488  )))
489 489  |(((
490 490  disarmSite
491 491  )))|(((
492 -Release of all Reporter resources for this session.
443 +Freigabe von allen Reporter-Ressourcen für diese Session.
493 493  )))
494 494  |(((
495 495  getResultValues
496 496  )))|(((
497 -Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite.
448 +Gibt alle bzw. die angeforderten Resultate für den Test zurück. Voraussetzung: Es ist nur exakt ein Student in der bei initiateSite übertragenen Liste.
498 498  )))
499 499  |(% colspan="1" %)(% colspan="1" %)
500 500  (((
... ... @@ -501,12 +501,12 @@
501 501  getResultVariables
502 502  )))|(% colspan="1" %)(% colspan="1" %)
503 503  (((
504 -Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required.
455 +Gibt alle bzw. die angeforderten Outcome-Variablen für den Test zurück. Hierfür sind kein armSite, initiateSite oder disarmSite erforderlich.
505 505  )))
506 506  
507 -== Login through the LMS ==
458 +== Anmeldung des LMS ==
508 508  
509 -{{code language="xml" title="Login through the LMS"}}
460 +{{code title="Anmeldung des LMS" language="xml"}}
510 510  @WebMethod(operationName = „armSite")
511 511  public String armSite(
512 512  @WebParam(name = „version") final Integer version,
... ... @@ -524,27 +524,27 @@
524 524  |(((
525 525  version
526 526  )))|(((
527 -Requested version: 1
478 +Angefragte Version: 1
528 528  )))
529 529  |(((
530 530  userId
531 531  )))|(((
532 -UserId of the requested Reporter user
483 +UserId des anfragenden Reporter-Benutzers
533 533  )))
534 534  |(((
535 535  optionalRole
536 536  )))|(((
537 -Optional. User role. 0 = student, 1 = tutor
488 +Optional. Rolle des Benutzers. 0 = Student, 1= Tutor
538 538  )))
539 539  |(((
540 540  secretToShare
541 541  )))|(((
542 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
493 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben.
543 543  )))
544 544  |(((
545 545  optionalUserLastName
546 546  )))|(((
547 -Optional. Last name of the user.
498 +Optional. Nachname des Benutzers.
548 548  )))
549 549  |(% colspan="1" %)(% colspan="1" %)
550 550  (((
... ... @@ -551,7 +551,7 @@
551 551  optionalUserFirstName
552 552  )))|(% colspan="1" %)(% colspan="1" %)
553 553  (((
554 -Optional. First name of the user.
505 +Optional. Vorname des Benutzers.
555 555  )))
556 556  |(% colspan="1" %)(% colspan="1" %)
557 557  (((
... ... @@ -566,12 +566,12 @@
566 566  |(((
567 567  String
568 568  )))|(((
569 -Session ID which has to be used to mark any other Reporter call.
520 +Session ID, mit der alle weiteren Reporter-Aufrufe gekennzeichnet werden müssen.
570 570  )))
571 571  
572 -== Initialisation through LMS ==
523 +== Initialisierung durch LMS ==
573 573  
574 -{{code language="xml" title="Initialisation through LMS"}}
525 +{{code title="Initialisierung durch LMS" language="xml"}}
575 575  @WebMethod(operationName = „initiateSite")
576 576  public String initiateSite(
577 577  @WebParam(name = „version") final Integer version,
... ... @@ -588,7 +588,7 @@
588 588  |(((
589 589  version
590 590  )))|(((
591 -Requested version: 1
542 +Angefragte Version: 1
592 592  )))
593 593  |(% colspan="1" %)(% colspan="1" %)
594 594  (((
... ... @@ -595,22 +595,22 @@
595 595  sessionId
596 596  )))|(% colspan="1" %)(% colspan="1" %)
597 597  (((
598 -SessionId, as returned by armSite.
549 +SessionId, wie von armSite zurück geliefert.
599 599  )))
600 600  |(((
601 601  secretToShare
602 602  )))|(((
603 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
554 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben.
604 604  )))
605 605  |(((
606 606  students
607 607  )))|(((
608 -List of students and their results. See below.
559 +Liste der Studenten mit ihren Resultaten. Siehe unten.
609 609  )))
610 610  |(((
611 611  optionalContentPackage
612 612  )))|(((
613 -Optional. Content package (zipped) as byte array.
564 +Optional. Content Package (gezippt) als Byte-Array.
614 614  )))
615 615  |(((
616 616  additionalParams
... ... @@ -623,13 +623,11 @@
623 623  |(((
624 624  String
625 625  )))|(((
626 -Absolute URL of the Reporter site for the IFrame. The URL has to be amended by the LMS with the following URL parameters:
577 +Absolute URL der Reporter-Seite für den IFrame. Dieser ist vom LMS durch die folgenden URL-Parameter anzureichern:
627 627  
628 -* sid: Session ID, as returned by armSite
629 -* (((
630 -uid: Student ID, as registrated in the initiateSite at the ONYX Reporter
579 +* sid: Session ID, wie von armSite zurück gegeben
580 +* uid: Student ID, wie in initiateSite beim Reporter angemeldet
631 631  )))
632 -)))
633 633  
634 634  {{code language="xml"}}
635 635  public class ResultsForStudent {
... ... @@ -643,7 +643,7 @@
643 643  }
644 644  {{/code}}
645 645  
646 -== Logout through the LMS ==
595 +== Abmeldung durch LMS ==
647 647  
648 648  
649 649  
... ... @@ -664,7 +664,7 @@
664 664  |(((
665 665  version
666 666  )))|(((
667 -Requested version: 1
616 +Angefragte Version: 1
668 668  )))
669 669  |(% colspan="1" %)(% colspan="1" %)
670 670  (((
... ... @@ -671,12 +671,12 @@
671 671  sessionId
672 672  )))|(% colspan="1" %)(% colspan="1" %)
673 673  (((
674 -SessionId, as returned by armSite.
623 +SessionId, wie von armSite zurück geliefert.
675 675  )))
676 676  |(((
677 677  secretToShare
678 678  )))|(((
679 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
628 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben.
680 680  )))
681 681  |(((
682 682  additionalParams
... ... @@ -689,12 +689,12 @@
689 689  |(((
690 690  Boolean
691 691  )))|(((
692 -True in the case of success, otherwise false.
641 +True bei Erfolg, sonst false.
693 693  )))
694 694  
695 -== Request of learner results through the LMS ==
644 +== Abfrage von Lernerresultaten durch LMS ==
696 696  
697 -{{code language="xml" title="Request of learner results through the LMS"}}
646 +{{code title="Abfrage von Lernerresultaten durch LMS" language="xml"}}
698 698   @WebMethod(operationName = „getResultValues")
699 699  public HashMapWrapper getResultValues(
700 700   @WebParam(name = „version") final Integer version,
... ... @@ -711,7 +711,7 @@
711 711  |(((
712 712  version
713 713  )))|(((
714 -Requested version: 1
663 +Angefragte Version: 1
715 715  )))
716 716  |(% colspan="1" %)(% colspan="1" %)
717 717  (((
... ... @@ -718,17 +718,17 @@
718 718  sessionId
719 719  )))|(% colspan="1" %)(% colspan="1" %)
720 720  (((
721 -SessionId, as returned by armSite.
670 +SessionId, wie von armSite zurück geliefert.
722 722  )))
723 723  |(((
724 724  secretToShare
725 725  )))|(((
726 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
675 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben.
727 727  )))
728 728  |(((
729 729  requestedValues
730 730  )))|(((
731 -Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned.
680 +Kann leer sein, dann werden alle Result-Variables zurück geliefert. Sind Keys enthalten, so kommen nur diese zurück.
732 732  )))
733 733  |(((
734 734  additionalParams
... ... @@ -741,12 +741,12 @@
741 741  |(((
742 742  HashMap<String, String>
743 743  )))|(((
744 -Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
693 +Map der Result-Variables, Key ist der Variablenname, Value der jeweilige Wert (HashMap ist gewrappt)
745 745  )))
746 746  
747 -== Request of result variables through the LMS ==
696 +== Abfrage von Ergebnisvariablen durch LMS ==
748 748  
749 -{{code language="xml" title="Request of result variables through the LMS"}}
698 +{{code title="Abfrage von Ergebnisvariablen durch LMS" language="xml"}}
750 750   @WebMethod(operationName = „getResultVariables")
751 751  public HashMapWrapper getResultVariables(
752 752  @WebParam(name = „version") final Integer version,
... ... @@ -760,12 +760,12 @@
760 760  |(((
761 761  version
762 762  )))|(((
763 -Requested version: 1
712 +Angefragte Version: 1
764 764  )))
765 765  |(((
766 766  contentPackage
767 767  )))|(((
768 -Content package (zipped) as byte array.
717 +Content Package (gezippt) als Byte-Array.
769 769  )))
770 770  |(((
771 771  additionalParams
... ... @@ -778,14 +778,14 @@
778 778  |(((
779 779  HashMap<String, String>
780 780  )))|(((
781 -Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
730 +Map der Result-Variables, Key ist der Variablenname, Value der jeweilige Wert (HashMap ist gewrappt)
782 782  )))
783 783  
784 784  == Wrapper ==
785 785  
786 -Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped.
735 +Da die Übertragung von Maps und Listen über JAX-WS Probleme macht (clientseitig gefüllte Listen werden leer über den WS versandt und kommen daher auch leer serverseitig an), müssen diese gewrappt werden.
787 787  
788 -=== Wrapper for HashMap<String, String> ===
737 +=== Wrapper für die HashMap<String, String> ===
789 789  
790 790  HashMapWrapper.java:
791 791  
... ... @@ -793,7 +793,7 @@
793 793  
794 794  [[image:attach:HashMapWrapperjava2.png]]
795 795  
796 -=== Wrapper for the ArrayList<ResultsForStudent> ===
745 +=== Wrapper für die ArrayList<ResultsForStudent> ===
797 797  
798 798  ResultsForStudentsWrapper.java:
799 799  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -337413507
1 +3342793
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/337413507/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3342793/Schnittstelle ONYX Reporter