Task #8044 (closed)
Opened 12 years ago
Closed 12 years ago
Web IQuery Usage
Reported by: | jburel | Owned by: | atarkowska |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, cxallan, wmoore, ajpatterson |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2012-02-14 (8) |
Description (last modified by atarkowska)
List the methods in web gateway using directly IQuery to retrieve data. So we can check impact when doing model changes.
File to review:
- omeroPy/src/gateway/init.py
- omeroWeb/webclient/webclient_gateway.py
- omeroWeb/webadmin/controller/drivespacepy.py
There are various calls in webemdb, webtest, webmobile. Those should be ignored as we are going to remove those apps from the main repository, see #8022
initial document in 8044_using iQuery in web
Change History (11)
comment:1 Changed 12 years ago by jburel
- Description modified (diff)
comment:2 Changed 12 years ago by wmoore
comment:3 follow-up: ↓ 5 Changed 12 years ago by jburel
so we are entering a very dangerous territory, we may want to review and start using the services when/if possible to avoid terrible surprise when the model changes.
comment:4 Changed 12 years ago by atarkowska
- Remaining Time set to 0.5
- Sprint set to 2012-02-14 (8)
I am preparing the list of links to develop. Pasting a code in ticket is a doggy.
comment:5 in reply to: ↑ 3 Changed 12 years ago by atarkowska
Replying to jburel:
so we are entering a very dangerous territory, we may want to review and start using the services when/if possible to avoid terrible surprise when the model changes.
It all depends of the changes. In order to make clear explanation, which objects exactly relay on generic/hardcoded queries it requires detailed explanation. For the moment the above comment should be ignored as it is not complex.
comment:6 Changed 12 years ago by atarkowska
- Description modified (diff)
comment:7 Changed 12 years ago by atarkowska
- Remaining Time changed from 0.5 to 1
comment:8 Changed 12 years ago by atarkowska
- Status changed from new to accepted
comment:9 Changed 12 years ago by atarkowska
- Description modified (diff)
comment:10 Changed 12 years ago by atarkowska
OK, Doc seams to be ready. Please have a look. I am happy to explain what is not clear, especially highlighted information.
comment:11 Changed 12 years ago by atarkowska
- Remaining Time changed from 1 to 0
- Resolution set to fixed
- Status changed from accepted to closed
INVALID COMMENT, For details look in the linked google doc.
Pretty much every method in Blitz Gateway is using iQuery.Default for retrieving any object via getObject() isOveridden in various classes - NB: some of these seem unecessary~~
Other examples