[Registry-dev] Resource imports

Chathura C. Ekanayake chathura at wso2.com
Sun Sep 23 09:03:49 PDT 2007


I have implemented the resource import functionality in the Registry as
suggested by Dr. Sanjiva.

Now we can provide a file URI as the source directory and a target
registry path in the edit UI's "Import directory" section
and import all the contents in the source directory to the target path
in the registry.

Source directory should be in the local file system of the Registry server.

We can provide more import options later as listed below:

1) Import resources bundled in a zip archive. Once this is implemented,
it is possible to archive any directory and upload it to some registry path.
Registry will create all necessary collections and add files to
appropriate collections.

2) Import resources from a URL.

3) Import resources from another WSO2 Registry.

Similar to the import, we can also provide an export feature as well. So
that it is possible to export all the resources in a given registry path
to a file system directory,
zip archive or to another registry. When exporting, we can export all
the metadata also in some registry specific format. Then once such
exported directory is imported back to a registry, it is possible create
all the metadata as well.

comments...

Thanks,
Chathura




More information about the Registry-dev mailing list