{"action":"created","issue":{"url":"https://api.github.com/repos/ESGF/esg-search/issues/64","labels_url":"https://api.github.com/repos/ESGF/esg-search/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ESGF/esg-search/issues/64/comments","events_url":"https://api.github.com/repos/ESGF/esg-search/issues/64/events","html_url":"https://github.com/ESGF/esg-search/issues/64","id":80682022,"number":64,"title":"Provide option to disable validation, if needed","user":{"login":"LucaCinquini","id":637059,"avatar_url":"https://avatars.githubusercontent.com/u/637059?v=3","gravatar_id":"","url":"https://api.github.com/users/LucaCinquini","html_url":"https://github.com/LucaCinquini","followers_url":"https://api.github.com/users/LucaCinquini/followers","following_url":"https://api.github.com/users/LucaCinquini/following{/other_user}","gists_url":"https://api.github.com/users/LucaCinquini/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaCinquini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaCinquini/subscriptions","organizations_url":"https://api.github.com/users/LucaCinquini/orgs","repos_url":"https://api.github.com/users/LucaCinquini/repos","events_url":"https://api.github.com/users/LucaCinquini/events{/privacy}","received_events_url":"https://api.github.com/users/LucaCinquini/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T21:56:51Z","updated_at":"2015-05-25T21:58:32Z","closed_at":"2015-05-25T21:58:32Z","body":"Currently, before records can be published into Solr, the ESGF publishing service executes the following validation steps:\r\no Always enforces conformance to the two schemas esgf.xml and geox.xml\r\no Additionally, if the XML records declare a schema such as \"schema=cmip5\", the server-side validator looks for a schema file with the same name (cmip5.xml, in this case) and uses it to validate the records.\r\n\r\nIn case problems arise, it would be beneficial to be able to turn validation off, server-side."},"comment":{"url":"https://api.github.com/repos/ESGF/esg-search/issues/comments/105324697","html_url":"https://github.com/ESGF/esg-search/issues/64#issuecomment-105324697","issue_url":"https://api.github.com/repos/ESGF/esg-search/issues/64","id":105324697,"user":{"login":"LucaCinquini","id":637059,"avatar_url":"https://avatars.githubusercontent.com/u/637059?v=3","gravatar_id":"","url":"https://api.github.com/users/LucaCinquini","html_url":"https://github.com/LucaCinquini","followers_url":"https://api.github.com/users/LucaCinquini/followers","following_url":"https://api.github.com/users/LucaCinquini/following{/other_user}","gists_url":"https://api.github.com/users/LucaCinquini/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaCinquini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaCinquini/subscriptions","organizations_url":"https://api.github.com/users/LucaCinquini/orgs","repos_url":"https://api.github.com/users/LucaCinquini/repos","events_url":"https://api.github.com/users/LucaCinquini/events{/privacy}","received_events_url":"https://api.github.com/users/LucaCinquini/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T21:58:32Z","updated_at":"2015-05-25T21:58:32Z","body":"This is now possible by inserting the following flag in the file /esg/config/esgf.properties:\r\n\r\nesgf.publisher.disable.record.validation=true\r\n\r\nIf this flag is found in the property file, no schema validation will occur on the server side. Viceversa, if this flag is not found or is equal to false, the validation steps described above will take place."}}