erasmus-without-paper / general-issues

An empty project for tracking issues not related to any specific project.
0 stars 1 forks source link

Introduce "unbounded" ToRs #28

Open wrygiel opened 6 years ago

wrygiel commented 6 years ago

Not sure if "unbounded" is the best word to describe them, but it should do as a code name. What we mean here are ToRs which are not related to a mobility, and - as such - cannot be identified by omobility_id (the way they are currently identified in Incoming Mobility ToRs API).

Why would we want to support them? Some examples:

Let's discuss possible solutions here. @erasmus-without-paper/all-members (I won't have time to specify those before I leave the project, but I will leave some of my thoughts behind.)

Solution 1 (two standalone APIs for ToR retrieval)

Leave Incoming Mobility ToRs unchanged, add separate Unbounded ToRs.

Pros:

Cons:

Solution 2 (split into Incoming Mobilities API and ToRs API)

Remove Incoming Mobility ToRs APIs. Replace them with ToRs API, when ToRs are identified by tor_id. Include these tor_ids in the existing Incoming Mobilities API.

Pros:

Cons:

Solution 3 (two get endpoints)

Pack both of these functionalities in a single API. Require partners to support two kinds of ToR identifiers (tor_ids and omobility_ids) in two separate endpoints. Both responses will use the same XML namespace, but will be served at different endpoints.

Cons:

Solution 4 (one get endpoint with complex parameters)

Same as Solution 3, but merge the two endpoints into one. Use different ToR identifiers depending on the parameters passed.

Cons:

Solution 5 (no omobility_ids in params)

Support only tor_ids. Don't allow to fetch ToRs by omobility_ids.

Pros:

Cons:

Solution 6 (broader "XML document" support)

Pros:

Cons:

Solution 7 (broader "binary document" support)

Pros:

Cons:

wrygiel commented 6 years ago

My personal opinion on these solutions:

wrygiel commented 6 years ago

We briefly talked about these solutions in our team. It seems that ideas proposed in solutions 6 and 7 are not as unnecessary as I believed. There seems to be a need for a "shared space" for exchanging documents between HEIs. ToRs are only one kind of such document (and one we'd like to focus on in the beginning).

After an hour of talk we came up with another solution which seems plausible.

Solution 8

We leave existing mobility-related ToR APIs "as they are". However, we also introduce an alternative way of exchanging any kind of documents (including unbounded ToRs).

Metadata:

Pros:

Cons: