Merge "Issue #1682 Delta script for ebxml registry query changes" into development
Former-commit-id:f5690ecafe
[formerly9f05ea1112
] [formerly6fb995ca9f
] [formerly6fb995ca9f
[formerlyd371192e2b
]] [formerlyf5690ecafe
[formerly9f05ea1112
] [formerly6fb995ca9f
] [formerly6fb995ca9f
[formerlyd371192e2b
]] [formerly598c254561
[formerly6fb995ca9f
[formerlyd371192e2b
] [formerly598c254561
[formerly 07df23bc04234340a3c2386c3279195c45cdb427]]]]] Former-commit-id:598c254561
Former-commit-id:c8abe877a5
[formerly2cebbf7f6b
] [formerly796f929418
] [formerly 495afb95484625503f0a4ece824095f508869f5c [formerly a5a750b687b521651156ef078eeba6f7f7d0a1ab] [formerly796f929418
[formerlye08fa014d0
]]] Former-commit-id: af2794d7b5627b07943d7c1d92e1ddfcb6327264 [formerly c760d6b20107efe74e03f29bc5711e775d097399] [formerlydedb3cb902
[formerly7aa870767f
]] Former-commit-id:dedb3cb902
Former-commit-id:c9b7efd85c
This commit is contained in:
commit
0d229c0aab
2 changed files with 31 additions and 0 deletions
5
deltaScripts/14.2.1/registryQueryUpdate/updateQueries.sh
Normal file
5
deltaScripts/14.2.1/registryQueryUpdate/updateQueries.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
PSQL=/awips2/psql/bin/psql
|
||||
DIR=`dirname $0`
|
||||
${PSQL} -U awips -d metadata -f ${DIR}/updateQueriesSql.sql
|
26
deltaScripts/14.2.1/registryQueryUpdate/updateQueriesSql.sql
Normal file
26
deltaScripts/14.2.1/registryQueryUpdate/updateQueriesSql.sql
Normal file
|
@ -0,0 +1,26 @@
|
|||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:QueryLanguage:SPARQL';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:QueryLanguage:SPARQL';
|
||||
|
||||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:QueryLanguage:SQL-92';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:QueryLanguage:SQL-92';
|
||||
|
||||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:QueryLanguage:XQuery';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:QueryLanguage:XQuery';
|
||||
|
||||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:QueryLanguage:EJBQL';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:QueryLanguage:EJBQL';
|
||||
|
||||
INSERT INTO ebxml.classificationnode (id,lid,objecttype,owner,versionname,code,parent,path) VALUES
|
||||
('urn:oasis:names:tc:ebxml-regrep:QueryLanguage:HQL','urn:oasis:names:tc:ebxml-regrep:QueryLanguage:HQL',
|
||||
'urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ClassificationNode','NCF','1','HQL',
|
||||
'urn:oasis:names:tc:ebxml-regrep:classificationScheme:QueryLanguage','/urn:oasis:names:tc:ebxml-regrep:classificationScheme:QueryLanguage/HQL');
|
||||
INSERT INTO ebxml.taxonomyelementtype_classificationnode(taxonomyelementtype_id,classificationnode_id) VALUES('urn:oasis:names:tc:ebxml-regrep:classificationScheme:QueryLanguage','urn:oasis:names:tc:ebxml-regrep:QueryLanguage:HQL');
|
||||
|
||||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:query:ExportObject';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:query:ExportObject';
|
||||
|
||||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:query:FindAllMyObjects';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:query:FindAllMyObjects';
|
||||
|
||||
delete from ebxml.taxonomyelementtype_classificationnode where classificationnode_id='urn:oasis:names:tc:ebxml-regrep:query:ExtrinsicObjectQuery';
|
||||
delete from ebxml.classificationnode where id= 'urn:oasis:names:tc:ebxml-regrep:query:ExtrinsicObjectQuery';
|
Loading…
Add table
Reference in a new issue