Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with adding template from JSON #361

Open
marchoeppner opened this issue May 21, 2024 · 3 comments
Open

Issue with adding template from JSON #361

marchoeppner opened this issue May 21, 2024 · 3 comments

Comments

@marchoeppner
Copy link

Hi,

fairly new Metalnx user here, so this is possibly a trivial question/problem.

I have a working iRODS installation on my test machine, bare metal. Everything seems to work ok there.

I have then deployed Metalnx via Docker, which starts up and accesses iRODS just fine - as far as I can tell.

Now, I would like to add complex metadata templates to my setup. One way would be to manually create and populate each schema via the Metalnx Template section. But at > 100 keys, this would simply not be feasible.

Instead, I would like to upload complete schemas as pre-built JSONs.

My issue(s):

  1. Where is the JSON standard for templates defined, exactly?
  2. When downloading a hand-build schema if 2 keys and trying to re-upload, I simply get an "internal error".

attrib:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.emc.metalnx.services.interfaces.MetadataTemplateException: error parsing template from JSON

So I am guessing the formatting is wrong, which kind of circles back to issue 1.

Any help would be greatly appreciated!

/M

@trel
Copy link
Contributor

trel commented May 21, 2024

Hi @marchoeppner - welcome!

I am not sure the metadata templates parts of Metalnx ever really worked as advertised.

We'll look at this quickly, but it may be that the templates parts of this codebase will be removed in the run-up to 3.0.0.

@marchoeppner
Copy link
Author

Hi,

just checking to see if there are any news on this.

Removing the option to use templates to define metadata standards on the front-end seems a bit problematic, seeing that one of the key use cases for iRODS is data management. Most of our dm tasks happen from the command line, of course, but if there is a GUI, then I suppose that GUI should enforce a given metadata standard. Which isn't going to be "fun" to add by hand.

All the best
M

@trel
Copy link
Contributor

trel commented Aug 16, 2024

No news in Metalnx itself.

We have made some progress on metadata templates more broadly...
https://github.com/irods-contrib/irods_working_group_metadata_templates

As those server-side microservices and functions settle and get incorporated by the server, then all clients can take advantage of what they provide, including Metalnx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants