Sixth Column: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 47: Line 47:
     m@melange ~/development/sixth_column/solr-1.1 $ ./mdm_start_solr.sh  
     m@melange ~/development/sixth_column/solr-1.1 $ ./mdm_start_solr.sh  
     m@melange ~/development/sixth_column/OMSLib/cassandraApi $ ../../apache-cassandra-2.0.6/bin/cqlsh
     m@melange ~/development/sixth_column/OMSLib/cassandraApi $ ../../apache-cassandra-2.0.6/bin/cqlsh
        use osi_oms;
        truncate premise;
        truncate activejobs;
        truncate activecontacts;
        truncate activecrewassignments;
|}
|}

Revision as of 15:44, 2 May 2014

Dev notes:

Update WSDL (currently v4)
   gsoap
   -----
   run and follow instructions (typically requires a couple reruns):
       C:\Michael's Data\development\sixth_column\svn\OMS\trunk\oms-oa-app-cpp\config\gsoap
           build_OMSInterface_code.bat

   SoapUI
   ------
   either
       create new SOAP project
       select wsdl
       put version in name (currently on v4)
       MAKE SURE YOU CLICK RELATIVE PATHS box and save after initial creation!  
       it might prompt you to save right away
       WHEN SAVING MAKE SURE YOU GO UP OUT OF GSOAP AND DOWN INTO SOAPUI folder! pita
   or
       right-click OMSInterfaceSoap12Binding -> Update Defintion (that was easy)
       the mockup wont change tho
       rename it to [OMSInterfaceSoap12Binding MockService old]
   right-click OMSInterfaceSoap12Binding -> Generate MockService
       set to port 9750
       use default name of [OMSInterfaceSoap12Binding MockService]
   OMSInterfaceSoap12Binding MockService -> 
       getLatestModelInfo -> 
           Response 1 -> 
               change [?] into fields:
                   <timestamp>2014-01-01T12:34:56</timestamp>
                   <sequence>1</sequence>
                   <filename>model_export.zip</filename>
       getModelUpdates
           copy over previous responses
   run the mockups!
Core + UI + Solr + Cassandra RESET
   stop oa apps, core, solar
   m@melange ~/development/sixth_column/solr-1.1 $ rm solr/customer/data -rf
   m@melange ~/development/sixth_column/solr-1.1 $ ./mdm_start_solr.sh 
   m@melange ~/development/sixth_column/OMSLib/cassandraApi $ ../../apache-cassandra-2.0.6/bin/cqlsh
       use osi_oms;
       truncate premise;
       truncate activejobs;
       truncate activecontacts;
       truncate activecrewassignments;