Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 353.1
bearbeitet von Carina Enke
am 08.03.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf Version 396.1
bearbeitet von Carina Enke
am 13.02.2024
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Schnittstelle ONYX Reporter
1 +10 Schnittstelle ONYX Reporter
Übergeordnete Seite
... ... @@ -1,0 +1,1 @@
1 +ONYX.Systeminformationen.WebHome
Inhalt
... ... @@ -1,20 +2,13 @@
1 -{{sv-translation language="de"}}
2 2  {{layout}}
3 -{{layout-section ac:type="single"}}
4 -{{layout-cell}}{{/layout-cell}}
5 -{{/layout-section}}
6 -
7 7  {{layout-section ac:type="two_right_sidebar"}}
8 8  {{layout-cell}}
9 -====== Inhalt: ======
10 -
11 -
12 -
13 -{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
4 +
14 14  {{/layout-cell}}
15 15  
16 16  {{layout-cell}}
17 -
8 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
9 +{{toc start="2"/}}
10 +{{/panel}}
18 18  {{/layout-cell}}
19 19  {{/layout-section}}
20 20  
... ... @@ -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  
20 +(% class="wrapped" %)
27 27  |(((
28 28  armSite
29 29  )))|(((
... ... @@ -69,6 +69,7 @@
69 69  
70 70  === Parameter armSite ===
71 71  
66 +(% class="wrapped" %)
72 72  |(((
73 73  version
74 74  )))|(((
... ... @@ -111,6 +111,7 @@
111 111  
112 112  === ReturnValue armSite ===
113 113  
109 +(% class="wrapped" %)
114 114  |(((
115 115  String
116 116  )))|(((
... ... @@ -133,6 +133,7 @@
133 133  
134 134  === Parameter initiateSite ===
135 135  
132 +(% class="wrapped" %)
136 136  |(((
137 137  version
138 138  )))|(((
... ... @@ -168,6 +168,7 @@
168 168  
169 169  === ReturnValue initiateSite ===
170 170  
168 +(% class="wrapped" %)
171 171  |(((
172 172  String
173 173  )))|(((
... ... @@ -191,7 +191,6 @@
191 191  
192 192  == Abmeldung durch LMS ==
193 193  
194 -
195 195  
196 196  {{code}}
197 197  @WebMethod(operationName = „disarmSite")
... ... @@ -203,10 +203,10 @@
203 203  }
204 204  {{/code}}
205 205  
206 -
207 207  
208 208  === Parameter disarmSite ===
209 209  
206 +(% class="wrapped" %)
210 210  |(((
211 211  version
212 212  )))|(((
... ... @@ -232,6 +232,7 @@
232 232  
233 233  === ReturnValue disarmSite ===
234 234  
232 +(% class="wrapped" %)
235 235  |(((
236 236  Boolean
237 237  )))|(((
... ... @@ -254,6 +254,7 @@
254 254  
255 255  === Parameter getResultValues ===
256 256  
255 +(% class="wrapped" %)
257 257  |(((
258 258  version
259 259  )))|(((
... ... @@ -284,6 +284,7 @@
284 284  
285 285  === ReturnValue getResultValues ===
286 286  
286 +(% class="wrapped" %)
287 287  |(((
288 288  HashMap<String, String>
289 289  )))|(((
... ... @@ -303,6 +303,7 @@
303 303  
304 304  === Parameter getResultVariables ===
305 305  
306 +(% class="wrapped" %)
306 306  |(((
307 307  version
308 308  )))|(((
... ... @@ -321,6 +321,7 @@
321 321  
322 322  === ReturnValue getResultVariables ===
323 323  
325 +(% class="wrapped" %)
324 324  |(((
325 325  HashMap<String, String>
326 326  )))|(((
... ... @@ -335,15 +335,15 @@
335 335  
336 336  HashMapWrapper.java:
337 337  
338 -[[image:attach:HashMapWrapperjava.png]]
340 +[[image:attach:HashMapWrapperjava.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
339 339  
340 -[[image:attach:HashMapWrapperjava2.png]]
342 +[[image:attach:HashMapWrapperjava2.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
341 341  
342 342  === Wrapper für die ArrayList<ResultsForStudent> ===
343 343  
344 344  ResultsForStudentsWrapper.java:
345 345  
346 -[[image:attach:ResultsForStudentsWrapperjava.png]]
348 +[[image:attach:ResultsForStudentsWrapperjava.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
347 347  {{/layout-cell}}
348 348  {{/layout-section}}
349 349  
... ... @@ -355,21 +355,17 @@
355 355  {{layout-cell}}
356 356  ====== relevante Links: ======
357 357  
358 -* [[doc:ONYX Player Interface]]
360 +* [[ONYX Player Interface>>doc:ONYX.Systeminformationen.Schnittstelle ONYX Player.WebHome]]
359 359  {{/layout-cell}}
360 360  {{/layout-section}}
361 361  {{/layout}}
362 -{{/sv-translation}}
363 363  
364 -{{sv-translation language="en"}}
365 365  {{layout}}
366 366  {{layout-section ac:type="two_equal"}}
367 367  {{layout-cell}}
368 368  ====== Content: ======
369 369  
370 -
371 -
372 -{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
370 +{{toc start="2"/}}
373 373  {{/layout-cell}}
374 374  
375 375  {{layout-cell}}
... ... @@ -379,29 +379,29 @@
379 379  
380 380  {{layout-section ac:type="single"}}
381 381  {{layout-cell}}
382 -== General ==
380 +== 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:
382 +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
387 +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).
392 +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.
397 +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.
402 +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.
409 +Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required.
412 412  )))
413 413  
414 -== Connection to the LMS ==
412 +== Login through the LMS ==
415 415  
416 -{{code language="xml" title="Anmeldung des LMS"}}
414 +{{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
437 +UserId of the requested Reporter user
440 440  )))
441 441  |(((
442 442  optionalRole
443 443  )))|(((
444 -Optional. User role. 0=student, 1=tutor
442 +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.
447 +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.
452 +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.
459 +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.
474 +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"}}
479 +{{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.
508 +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.
513 +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.
518 +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:
531 +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
533 +* sid: Session ID, as returned by armSite
536 536  * (((
537 -uid: Student ID as registrated in the initiateSite at the ONYX Reporter.
535 +uid: Student ID, as registrated in the initiateSite at the ONYX Reporter
538 538  )))
539 539  )))
540 540  
... ... @@ -550,9 +550,8 @@
550 550  }
551 551  {{/code}}
552 552  
553 -== Deconnection through the LMS ==
551 +== Logout through the LMS ==
554 554  
555 -
556 556  
557 557  {{code}}
558 558  @WebMethod(operationName = „disarmSite")
... ... @@ -564,7 +564,6 @@
564 564  }
565 565  {{/code}}
566 566  
567 -
568 568  
569 569  === Parameter disarmSite ===
570 570  
... ... @@ -583,7 +583,7 @@
583 583  |(((
584 584  secretToShare
585 585  )))|(((
586 -Shared secret. Has to remain identical at every communication.
582 +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.
595 +True in the case of success, otherwise false.
600 600  )))
601 601  
602 -== Request of learning results through the LMS ==
598 +== Request of learner results through the LMS ==
603 603  
604 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
600 +{{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.
629 +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.
634 +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)
647 +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"}}
652 +{{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,28 +685,26 @@
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).
684 +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.
689 +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  
698 698  HashMapWrapper.java:
699 699  
700 -[[image:attach:HashMapWrapperjava.png]]
695 +[[image:attach:HashMapWrapperjava.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
701 701  
702 -[[image:attach:HashMapWrapperjava2.png]]
697 +[[image:attach:HashMapWrapperjava2.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
703 703  
704 704  === Wrapper for the ArrayList<ResultsForStudent> ===
705 705  
706 706  ResultsForStudentsWrapper.java:
707 707  
708 -[[image:attach:ResultsForStudentsWrapperjava.png]]
703 +[[image:attach:ResultsForStudentsWrapperjava.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
709 709  {{/layout-cell}}
710 710  {{/layout-section}}
711 711  {{/layout}}
712 -{{/sv-translation}}
HashMapWrapperjava.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,0 +1,1 @@
1 +135.3 KB
Inhalt
HashMapWrapperjava2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,0 +1,1 @@
1 +187.3 KB
Inhalt
ResultsForStudentsWrapperjava.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,0 +1,1 @@
1 +83.3 KB
Inhalt
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -147882509
1 +3342390
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/147882509/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3342390/Schnittstelle ONYX Reporter