Changes between Version 3 and Version 4 of LEGACY - CaTissueBulkOperations


Ignore:
Timestamp:
11/26/10 14:12:50 (13 years ago)
Author:
jeff.lusted
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LEGACY - CaTissueBulkOperations

    v3 v4  
    11== caTissue Bulk Operations ==
     2
     3These are very high level points. I'll expand upon them as I learn more. But feel free to add/make changes, please.
    24
    35It is my understanding that bulk operations can be invoked either from the caTissue web interface or from the command line. In both cases the invocation is just a trigger mechanism. A piece of caTissue functionality then picks up a local CSV file (a file with a list of comma separated values) that depicts all the changes you want to make; ie: these are the bulk part of the operation. There is another file in an XML format that in its entirety does three things:
    46
    57  * Describes the comma separated file
    6   * Describes the caTissue domain objects that the changes will apply to. Note the plural: domain objects.
     8  * Describes the caTissue domain objects that the changes will apply to. Note the plural: domain objects. It could be one, but it can be many.
    79  * Connects the csv format to the domain objects, so basically what change goes where and to what.
    810
    911Both files are sent to the caTissue application for processing.
     12
     13=== Mapping File ===
     14This is my name for the XML file.
     15  * Is there an XML schema file for this?
     16  * It seems to me (as per the client API) there is a heavy premium on knowing how the domain objects fit together.
     17
     18=== CSV File ===
     19I haven't seen any other formats. Well, it's unlikely there are any given the complication off designing a Mapping File. If we are talking of driving this process via an Excel spreadsheet, we would need some way of converting a spreadsheet into an csv file.
     20
     21Do we have an idea of the size of a file?...
     22  * How many lines?
     23  * How many values per line?
     24
     25=== Transactions Again ===
     26What can we assume about a bulk operation:
     27  * One line within the csv file = one transaction?
     28  * The whole csv file = one transaction?