Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 328.1
bearbeitet von Carina Enke
am 24.09.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf Version 238.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
... ... @@ -4,25 +4,100 @@
4 4  {{layout-cell}}
5 5  
6 6  
7 -(% class="removedPlaceholderWrapper" %)
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"/}}
8 8  
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
9 9  
10 -
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}}
11 11  {{/layout-cell}}
12 12  {{/layout-section}}
13 13  
14 14  {{layout-section ac:type="two_right_sidebar"}}
15 15  {{layout-cell}}
16 -====== Inhalt: ======
89 +\\
90 +{{/layout-cell}}
17 17  
92 +{{layout-cell}}
93 +{{scroll-ignore}}
94 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
18 18  
19 19  
20 -{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
97 +{{toc/}}
98 +{{/panel}}
99 +{{/scroll-ignore}}
21 21  {{/layout-cell}}
22 -
23 -{{layout-cell}}
24 -
25 -{{/layout-cell}}
26 26  {{/layout-section}}
27 27  
28 28  {{layout-section ac:type="single"}}
... ... @@ -31,6 +31,7 @@
31 31  
32 32  Über die Schnittstelle zum ONYX WebReporter erfolgt jede Kommunikation zwischen dem LMS und dem Reporter. Dazu erfolgt eine Reihe von Aufrufen:
33 33  
109 +(% class="wrapped" %)
34 34  |(((
35 35  armSite
36 36  )))|(((
... ... @@ -76,6 +76,7 @@
76 76  
77 77  === Parameter armSite ===
78 78  
155 +(% class="wrapped" %)
79 79  |(((
80 80  version
81 81  )))|(((
... ... @@ -118,6 +118,7 @@
118 118  
119 119  === ReturnValue armSite ===
120 120  
198 +(% class="wrapped" %)
121 121  |(((
122 122  String
123 123  )))|(((
... ... @@ -140,6 +140,7 @@
140 140  
141 141  === Parameter initiateSite ===
142 142  
221 +(% class="wrapped" %)
143 143  |(((
144 144  version
145 145  )))|(((
... ... @@ -175,6 +175,7 @@
175 175  
176 176  === ReturnValue initiateSite ===
177 177  
257 +(% class="wrapped" %)
178 178  |(((
179 179  String
180 180  )))|(((
... ... @@ -198,7 +198,7 @@
198 198  
199 199  == Abmeldung durch LMS ==
200 200  
201 -
281 +\\
202 202  
203 203  {{code}}
204 204  @WebMethod(operationName = „disarmSite")
... ... @@ -210,10 +210,11 @@
210 210  }
211 211  {{/code}}
212 212  
213 -
293 +\\
214 214  
215 215  === Parameter disarmSite ===
216 216  
297 +(% class="wrapped" %)
217 217  |(((
218 218  version
219 219  )))|(((
... ... @@ -239,6 +239,7 @@
239 239  
240 240  === ReturnValue disarmSite ===
241 241  
323 +(% class="wrapped" %)
242 242  |(((
243 243  Boolean
244 244  )))|(((
... ... @@ -261,6 +261,7 @@
261 261  
262 262  === Parameter getResultValues ===
263 263  
346 +(% class="wrapped" %)
264 264  |(((
265 265  version
266 266  )))|(((
... ... @@ -291,6 +291,7 @@
291 291  
292 292  === ReturnValue getResultValues ===
293 293  
377 +(% class="wrapped" %)
294 294  |(((
295 295  HashMap<String, String>
296 296  )))|(((
... ... @@ -310,6 +310,7 @@
310 310  
311 311  === Parameter getResultVariables ===
312 312  
397 +(% class="wrapped" %)
313 313  |(((
314 314  version
315 315  )))|(((
... ... @@ -328,6 +328,7 @@
328 328  
329 329  === ReturnValue getResultVariables ===
330 330  
416 +(% class="wrapped" %)
331 331  |(((
332 332  HashMap<String, String>
333 333  )))|(((
... ... @@ -356,7 +356,7 @@
356 356  
357 357  {{layout-section ac:type="two_right_sidebar"}}
358 358  {{layout-cell}}
359 -
445 +\\
360 360  {{/layout-cell}}
361 361  
362 362  {{layout-cell}}
... ... @@ -386,29 +386,29 @@
386 386  
387 387  {{layout-section ac:type="single"}}
388 388  {{layout-cell}}
389 -== General ==
475 +== General information ==
390 390  
391 -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:
392 392  
393 393  |(((
394 394  armSite
395 395  )))|(((
396 -Registration of sequence requests at the ONYX reporter
482 +Registration of sequence requests at the ONYX Reporter
397 397  )))
398 398  |(((
399 399  initiateSite
400 400  )))|(((
401 -Initiates the reporter session (transmission of the CP).
487 +Initiates the Reporter session (transmission of the CP).
402 402  )))
403 403  |(((
404 404  disarmSite
405 405  )))|(((
406 -Release of all reporter resources for this session.
492 +Release of all Reporter resources for this session.
407 407  )))
408 408  |(((
409 409  getResultValues
410 410  )))|(((
411 -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.
412 412  )))
413 413  |(% colspan="1" %)(% colspan="1" %)
414 414  (((
... ... @@ -415,12 +415,12 @@
415 415  getResultVariables
416 416  )))|(% colspan="1" %)(% colspan="1" %)
417 417  (((
418 -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.
419 419  )))
420 420  
421 -== Connection to the LMS ==
507 +== Login through the LMS ==
422 422  
423 -{{code language="xml" title="Anmeldung des LMS"}}
509 +{{code language="xml" title="Login through the LMS"}}
424 424  @WebMethod(operationName = „armSite")
425 425  public String armSite(
426 426  @WebParam(name = „version") final Integer version,
... ... @@ -443,22 +443,22 @@
443 443  |(((
444 444  userId
445 445  )))|(((
446 -UserId of the requested reporter user
532 +UserId of the requested Reporter user
447 447  )))
448 448  |(((
449 449  optionalRole
450 450  )))|(((
451 -Optional. User role. 0=student, 1=tutor
537 +Optional. User role. 0 = student, 1 = tutor
452 452  )))
453 453  |(((
454 454  secretToShare
455 455  )))|(((
456 -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.
457 457  )))
458 458  |(((
459 459  optionalUserLastName
460 460  )))|(((
461 -Optional. User lastname.
547 +Optional. Last name of the user.
462 462  )))
463 463  |(% colspan="1" %)(% colspan="1" %)
464 464  (((
... ... @@ -465,7 +465,7 @@
465 465  optionalUserFirstName
466 466  )))|(% colspan="1" %)(% colspan="1" %)
467 467  (((
468 -Optional. User firstname.
554 +Optional. First name of the user.
469 469  )))
470 470  |(% colspan="1" %)(% colspan="1" %)
471 471  (((
... ... @@ -480,12 +480,12 @@
480 480  |(((
481 481  String
482 482  )))|(((
483 -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.
484 484  )))
485 485  
486 486  == Initialisation through LMS ==
487 487  
488 -{{code language="xml" title="Initialisierung durch LMS"}}
574 +{{code language="xml" title="Initialisation through LMS"}}
489 489  @WebMethod(operationName = „initiateSite")
490 490  public String initiateSite(
491 491  @WebParam(name = „version") final Integer version,
... ... @@ -514,17 +514,17 @@
514 514  |(((
515 515  secretToShare
516 516  )))|(((
517 -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.
518 518  )))
519 519  |(((
520 520  students
521 521  )))|(((
522 -List of students with their results. See below.
608 +List of students and their results. See below.
523 523  )))
524 524  |(((
525 525  optionalContentPackage
526 526  )))|(((
527 -Optional. Content Package (zipped) as byte array.
613 +Optional. Content package (zipped) as byte array.
528 528  )))
529 529  |(((
530 530  additionalParams
... ... @@ -537,11 +537,11 @@
537 537  |(((
538 538  String
539 539  )))|(((
540 -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:
541 541  
542 -* sid: Session ID as returned by armSite
628 +* sid: Session ID, as returned by armSite
543 543  * (((
544 -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
545 545  )))
546 546  )))
547 547  
... ... @@ -557,7 +557,7 @@
557 557  }
558 558  {{/code}}
559 559  
560 -== Deconnection through the LMS ==
646 +== Logout through the LMS ==
561 561  
562 562  
563 563  
... ... @@ -590,7 +590,7 @@
590 590  |(((
591 591  secretToShare
592 592  )))|(((
593 -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.
594 594  )))
595 595  |(((
596 596  additionalParams
... ... @@ -603,12 +603,12 @@
603 603  |(((
604 604  Boolean
605 605  )))|(((
606 -True if successful, otherwise false.
692 +True in the case of success, otherwise false.
607 607  )))
608 608  
609 -== Request of learning results through the LMS ==
695 +== Request of learner results through the LMS ==
610 610  
611 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
697 +{{code language="xml" title="Request of learner results through the LMS"}}
612 612   @WebMethod(operationName = „getResultValues")
613 613  public HashMapWrapper getResultValues(
614 614   @WebParam(name = „version") final Integer version,
... ... @@ -637,12 +637,12 @@
637 637  |(((
638 638  secretToShare
639 639  )))|(((
640 -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.
641 641  )))
642 642  |(((
643 643  requestedValues
644 644  )))|(((
645 -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.
646 646  )))
647 647  |(((
648 648  additionalParams
... ... @@ -655,12 +655,12 @@
655 655  |(((
656 656  HashMap<String, String>
657 657  )))|(((
658 -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)
659 659  )))
660 660  
661 661  == Request of result variables through the LMS ==
662 662  
663 -{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
749 +{{code language="xml" title="Request of result variables through the LMS"}}
664 664   @WebMethod(operationName = „getResultVariables")
665 665  public HashMapWrapper getResultVariables(
666 666  @WebParam(name = „version") final Integer version,
... ... @@ -692,13 +692,12 @@
692 692  |(((
693 693  HashMap<String, String>
694 694  )))|(((
695 -Map of result variables, key is the variable name, value the corresponding
696 -value (HashMap is wrapped).
781 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
697 697  )))
698 698  
699 699  == Wrapper ==
700 700  
701 -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.
702 702  
703 703  === Wrapper for HashMap<String, String> ===
704 704  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -182190540
1 +337413507
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/182190540/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/337413507/Schnittstelle ONYX Reporter