Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 351.1
bearbeitet von tleu
am 23.06.2015
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 305.1
bearbeitet von Carina Enke
am 29.01.2019
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.6.

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.tleu
1 +XWiki.carina
Inhalt
... ... @@ -1,5 +1,72 @@
1 1  {{sv-translation language="de"}}
2 2  {{layout}}
3 +{{layout-section ac:type="single"}}
4 +{{layout-cell}}
5 +
6 +
7 +{{conditionalcontent 0="Zielgruppe: (BPS)" sv-attr:866DE48701525447C13BC59401CD793F="866DE48701525447C13C469E1E314A59" atlassian-macro-output-type="INLINE"}}
8 +{{details}}
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 +{{sv-metadata type="workflow-status"/}}
20 +
21 +{{status colour="Green" title="Fertig"/}}
22 +)))
23 +|=(% colspan="1" %)(% colspan="1" %)
24 +(((
25 +Varianten
26 +)))|(% colspan="1" %)(% colspan="1" %)
27 +(((
28 +{{sv-metadata type="variants"/}}
29 +)))
30 +|=(% colspan="1" %)(% colspan="1" %)
31 +(((
32 +Attribute
33 +)))|(% colspan="1" %)(% colspan="1" %)
34 +(((
35 +{{sv-metadata type="attributes"/}}
36 +)))
37 +|=(% colspan="1" %)(% colspan="1" %)
38 +(((
39 +Pagekey
40 +)))|(% colspan="1" %)(% colspan="1" %)
41 +(((
42 +{{sv-metadata type="pagekey"/}}
43 +)))
44 +|=(% colspan="1" %)(% colspan="1" %)
45 +(((
46 +Übersetzung
47 +)))|(% colspan="1" %)(% colspan="1" %)
48 +(((
49 +
50 +
51 +{{status colour="Green" title="Fertig"/}}
52 +)))
53 +|=(% colspan="1" %)(% colspan="1" %)
54 +(((
55 +TODOs
56 +)))|(% colspan="1" %)(% colspan="1" %)
57 +(((
58 +(% class="task-list" %)
59 +(((
60 +{{task reference="/Tasks/Task_9" status="Done"}}
61 +carina {{mention reference="XWiki.0a49950f5c0f19a8015c101b60e10001" style="FULL_NAME" anchor="XWiki-0a49950f5c0f19a8015c101b60e10001-uVFeS"/}}: Übersetzung offen
62 +{{/task}}
63 +)))
64 +)))
65 +{{/details}}
66 +{{/conditionalcontent}}
67 +{{/layout-cell}}
68 +{{/layout-section}}
69 +
3 3  {{layout-section ac:type="two_right_sidebar"}}
4 4  {{layout-cell}}
5 5  ====== Inhalt: ======
... ... @@ -325,7 +325,7 @@
325 325  
326 326  == Wrapper ==
327 327  
328 -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.
395 +Da die Übertragung von Maps und Listen über JAX-WS Probleme machen kann, müssen diese gewrappt werden.
329 329  
330 330  === Wrapper für die HashMap<String, String> ===
331 331  
... ... @@ -351,7 +351,7 @@
351 351  {{layout-cell}}
352 352  ====== relevante Links: ======
353 353  
354 -* [[doc:Schnittstelle ONYX Player]]
421 +* [[doc:ONYX Player Interface]]
355 355  {{/layout-cell}}
356 356  {{/layout-section}}
357 357  {{/layout}}
... ... @@ -375,29 +375,29 @@
375 375  
376 376  {{layout-section ac:type="single"}}
377 377  {{layout-cell}}
378 -== General ==
445 +== General information ==
379 379  
380 -The API to the ONYX WebReporter enables the communication between the LMS and the reporter. Therefore, a couple of commands will be executed:
447 +The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed:
381 381  
382 382  |(((
383 383  armSite
384 384  )))|(((
385 -Registration of sequence requests at the ONYX reporter
452 +Registration of sequence requests at the ONYX Reporter
386 386  )))
387 387  |(((
388 388  initiateSite
389 389  )))|(((
390 -Initiates the reporter session (transmission of the CP).
457 +Initiates the Reporter session (transmission of the CP).
391 391  )))
392 392  |(((
393 393  disarmSite
394 394  )))|(((
395 -Release of all reporter resources for this session.
462 +Release of all Reporter resources for this session.
396 396  )))
397 397  |(((
398 398  getResultValues
399 399  )))|(((
400 -Returns all or all requested results for the test. Condition: there is exactly one student in list transmitted in the initiateSite.
467 +Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite.
401 401  )))
402 402  |(% colspan="1" %)(% colspan="1" %)
403 403  (((
... ... @@ -404,12 +404,12 @@
404 404  getResultVariables
405 405  )))|(% colspan="1" %)(% colspan="1" %)
406 406  (((
407 -Returns all or all requested outcome variables for the test. No armSite, initiateSite or disarmSite is necessary.
474 +Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required.
408 408  )))
409 409  
410 -== Connection to the LMS ==
477 +== Login through the LMS ==
411 411  
412 -{{code language="xml" title="Anmeldung des LMS"}}
479 +{{code language="xml" title="Login through the LMS"}}
413 413  @WebMethod(operationName = „armSite")
414 414  public String armSite(
415 415  @WebParam(name = „version") final Integer version,
... ... @@ -432,22 +432,22 @@
432 432  |(((
433 433  userId
434 434  )))|(((
435 -UserId of the requested reporter user
502 +UserId of the requested Reporter user
436 436  )))
437 437  |(((
438 438  optionalRole
439 439  )))|(((
440 -Optional. User role. 0=student, 1=tutor
507 +Optional. User role. 0 = student, 1 = tutor
441 441  )))
442 442  |(((
443 443  secretToShare
444 444  )))|(((
445 -Shared secret. Has to remain identical for every communication.
512 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
446 446  )))
447 447  |(((
448 448  optionalUserLastName
449 449  )))|(((
450 -Optional. User lastname.
517 +Optional. Last name of the user.
451 451  )))
452 452  |(% colspan="1" %)(% colspan="1" %)
453 453  (((
... ... @@ -454,7 +454,7 @@
454 454  optionalUserFirstName
455 455  )))|(% colspan="1" %)(% colspan="1" %)
456 456  (((
457 -Optional. User firstname.
524 +Optional. First name of the user.
458 458  )))
459 459  |(% colspan="1" %)(% colspan="1" %)
460 460  (((
... ... @@ -469,12 +469,12 @@
469 469  |(((
470 470  String
471 471  )))|(((
472 -Session ID that has to be used to mark any further reporter call.
539 +Session ID which has to be used to mark any other Reporter call.
473 473  )))
474 474  
475 475  == Initialisation through LMS ==
476 476  
477 -{{code language="xml" title="Initialisierung durch LMS"}}
544 +{{code language="xml" title="Initialisation through LMS"}}
478 478  @WebMethod(operationName = „initiateSite")
479 479  public String initiateSite(
480 480  @WebParam(name = „version") final Integer version,
... ... @@ -503,17 +503,17 @@
503 503  |(((
504 504  secretToShare
505 505  )))|(((
506 -Shared secret. Has to remain identical at every communication.
573 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
507 507  )))
508 508  |(((
509 509  students
510 510  )))|(((
511 -List of students with their results. See below.
578 +List of students and their results. See below.
512 512  )))
513 513  |(((
514 514  optionalContentPackage
515 515  )))|(((
516 -Optional. Content Package (zipped) as byte array.
583 +Optional. Content package (zipped) as byte array.
517 517  )))
518 518  |(((
519 519  additionalParams
... ... @@ -526,11 +526,11 @@
526 526  |(((
527 527  String
528 528  )))|(((
529 -Absolute URL of the reporter site for the frame. It has to be enriched by the LMS with the following URLparameters:
596 +Absolute URL of the Reporter site for the IFrame. The URL has to be amended by the LMS with the following URL parameters:
530 530  
531 -* sid: Session ID as returned by armSite
598 +* sid: Session ID, as returned by armSite
532 532  * (((
533 -uid: Student ID as registrated in the initiateSite at the ONYX Reporter.
600 +uid: Student ID, as registrated in the initiateSite at the ONYX Reporter
534 534  )))
535 535  )))
536 536  
... ... @@ -546,7 +546,7 @@
546 546  }
547 547  {{/code}}
548 548  
549 -== Deconnection through the LMS ==
616 +== Logout through the LMS ==
550 550  
551 551  
552 552  
... ... @@ -579,7 +579,7 @@
579 579  |(((
580 580  secretToShare
581 581  )))|(((
582 -Shared secret. Has to remain identical at every communication.
649 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
583 583  )))
584 584  |(((
585 585  additionalParams
... ... @@ -592,12 +592,12 @@
592 592  |(((
593 593  Boolean
594 594  )))|(((
595 -True if successful, otherwise false.
662 +True in the case of success, otherwise false.
596 596  )))
597 597  
598 -== Request of learning results through the LMS ==
665 +== Request of learner results through the LMS ==
599 599  
600 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
667 +{{code language="xml" title="Request of learner results through the LMS"}}
601 601   @WebMethod(operationName = „getResultValues")
602 602  public HashMapWrapper getResultValues(
603 603   @WebParam(name = „version") final Integer version,
... ... @@ -626,12 +626,12 @@
626 626  |(((
627 627  secretToShare
628 628  )))|(((
629 -Shared secret. Has to remain identical at every communication.
696 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
630 630  )))
631 631  |(((
632 632  requestedValues
633 633  )))|(((
634 -Can be empty, thus all result variables will be returned. If it contains keys, only those will be returned.
701 +Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned.
635 635  )))
636 636  |(((
637 637  additionalParams
... ... @@ -644,12 +644,12 @@
644 644  |(((
645 645  HashMap<String, String>
646 646  )))|(((
647 -Map of result variables, key is the variable name, value the corresponding value (HashMap is wrapped)
714 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
648 648  )))
649 649  
650 650  == Request of result variables through the LMS ==
651 651  
652 -{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
719 +{{code language="xml" title="Request of result variables through the LMS"}}
653 653   @WebMethod(operationName = „getResultVariables")
654 654  public HashMapWrapper getResultVariables(
655 655  @WebParam(name = „version") final Integer version,
... ... @@ -681,13 +681,12 @@
681 681  |(((
682 682  HashMap<String, String>
683 683  )))|(((
684 -Map of result variables, key is the variable name, value the corresponding
685 -value (HashMap is wrapped).
751 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
686 686  )))
687 687  
688 688  == Wrapper ==
689 689  
690 -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.
756 +Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped.
691 691  
692 692  === Wrapper for HashMap<String, String> ===
693 693  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -146964903
1 +202113242
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/146964903/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/202113242/Schnittstelle ONYX Reporter