Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 320.1
bearbeitet von Carina Enke
am 29.05.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf 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.

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1,21 +1,103 @@
1 1  {{sv-translation language="de"}}
2 2  {{layout}}
3 3  {{layout-section ac:type="single"}}
4 -{{layout-cell}}{{/layout-cell}}
5 -{{/layout-section}}
6 -
7 -{{layout-section ac:type="two_right_sidebar"}}
8 8  {{layout-cell}}
9 -====== Inhalt: ======
10 10  
11 11  
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"/}}
12 12  
13 -{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
23 +{{status colour="Green" title="Fertig"/}}
24 +)))
25 +)))
26 +|=(% colspan="1" %)(% colspan="1" %)
27 +(((
28 +Varianten
29 +)))|(% colspan="1" %)(% colspan="1" %)
30 +(((
31 +(% class="content-wrapper" %)
32 +(((
33 +{{sv-metadata type="variants"/}}
34 +)))
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
64 +
65 +{{status colour="Green" title="Fertig"/}}
66 +)))
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}}
14 14  {{/layout-cell}}
85 +{{/layout-section}}
15 15  
87 +{{layout-section ac:type="two_right_sidebar"}}
16 16  {{layout-cell}}
17 -
89 +\\
18 18  {{/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}}
19 19  {{/layout-section}}
20 20  
21 21  {{layout-section ac:type="single"}}
... ... @@ -24,6 +24,7 @@
24 24  
25 25  Über die Schnittstelle zum ONYX WebReporter erfolgt jede Kommunikation zwischen dem LMS und dem Reporter. Dazu erfolgt eine Reihe von Aufrufen:
26 26  
109 +(% class="wrapped" %)
27 27  |(((
28 28  armSite
29 29  )))|(((
... ... @@ -69,6 +69,7 @@
69 69  
70 70  === Parameter armSite ===
71 71  
155 +(% class="wrapped" %)
72 72  |(((
73 73  version
74 74  )))|(((
... ... @@ -111,6 +111,7 @@
111 111  
112 112  === ReturnValue armSite ===
113 113  
198 +(% class="wrapped" %)
114 114  |(((
115 115  String
116 116  )))|(((
... ... @@ -133,6 +133,7 @@
133 133  
134 134  === Parameter initiateSite ===
135 135  
221 +(% class="wrapped" %)
136 136  |(((
137 137  version
138 138  )))|(((
... ... @@ -168,6 +168,7 @@
168 168  
169 169  === ReturnValue initiateSite ===
170 170  
257 +(% class="wrapped" %)
171 171  |(((
172 172  String
173 173  )))|(((
... ... @@ -191,7 +191,7 @@
191 191  
192 192  == Abmeldung durch LMS ==
193 193  
194 -
281 +\\
195 195  
196 196  {{code}}
197 197  @WebMethod(operationName = „disarmSite")
... ... @@ -203,10 +203,11 @@
203 203  }
204 204  {{/code}}
205 205  
206 -
293 +\\
207 207  
208 208  === Parameter disarmSite ===
209 209  
297 +(% class="wrapped" %)
210 210  |(((
211 211  version
212 212  )))|(((
... ... @@ -232,6 +232,7 @@
232 232  
233 233  === ReturnValue disarmSite ===
234 234  
323 +(% class="wrapped" %)
235 235  |(((
236 236  Boolean
237 237  )))|(((
... ... @@ -254,6 +254,7 @@
254 254  
255 255  === Parameter getResultValues ===
256 256  
346 +(% class="wrapped" %)
257 257  |(((
258 258  version
259 259  )))|(((
... ... @@ -284,6 +284,7 @@
284 284  
285 285  === ReturnValue getResultValues ===
286 286  
377 +(% class="wrapped" %)
287 287  |(((
288 288  HashMap<String, String>
289 289  )))|(((
... ... @@ -303,6 +303,7 @@
303 303  
304 304  === Parameter getResultVariables ===
305 305  
397 +(% class="wrapped" %)
306 306  |(((
307 307  version
308 308  )))|(((
... ... @@ -321,6 +321,7 @@
321 321  
322 322  === ReturnValue getResultVariables ===
323 323  
416 +(% class="wrapped" %)
324 324  |(((
325 325  HashMap<String, String>
326 326  )))|(((
... ... @@ -349,7 +349,7 @@
349 349  
350 350  {{layout-section ac:type="two_right_sidebar"}}
351 351  {{layout-cell}}
352 -
445 +\\
353 353  {{/layout-cell}}
354 354  
355 355  {{layout-cell}}
... ... @@ -379,29 +379,29 @@
379 379  
380 380  {{layout-section ac:type="single"}}
381 381  {{layout-cell}}
382 -== General ==
475 +== General information ==
383 383  
384 -The API to the ONYX WebReporter enables the communication between the LMS and the reporter. Therefore, a couple of commands will be executed:
477 +The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed:
385 385  
386 386  |(((
387 387  armSite
388 388  )))|(((
389 -Registration of sequence requests at the ONYX reporter
482 +Registration of sequence requests at the ONYX Reporter
390 390  )))
391 391  |(((
392 392  initiateSite
393 393  )))|(((
394 -Initiates the reporter session (transmission of the CP).
487 +Initiates the Reporter session (transmission of the CP).
395 395  )))
396 396  |(((
397 397  disarmSite
398 398  )))|(((
399 -Release of all reporter resources for this session.
492 +Release of all Reporter resources for this session.
400 400  )))
401 401  |(((
402 402  getResultValues
403 403  )))|(((
404 -Returns all or all requested results for the test. Condition: there is exactly one student in list transmitted in the initiateSite.
497 +Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite.
405 405  )))
406 406  |(% colspan="1" %)(% colspan="1" %)
407 407  (((
... ... @@ -408,12 +408,12 @@
408 408  getResultVariables
409 409  )))|(% colspan="1" %)(% colspan="1" %)
410 410  (((
411 -Returns all or all requested outcome variables for the test. No armSite, initiateSite or disarmSite is necessary.
504 +Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required.
412 412  )))
413 413  
414 -== Connection to the LMS ==
507 +== Login through the LMS ==
415 415  
416 -{{code language="xml" title="Anmeldung des LMS"}}
509 +{{code language="xml" title="Login through the LMS"}}
417 417  @WebMethod(operationName = „armSite")
418 418  public String armSite(
419 419  @WebParam(name = „version") final Integer version,
... ... @@ -436,22 +436,22 @@
436 436  |(((
437 437  userId
438 438  )))|(((
439 -UserId of the requested reporter user
532 +UserId of the requested Reporter user
440 440  )))
441 441  |(((
442 442  optionalRole
443 443  )))|(((
444 -Optional. User role. 0=student, 1=tutor
537 +Optional. User role. 0 = student, 1 = tutor
445 445  )))
446 446  |(((
447 447  secretToShare
448 448  )))|(((
449 -Shared secret. Has to remain identical for every communication.
542 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
450 450  )))
451 451  |(((
452 452  optionalUserLastName
453 453  )))|(((
454 -Optional. User lastname.
547 +Optional. Last name of the user.
455 455  )))
456 456  |(% colspan="1" %)(% colspan="1" %)
457 457  (((
... ... @@ -458,7 +458,7 @@
458 458  optionalUserFirstName
459 459  )))|(% colspan="1" %)(% colspan="1" %)
460 460  (((
461 -Optional. User firstname.
554 +Optional. First name of the user.
462 462  )))
463 463  |(% colspan="1" %)(% colspan="1" %)
464 464  (((
... ... @@ -473,12 +473,12 @@
473 473  |(((
474 474  String
475 475  )))|(((
476 -Session ID that has to be used to mark any further reporter call.
569 +Session ID which has to be used to mark any other Reporter call.
477 477  )))
478 478  
479 479  == Initialisation through LMS ==
480 480  
481 -{{code language="xml" title="Initialisierung durch LMS"}}
574 +{{code language="xml" title="Initialisation through LMS"}}
482 482  @WebMethod(operationName = „initiateSite")
483 483  public String initiateSite(
484 484  @WebParam(name = „version") final Integer version,
... ... @@ -507,17 +507,17 @@
507 507  |(((
508 508  secretToShare
509 509  )))|(((
510 -Shared secret. Has to remain identical at every communication.
603 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
511 511  )))
512 512  |(((
513 513  students
514 514  )))|(((
515 -List of students with their results. See below.
608 +List of students and their results. See below.
516 516  )))
517 517  |(((
518 518  optionalContentPackage
519 519  )))|(((
520 -Optional. Content Package (zipped) as byte array.
613 +Optional. Content package (zipped) as byte array.
521 521  )))
522 522  |(((
523 523  additionalParams
... ... @@ -530,11 +530,11 @@
530 530  |(((
531 531  String
532 532  )))|(((
533 -Absolute URL of the reporter site for the frame. It has to be enriched by the LMS with the following URLparameters:
626 +Absolute URL of the Reporter site for the IFrame. The URL has to be amended by the LMS with the following URL parameters:
534 534  
535 -* sid: Session ID as returned by armSite
628 +* sid: Session ID, as returned by armSite
536 536  * (((
537 -uid: Student ID as registrated in the initiateSite at the ONYX Reporter.
630 +uid: Student ID, as registrated in the initiateSite at the ONYX Reporter
538 538  )))
539 539  )))
540 540  
... ... @@ -550,7 +550,7 @@
550 550  }
551 551  {{/code}}
552 552  
553 -== Deconnection through the LMS ==
646 +== Logout through the LMS ==
554 554  
555 555  
556 556  
... ... @@ -583,7 +583,7 @@
583 583  |(((
584 584  secretToShare
585 585  )))|(((
586 -Shared secret. Has to remain identical at every communication.
679 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
587 587  )))
588 588  |(((
589 589  additionalParams
... ... @@ -596,12 +596,12 @@
596 596  |(((
597 597  Boolean
598 598  )))|(((
599 -True if successful, otherwise false.
692 +True in the case of success, otherwise false.
600 600  )))
601 601  
602 -== Request of learning results through the LMS ==
695 +== Request of learner results through the LMS ==
603 603  
604 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
697 +{{code language="xml" title="Request of learner results through the LMS"}}
605 605   @WebMethod(operationName = „getResultValues")
606 606  public HashMapWrapper getResultValues(
607 607   @WebParam(name = „version") final Integer version,
... ... @@ -630,12 +630,12 @@
630 630  |(((
631 631  secretToShare
632 632  )))|(((
633 -Shared secret. Has to remain identical at every communication.
726 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
634 634  )))
635 635  |(((
636 636  requestedValues
637 637  )))|(((
638 -Can be empty, thus all result variables will be returned. If it contains keys, only those will be returned.
731 +Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned.
639 639  )))
640 640  |(((
641 641  additionalParams
... ... @@ -648,12 +648,12 @@
648 648  |(((
649 649  HashMap<String, String>
650 650  )))|(((
651 -Map of result variables, key is the variable name, value the corresponding value (HashMap is wrapped)
744 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
652 652  )))
653 653  
654 654  == Request of result variables through the LMS ==
655 655  
656 -{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
749 +{{code language="xml" title="Request of result variables through the LMS"}}
657 657   @WebMethod(operationName = „getResultVariables")
658 658  public HashMapWrapper getResultVariables(
659 659  @WebParam(name = „version") final Integer version,
... ... @@ -685,13 +685,12 @@
685 685  |(((
686 686  HashMap<String, String>
687 687  )))|(((
688 -Map of result variables, key is the variable name, value the corresponding
689 -value (HashMap is wrapped).
781 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
690 690  )))
691 691  
692 692  == Wrapper ==
693 693  
694 -As the transmission of maps and lists generate problems via JAX-WS (lists filled by the customer are sent without any data and thus reach the server without data) they have to be wrapped.
786 +Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped.
695 695  
696 696  === Wrapper for HashMap<String, String> ===
697 697  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -162758776
1 +337413507
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/162758776/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/337413507/Schnittstelle ONYX Reporter