Bug #20203
closedGRSF records management panel is still not working
10%
Description
The GRSF records management panel is still not working.
Following the GRSF KB refresh we do need to use the management panel for further review/approve/merge/archive records, as well as to connect, flag, and annotate.
CNR and FORTH colleagues,please,if possible make your best to solve this long awaited issue.
@marketak@ics.forth.gr
@pasquale.pagano@isti.cnr.it
@luca.frosini@isti.cnr.it
@francesco.mangiacrapa@isti.cnr.it
FYI:
@bracken.vanniekerk@fao.org
@anton.ellenbroek@fao.org
Files
Related issues
Updated by Aureliano Gentile over 4 years ago
An example for testing, we spotted that these two records can be merged:
da7c918f-b370-361c-9251-b4e06aa45d11 Penaeus aztecus - Gulf of Mexico asfis:ABS+lme:5 pending 13893
f8da143d-4b0c-3565-a639-06177cfb626b Farfantepenaeus aztecus - Gulf of Mexico asfis:ABS+unk:USA-NMFS-GM pending BRNSHRIMPGM
FYI:
@bracken.vanniekerk@fao.org
Updated by Yannis Marketakis over 4 years ago
@luca.frosini@isti.cnr.it in order to test its behavior,
can we change the URL of the service used from the management panel (now it should be http://updater.grsf.d4science.org/grsf-services-updater) to another hosted in our premises? I can provide you with the public URL of the service.
Updated by Luca Frosini over 4 years ago
- Assignee changed from Luca Frosini to Francesco Mangiacrapa
Updated by Francesco Mangiacrapa over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Hi all,
in the context of GRSF_Admin we have the current configuration in action:
<Resource version="0.4.x"> <Type>RuntimeResource</Type> <Scopes> <Scope>/d4science.research-infrastructures.eu/FARM/GRSF_Admin</Scope> </Scopes> <Profile> <Category>Service</Category> <Name>GRSF Updater</Name> <Description>The service that allows GRSF administrators to manage GRSF records</Description> <RunTime> <HostedOn>athena.ics.forth.gr</HostedOn> <GHN UniqueID="" /> <Status>READY</Status> </RunTime> <AccessPoint> <Description>The base url of the GRSF-Updater service</Description> <Interface> <Endpoint EntryName="GRSF Update service">http://athena.ics.forth.gr:9000/grsf-services-updater</Endpoint> </Interface> ....
so the current URL of the GRSF service should be: http://athena.ics.forth.gr:9000/grsf-services-updater
@marketak@ics.forth.gr, do you want update this URL?
Updated by Yannis Marketakis over 4 years ago
@francesco.mangiacrapa@isti.cnr.it Are you sure it is this one and not https://updater.grsf.d4science.org/grsf-services-updater/ ?
I just tried doing some activities with the management panel and I see that the second one is used.
Updated by Francesco Mangiacrapa over 4 years ago
@marketak@ics.forth.gr I just performed a test trying to manage a record via "Manage Item" (at https://i-marine.d4science.org/group/grsf_admin/data-catalogue)
The record is the first one in the list, it is http://data.d4science.org/ctlg/GRSF_Admin/99904192-d6fd-39e1-9995-a8a2985b1177
The logs are:
2020-12-17 14:49:10,911 INFO manage.GRSFNotificationService [ajp-bio-8009-exec-17,notifyProductUpdate:351] %14:49:10,911 INFO [ajp-bio-8009-exec-17][GRSFNotificationService:351] Creating notification for the bean ManageProductBean [catalogueIdentifier=eb56e191-e6c9-4949-a9c3-939df7fe622b, currentGrsfType=Assessment Unit, newGrsfType=Assessment Unit, shortNameUpdated=Benguela hake - Angola, traceabilityFlag=false, sdgFlag=false, currentStatus=Approved, newStatus=Pending, annotation=test, sources=[SourceRecord [name=FIRMS]], similarGrsfRecords=[SimilarGRSFRecord [record=GenericRecord [knowledgeBaseId=1b81351d-4f54-3734-8d2e-e8410175163e, description=overlapping areas and same species, shortName=Benguela Hake West Africa Subgroup 3, title=Merluccius polli - Central Gulf of Guinea - Southern Gulf of Guinea - 47.1.3. - Cape Salinas - Cape Palmeirinhas, url=http://data.d4science.org/ctlg/GRSF_Admin/1b81351d-4f54-3734-8d2e-e8410175163e, semanticIdentifier=asfis:HKB+fao:34.3.5;fao:34.3.6;fao:47.1.1;fao:47.1.2;fao:47.1.3., domain=Stock], suggestedMerge=false]], suggestedByKnowledgeBaseConnections=[], suggestdByAdministratorConnections=[], currentConnections=[], connections=[], mergesInvolved=false, report=_-Information of the record managed:_ - GRSF Name 'Merluccius polli - Cunene - Cape Salinas - Cape Palmeirinhas' ;_ - Short Name 'Benguela hake - Angola' ;_ - URL 'http://data.d4science.org/ctlg/GRSF_Admin/99904192-d6fd-39e1-9995-a8a2985b1177' ;_ - Semantic Identifier 'asfis:HKB+fao:47.1.1;fao:47.1.2;fao:47.1.3' ;_ - Database Sources involved: FIRMS ;_- The GRSF Type is unchanged;_- Suggested merges:_- Annotation message is: test;_- The Status has been changed to 'Pending'., hashtags=[Pending], GenericRecord=GenericRecord [knowledgeBaseId=99904192-d6fd-39e1-9995-a8a2985b1177, description=Short Name: Benguela hake - Angola_GRSF Semantic identifier: asfis:HKB+fao:47.1.1;fao:47.1.2;fao:47.1.3_Record URL: http://data.d4science.org/ctlg/GRSF_Admin/99904192-d6fd-39e1-9995-a8a2985b1177, shortName=Benguela hake - Angola, title=Merluccius polli - Cunene - Cape Salinas - Cape Palmeirinhas, url=http://data.d4science.org/ctlg/GRSF_Admin/99904192-d6fd-39e1-9995-a8a2985b1177, semanticIdentifier=asfis:HKB+fao:47.1.1;fao:47.1.2;fao:47.1.3, domain=Stock]] to send to the knowledge base [Sanitized] 2020-12-17 14:49:10,919 INFO o.g.r.d.i.Helper [ajp-bio-8009-exec-17,queryAddAuthenticationControl:200][PORTAL] 629138448 [ajp-bio-8009-exec-17] INFO org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* ) as xs:boolean { $value = $seq } ; for $entry0ValueAuth in collection('/db/Profiles/RuntimeResource')//Document/Data/ic:Profile/Resource/Scopes where (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/FARM/GRSF_Admin',$entry0ValueAuth/child::*[local-name()='Scope']/text())) and ( ($entry0ValueAuth/../Profile/Name/text() eq 'GRSF Updater') and ($entry0ValueAuth/../Profile/Category/text() eq 'Service') ) return $entry0ValueAuth/.. 2020-12-17 14:49:10,946 INFO o.g.d.g.s.m.GRSFUpdaterServiceClient [ajp-bio-8009-exec-17,updateKB:147][PORTAL] 629138475 [ajp-bio-8009-exec-17] INFO org.gcube.datacatalogue.grsf_manage_widget.server.manage.GRSFUpdaterServiceClient - Update request looks like {"old_status":"approved","annotation_message":"test","new_status":"pending","knowledge_base_id":"99904192-d6fd-39e1-9995-a8a2985b1177","similar_grsf_records":[{"merge":false,"knowledge_base_id":"1b81351d-4f54-3734-8d2e-e8410175163e"}],"grsf_type_old":"Assessment Unit","short_name_new":"Benguela hake - Angola","catalog_id":"eb56e191-e6c9-4949-a9c3-939df7fe622b","sdg_flag":false,"grsf_type_new":"Assessment Unit","traceability_flag":false,"administrator_name":"Francesco Mangiacrapa","short_name_old":"Benguela hake - Angola","connections":[]} 2020-12-17 14:49:10,946 INFO o.g.d.g.s.m.GRSFUpdaterServiceClient [ajp-bio-8009-exec-17,updateKB:149][PORTAL] 629138475 [ajp-bio-8009-exec-17] INFO org.gcube.datacatalogue.grsf_manage_widget.server.manage.GRSFUpdaterServiceClient - Sending request to http://athena.ics.forth.gr:9000/grsf-services-updater/service/updater/post 2020-12-17 14:49:11,461 ERROR o.g.d.g.s.m.Utils [ajp-bio-8009-exec-17,updateRecord:243]java.lang.IllegalArgumentException: Update failed for the following reason An error occured while retrieving the record URI and type using a particular UUID at org.gcube.datacatalogue.grsf_mana
as you can see the request is sent to http://athena.ics.forth.gr:9000/grsf-services-updater/service/updater/post
Updated by Francesco Mangiacrapa over 4 years ago
@marketak@ics.forth.gr, let me know if you want to change that URL and how (from http://athena.ics.forth.gr:9000/grsf-services-updater to ?)
Updated by Yannis Marketakis over 4 years ago
Thanks @francesco.mangiacrapa@isti.cnr.it . For the moment do not change anything. Let me make some test and I'll let you know
Updated by Francesco Mangiacrapa over 4 years ago
- Assignee changed from Francesco Mangiacrapa to Yannis Marketakis
Updated by Aureliano Gentile about 4 years ago
Dear CNR and FORTH colleagues, this is a kind reminder for this long awaited issue and ticket, which so much prevent our colleagues to review and approve/merge/archive records in their autonomy.
Thanks in advance for your consideration
@bracken.vanniekerk@fao.org
@anton.ellenbroek@fao.org
@marketak@ics.forth.gr
@francesco.mangiacrapa@isti.cnr.it
@luca.frosini@isti.cnr.it
@pasquale.pagano@isti.cnr.it
Updated by Yannis Marketakis about 4 years ago
@aureliano.gentile@fao.org
Have you tried it? It seems to be working.
Updated by Aureliano Gentile about 4 years ago
Thanks a lot Yannis, I was not aware it was fixed. (Also, FishSource colleagues recently reported it was not working.)
I see you made some changes (and hopefully revert them). I also added an annotation text and seems working (although then I cannot remove it, but that is another story).
Furthermore, in the NewsFeed https://i-marine.d4science.org/group/imarine-gateway this link
You can inspect it here: http://data.d4science.org/ctlg/GRSF_Admin/a0bddbe4-1ccb-365e-98da-7c4f7a20f49b.
is broken since it is pointing to
http://data.d4science.org/ctlg/GRSF_Admin/a0bddbe4-1ccb-365e-98da-7c4f7a20f49b.%3Cbr%3E
but I guess this is for @francesco.mangiacrapa@isti.cnr.it or @massimiliano.assante@isti.cnr.it ?
With whom should I liaise to improve (simplify) the feed?
Updated by Francesco Mangiacrapa about 4 years ago
- Related to Feature #20688: Improve (simplify) the text repoted by GRSF post for merging added
Updated by Pasquale Pagano about 4 years ago
@francesco.mangiacrapa@isti.cnr.it please check the latest comment from Aureliano.
Updated by Francesco Mangiacrapa about 4 years ago
- Related to Bug #20685: News feed - bad href in the GRSF post for merging added
Updated by Massimiliano Assante about 4 years ago
Hi, the link gets broken because some HTML code is present in the post, and this is not permitted.
You can inspect it here: http://data.d4science.org/ctlg/GRSF_Admin/a0bddbe4-1ccb-365e-98da-7c4f7a20f49b.<br> <br>This is a summary of the actions proposed: <br> -Information of the record managed:
Please replace the BR tags with new lines. Alternatively you can simply add a space between the dot and the BR tag.
Updated by Francesco Mangiacrapa almost 3 years ago
In my opinion, @marketak@ics.forth.gr, if on the KB-side the business logic is OK (see previous #20203#note-13), this activity could be closed.
I just opened the new one (#23406) and after the patch that will be released to fix #23408, a new test of the "GRSF Management Panel" will be performed (by @aureliano.gentile@fao.org)
Updated by Yannis Marketakis almost 3 years ago
- Status changed from In Progress to Closed
This ticket is rather old (and probably obsolete).
Since there is a new one, I agree to close this and test management panel in #23406