You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2013/03/03 21:05:12 UTC
[jira] [Resolved] (JUDDI-553) TModelDetail not deleted when TModel
is deleted
[ https://issues.apache.org/jira/browse/JUDDI-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt T Stam resolved JUDDI-553.
-------------------------------
Resolution: Not A Problem
Hi Steve,
Actually I just reread the spec on this and it is by design; we only logically delete the tModel:
http://uddi.org/pubs/uddi_v3.htm#_Toc85908106
The relevant section is:
5.2.11.3 Behavior:
If a tModel is hidden in this way it MUST not be physically deleted as a result of this call. Any tModels hidden in this way are still accessible, via the get_registeredInfo and get_tModelDetail APIs, but are omitted from any results returned by calls to find_tModel. All other inquiry APIs may include references to tModelKeys of deleted tModelKeys, and UDDI data structures that reference these tModels are found and retrieved.
The purpose of the delete_tModel behavior is to ensure that the details associated with a hidden tModel are still available to anyone currently using the tModel. A hidden tModel can be restored and made visible to search results by invoking the save_tModel API at a later time, passing the original data and the tModelKey value of the hidden tModel.
So if you do I 'find' a deleted model should NOT be found, but e 'get' should still work. Please reopen if your find method *does* return the tmodel.
--Kurt
> TModelDetail not deleted when TModel is deleted
> -----------------------------------------------
>
> Key: JUDDI-553
> URL: https://issues.apache.org/jira/browse/JUDDI-553
> Project: jUDDI
> Issue Type: Bug
> Components: uddi-client
> Affects Versions: 3.1.3
> Reporter: Steve Webb
> Assignee: Kurt T Stam
> Fix For: 3.1.5
>
>
> I use the client to create a TModel (saveTModel) then a BusinessService (saveService) and finally a binding (saveBindings).
> I use getTModelDetail within SoapUI to get the details.
> Finally I deleteBinding, deleteTModel and then deleteService.
> I use gTModelDetail with soapUI using previous tModelKey which was deleted and I still get the tModelDetails back. The tmodel, binding and service have been deleted when I enquire on them from soapUI.
> It looks to me that the tModelDetails in the database are not being deleted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira