Skip to content
Snippets Groups Projects
Select Git revision
  • ad614ca626101079993c6aacdbfcef5b887d6451
  • main default protected
  • Kelvinrr-patch-3
  • radius_update
  • revert-616-apollo_pan
  • vims
  • 0.10
  • Kelvinrr-patch-2
  • revert-563-minirf_fix
  • Kelvinrr-patch-1
  • 0.9
  • acpaquette-patch-3
  • acpaquette-patch-2
  • acpaquette-patch-1
  • spiceql
  • ci-coverage
  • 0.10.0
  • 0.9.1
  • 0.9.0
  • 0.8.7
  • 0.8.8
  • 0.8.6
  • 0.8.3
  • 0.8.4
  • 0.8.5
  • 0.8.2
  • 0.8.1
  • 0.8.0
  • 0.7.3
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.5
  • 0.6.4
  • 0.6.3
  • 0.6.2
36 results

ale.h

Blame
    • Kristin's avatar
      ad614ca6
      ale::States implementation (#314) · ad614ca6
      Kristin authored
      
      * Adds an initial header file for the States
      
      * Small updates to State header re: disucssion about not including units
      
      * Adds most of an implementation and tests for just the constructors
      
      * Actually add tests
      
      * Adding tests for all except reduceCache
      
      * Adding in tests for minimizeCache
      
      * Add rough draft of minimizecache to states
      
      * Update error throws and a bit more cleanup
      
      * Clean up weird way I was creating vectors of states for tests
      
      * Restore Lauren's test data values
      
      * Add tests to bring test coverage up
      
      * Fix tests I didn't test before pushing up
      
      * Update for review comments 1
      
      * Make other updates based on review comments
      
      * Update to make minimizeCache return a new States object and change a lot of function signatures to use const references for vectors
      
      * Move interpolation-related utils out of States into ale.h and update tests appropriately
      
      * Updated state interpolation to reduce needed times
      
      * Changed the position and velocities in the test fixture to values from functions
      
      * Updated the spline interpolation to use the interpolation subset
      
      * Removed parenthese again
      
      * Added tests for vector size checks
      
      * Addressed PR feedback
      
      * Removed the interpolateState function as it was a copy of interpolate function
      
      * Updated States to use interpolate and not interpolateState
      
      * Removed interpolateState tests
      
      * Updated state tests
      
      * Removed interpolateState from ale header
      
      * Updated interpolation tests
      
      Co-authored-by: default avatarAdoram-Kershner <ladoramkershner@igswzawglt0046.gs.doi.net>
      Co-authored-by: default avatarJesse Mapel <jam826@nau.edu>
      Co-authored-by: default avatarAdam Paquette <acpaquette@usgs.gov>
      Co-authored-by: default avatarJesse Mapel <jmapel@usgs.gov>
      ad614ca6
      History
      ale::States implementation (#314)
      Kristin authored
      
      * Adds an initial header file for the States
      
      * Small updates to State header re: disucssion about not including units
      
      * Adds most of an implementation and tests for just the constructors
      
      * Actually add tests
      
      * Adding tests for all except reduceCache
      
      * Adding in tests for minimizeCache
      
      * Add rough draft of minimizecache to states
      
      * Update error throws and a bit more cleanup
      
      * Clean up weird way I was creating vectors of states for tests
      
      * Restore Lauren's test data values
      
      * Add tests to bring test coverage up
      
      * Fix tests I didn't test before pushing up
      
      * Update for review comments 1
      
      * Make other updates based on review comments
      
      * Update to make minimizeCache return a new States object and change a lot of function signatures to use const references for vectors
      
      * Move interpolation-related utils out of States into ale.h and update tests appropriately
      
      * Updated state interpolation to reduce needed times
      
      * Changed the position and velocities in the test fixture to values from functions
      
      * Updated the spline interpolation to use the interpolation subset
      
      * Removed parenthese again
      
      * Added tests for vector size checks
      
      * Addressed PR feedback
      
      * Removed the interpolateState function as it was a copy of interpolate function
      
      * Updated States to use interpolate and not interpolateState
      
      * Removed interpolateState tests
      
      * Updated state tests
      
      * Removed interpolateState from ale header
      
      * Updated interpolation tests
      
      Co-authored-by: default avatarAdoram-Kershner <ladoramkershner@igswzawglt0046.gs.doi.net>
      Co-authored-by: default avatarJesse Mapel <jam826@nau.edu>
      Co-authored-by: default avatarAdam Paquette <acpaquette@usgs.gov>
      Co-authored-by: default avatarJesse Mapel <jmapel@usgs.gov>
    05-data.sql 3.39 KiB
    /*
       Initialization test for storage table
    */
    
    INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('cold', '/ia2_tape_generic_rw_01/users', NULL, 'tape-fe.ia2.inaf.it');
    INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('hot', '/mnt/hot_storage/users', NULL, 'server');
    INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('local', '/home', NULL, 'localhost');
    INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('local', '/home/vospace/upload', NULL, 'localhost');
    INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('portal', NULL, '/files/new/lbt', 'archive.lbto.org');
    
    
    /*
       Initialization test for location table
    */
    
    INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('async', 1, 3);
    INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('async', 2, 3);
    INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('user', 4, 4);
    INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('portal', 5, 5);
    
    
    /*
       Initialization test for vospace node table
    */
    
    
    -- parent_path = parent_relative_path
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, is_public, sticky) VALUES (NULL, NULL, '', 'container', '0', true, true);                                                                                -- /
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'cristiano.urban', 'container', '3354', true);                                                                        -- /curban
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'sara.bertocco', 'container', '2048', true);                                                                     -- /sbertocco
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'sonia.zorba', 'container', '2386', true);                                                                        -- /szorba
    -- parent_path <> parent_relative_path
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, group_read, group_write) VALUES ('', NULL, 'test', 'container', '2386', '{"VOSpace.test1"}','{"VOSpace.test1"}');      -- /test
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id) VALUES ('5', '', 'f1', 'container', '2386');                                                                           -- /test/f1 (rel: /f1)
    INSERT INTO node (parent_path, parent_relative_path, name, os_name, type, creator_id, location_id) VALUES ('5.6', '6', 'f2_renamed', 'f2', 'container', '2386', 1);                                                 -- /test/f1/f2_renamed (rel: /f1/f2)
    INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, location_id) VALUES ('5.6.7', '6.7', 'f3', 'data', '2386', 1);                                                                         -- /test/f1/f2_renamed/f3 (rel: /f1/f2/f3)
    
    
    /*
       Initialization test for vospace users table
    */
    
    INSERT INTO Users (user_id, user_name, e_mail) VALUES ('3354', 'cristiano.urban', 'cristiano.urban@inaf.it');
    INSERT INTO Users (user_id, user_name, e_mail) VALUES ('2048', 'sara.bertocco', 'sara.bertocco@inaf.it');
    INSERT INTO Users (user_id, user_name, e_mail) VALUES ('2386', 'sonia.zorba', 'sonia.zorba@inaf.it');