Issue #1682 Delta script for ebxml registry query changes
Change-Id: I84a3007a3c23697c333e5862d8fd4a4aba9f23a2 Former-commit-id:9617e2ee10
[formerlyd0c3d9575a
] [formerly0c56d5e859
] [formerly9617e2ee10
[formerlyd0c3d9575a
] [formerly0c56d5e859
] [formerly02dc390b98
[formerly0c56d5e859
[formerly 9b6a0ce7404017dcd29cd0a14f0dba5d30e480b1]]]] Former-commit-id:02dc390b98
Former-commit-id:ae638e7432
[formerly15a92382c2
] [formerly 35a6370f7a88bbd036f10309fc2533697ca6cf75 [formerly99b1cee644
]] Former-commit-id: 7f2f4bfe1b22741cce371eb2e960f3d98e6ff5a2 [formerly3eec43afdb
] Former-commit-id:32113dbdbc
This commit is contained in:
parent
19cc0ff5be
commit
f7b697f12a
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