first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

UCLA MCCS: PODS 3.x Schema Generation and Deployment

Schema Generation Servers

Testing and Deployment Server

  1. Use IcapSchemaRequestVerification.xls to verify spreadsheet input. As of this writing this file is located here:

    \\\\nasfs1\\DevGroup\\PODS\\icap-schema-gen

  2. Verify the uniqueness of the IDs in the Form ID column of the spreadsheet input. Note that any characters in the IDs should be in upper case.

  3. Determine the new release number. This defaults to incrementing one from the last release number. The last release number can be seen in the xpcpodsmgmt*/home/podsdev/schema/*-list.txt files.

  4. Determine the new test number. This defaults to incrementing one from the last test number. The last test number can be seen by running ant in the xpcpodsmgmt*/home/podsdev/test/suite folder.

  5. Enter the unique IDs from the spreadsheet into a file called xpcpodsmgmt*/home/podsdev/schema/[release#]-list.txt where [release#] is the new release number (step 3). Note that any characters in the IDs should be in upper case. Omit empty lines and spaces.

  6. Run ./generate-schema.sh [release#]-list.txt [release#] [test#] Ignore any "rm: cannot remove... No such file or directory" errors.

  7. Make a new release candidates folder on the NAS filer with the form [release#] in \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\. Make folders \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\[release#]\\unzipped-schemas and \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\[release#]\\sql-mapping.

  8. Copy xpcpodsmgmt*/home/podsdev/schema/[release#]/sql/. to \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\[release#]\\sql-mapping.

  9. Copy xpcpodsmgmt*/home/podsdev/schema/[release#]/output/*.xsd to \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\[release#]\\unzipped-schemas.

  10. Copy xpcpodsmgmt*/home/podsdev/schema/[release#]/output/*.xsd to \\\\nasfs1\\DevGroup\\PODS\\RELEASES\\PODS3.0\\SCHEMAS\\DEV\\xsds.

  11. Map a Windows drive from \\\\nasfs1\\DevGroup\\PODS\\RELEASES\\PODS3.0\\SCHEMAS\\DEV\\xsds and run dir > releasedoc.txt.

  12. Copy releasedoc.txt into \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\[release#]\\ReleaseSummary_PODS_v[release#]_[date].txt. And example file would be ReleaseSummary_PODS_v3_6_11_Jun_05_2007.txt

  13. Copy xpcpodsmgmt*/home/podsdev/test/suite/build.xml into xpcpodsmgmt*/home/podsdev/test/suite/build.xml.bak.

  14. Add a new message under TARGET:HELP in build.xml of the form <echo message="[test#] - [release#]-schema"/> .

  15. Add a new regression test <target /> block under the last test block in build.xml. (Look for blocks <!--TARGET: PODS REGRESSION TEST 000 -->.)

  16. Add a new <if /> block under the last test <if /> block in build.xml.

  17. Copy xpcpodsmgmt*/home/podsdev/schema/[release#]/output/.xsd to xdcpods02/PODS/all_online/dtd/3.1/ and send and email to the development database person:

    subject: PODS 3.x Release Candidate [release#] body: Please deploy new schema changes to PODS 3.0 Test DB. You can find the script in following location: \\\\nasfs1\\DevGroup\\PODS\\releaseCandidates\\[release#]\\sql-mapping

  18. From the xpcpodsmgmt*/home/podsdev/test/suite/ folder run this command: ant pods-regression-batch -Dserver=xdcpods02.medctr.ucla.edu -Dbatch=001,002,003,[test#] -Dhost=xpcpodsmgmt.medctr.ucla.edu -Dnotify=bwilhite@mednet.ucla.edu,wting@mednet.ucla.edu,mchan@mednet.ucla.edu Make sure to run this command from a terminal that can stay open for a large time!

mod date: 2007-06-05T21:36:13.000Z