[Registry-dev] Retrieving a Resource after deletion without adding
it again
Paul Fremantle
paul at wso2.com
Tue Mar 18 01:33:45 PDT 2008
I agree we need to be able to rollback deletions. I thought we already
could!
In addition, we should think about whether we want to implement the hash
function/delta checking ourselves in the registry.
Paul
Tyrell Perera wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi devs,
>
> I have a scenario in the Mashup Server, where a Mashup will get
> redeployed by simply doing a unix style 'touch' of the js file or
> editing and saving the js file. At both times the service will be
> undeployed and deployed back.
>
> Currently we delete the Mashup from the Registry at undeployment and
> 'put' it back again at deployment. However, this adds un-necessary
> records to the registry database by means of versions when the delta
> between two deployments is '0'.
>
> I worked out an MD5 based verification mechanism on the Mashup side to
> make sure there is a delta and do a 'put' only if required. But the
> problem I have right now is that there is no way to 'rollback' a
> deletion in such a scenario. If there is such a thing, I can simply
> rollback the deletion on the resource, when there is no delta in the js
> file between two consecutive deployments.
>
> Am I missing something here?
>
> thanks,
> Tyrell
>
> - --
> Tyrell Perera
> Senior Software Engineer; WSO2, Inc.; http://www.wso2.com/
> email: tyrell at wso2.com; cell: +94 77 302 2505
>
> "Oxygenating the Web Service Platform."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFH3yqjehFdPcgGx7oRAhHuAJ0TUcqH7Y7PP3RGMOKjxCK7YPRviACfTfmg
> f7UMxpYQpxXNWqtuRDxROxY=
> =ooBo
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse
Office: +44 844 484 8143
Cell: +44 798 447 4618
blog: http://pzf.fremantle.org
paul at wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
More information about the Registry-dev
mailing list