-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing details about (selected) Adaptation options #17
Comments
@humerh please have a look at this. Does Emikat need any additional information regarding the selected adaptation options? |
Now I have finished the implementation of Adaptation options, including the cost model in version 1.0. See: |
I still have problems retrieving data for adaptation scenarios. Especially aggregated data needed for Scenario Analysis doesn't seem to be available in "view.2994" which is btw not listed under Services Endpoints. Examples:
AFAIR I've "found" once a study that contained ADAPTATION-01 in "view.2994", but I can't remember which one. Recalculating a study doesn't seem to work either. Any advise @patrickkaleta @DenoBeno ? |
I've tried to recalculate study 35, but it's again stuck at 14/17 processes. Encountered the same problem yesterday and over night it resolved it self, either because the processes actually finished or EMIKAT was restarted and the process counter was reset. |
I don't know what happened, but suddenly view.2994 of study 163/3207 now contains ADAPTATION-01 scenario data: It really seems that adaptation scenarios appear and disappear at random. ❓ |
Strange: Study 35 still shows 14/17 processes but adaptation data is now available for this study. |
And suddenly, the data disappeared:
ADAPTATION-01 is gone again. 😭 |
Here we go again: '' |
Batch job "Rebuild Table CLY_HW_T_MRT#1856" has been stuck since 12:08, so there's definitely a problem there. @humerh please investigate this. The batch jobs for the Adaptation options are executed before that, so this might explain why results are available. But since the whole process is not completed, it's difficult to say which results are actually available and which might just have been cached from previous calculations and not yet renewed, since the process got stuck... |
You have to add a filter criteria: &filter=SZ_ID%3D3183 Otherwise you get an arbitrary study back. |
As mentioned in #15 and #8, Emikat needs to access the details of the Adapatation options stored in Drupal. For this reason I expanded the currently available REST end-points relevant for Emikat in the following way:
path_selected_adaptation_options
attribute, which leads to a new endpoint showing all AOs, which have been selected in that Study (technically this attribute here is not even necessary, because the URL of that endpoint only has an extra '.../selected_adaptation_options' in comparison to the initial Study info endpoint. I just added it for the sake of completeness)@humerh please have a look at this and let me know if this is enough for Emikat or if you need additional data in those endpoints. It's not a big problem to adapt the new endpoint to only show the data you really need, but I need to know which fields are required by Emikat.
Another question for Heinrich: Could it be helpful for Emikat to know in advance all the available Adaptation options of the selected Data package, before the user even gets to the point of selecting them or is there no need for this?
The text was updated successfully, but these errors were encountered: