Permalink
Commits on Oct 2, 2018
  1. Remove unused association

    Ladas committed Oct 2, 2018
    These associations are shadowed by delegations defined few lines
    below
Commits on Sep 19, 2018
  1. Failing to set_tenant

    Ladas committed Sep 19, 2018
    Habtm somehow saves and caches incomplete object. So found.key_pairs.first.attributes returns e.g.
    {"id"=>23, "name"=>"EmsRefreshSpec-KeyPair-OtherRegion"} and that fails later on e.g. set_tenant. The
    behaviour is that the key_pair.respond_to(:group) returns true, but when we call it, it returns
    missing attribute: miq_group_id.
Commits on Sep 12, 2018
  1. Shared persistor definitions plus adding ServiceInstance

    Ladas committed Aug 31, 2018
    Shared persistor definitions plus adding ServiceInstance. We need
    thre definitions shared so we can use it both for AWS and k8s.
Commits on Sep 3, 2018
  1. Always return 0 for missing num_cpu

    Ladas committed Sep 3, 2018
    Always return 0 for missing num_cpu
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1624535
Commits on Aug 28, 2018
  1. Association default can't be array

    Ladas committed Aug 28, 2018
    Association default can't be array, it must be nil, so we take
    :arel instead.
Commits on Aug 27, 2018
  1. Remove service instances for now

    Ladas committed Aug 27, 2018
  2. Models for containers service catalog

    Ladas committed Aug 22, 2018
    Models for containers service catalog
  3. Add timestamp conditions only for parallel safe strategy

    Ladas committed Aug 22, 2018
    Add timestamp conditions only for parallel safe strategy
  4. Store integer in resource_versions jsonb

    Ladas committed Aug 16, 2018
    Store integer in resource_versions jsonb
  5. Quote every column name plus cleanup of update query

    Ladas committed Aug 16, 2018
    Quote every column name plus cleanup of update query
  6. Inventory collection logging is bad

    Ladas committed Aug 16, 2018
    Inventory collection logging is bad
  7. Fix rubocop issues

    Ladas committed Aug 15, 2018
    Fix rubocop issues
  8. Cleanup sql_helper and separate to upsert and update mixins

    Ladas committed Aug 15, 2018
    Cleanup sql_helper and separate to upsert and update mixins
  9. Cleanup TODos ans YARD

    Ladas committed Aug 15, 2018
    Cleanup TODos ans YARD
  10. Fill correct created and updated result of IC

    Ladas committed Aug 15, 2018
    Fill correct created and updated result of IC
  11. resource_version should work the same as resource_timestamp

    Ladas committed Aug 14, 2018
    resource_version should work the same as resource_timestamp,
    while one is integer and other is timestamp
  12. Allow to update STI :type

    Ladas committed Jan 31, 2018
    Sometimes we have base STI and we are defining sub STIs in parser. In this case
    the skeletal precreate will create the record with base STI, so we need
    to be able to update it later, by full refresh of the target, having the
    right STI.
  13. Rename timestamp to resource_timestamp

    Ladas committed Aug 10, 2018
    Rename timestamp to resource_timestamp, and following that
    renaming to resource_timestamps and resource_timestamps_max
  14. Proper parallel_safe? conditions, so we don't break existing code

    Ladas committed Aug 10, 2018
    Proper parallel_safe? conditions, so we don't break existing code
  15. Update TODO about timestamp

    Ladas committed Aug 10, 2018
    Update TODO about timestamp, we wil lrequire timestamp for the
    partial update
  16. Check timestamp before updating

    Ladas committed Aug 10, 2018
    Check timestamp before updating, to avoid extra query
  17. Don't do partial updates if timestamp is missing

    Ladas committed Aug 10, 2018
    Don't do partial updates if timestamp is missing
  18. Fix assign attributes being too strict for the full rows

    Ladas committed Aug 10, 2018
    Fix assign attributes being too strict for the full rows
  19. Building 2 partial InventoryObjects merges them according to timestamps

    Ladas committed Aug 10, 2018
    Building 2 partial InventoryObjects merges them according to timestamps
  20. Make full to partial transformation also for the upsert path

    Ladas committed Aug 10, 2018
    Make full to partial transformation also for the upsert path. Plus
    the skeletonize must preserve the inventory_object
  21. Skeletonize full row if it fails timestamp check

    Ladas committed Aug 9, 2018
    Skeletonize full row if it fails timestamp check, so it is able
    to save partial row that is still valid.
  22. Use supports_timestamps_max for conditionalization of the entire path

    Ladas committed Aug 9, 2018
    Use supports_timestamps_max for conditionalization of the entire path
  23. Correct update for full after partial

    Ladas committed Aug 9, 2018
    Correct update for full after partial with nullifying of the
    partial update timestamps
  24. Timestamps are set correctly when combining different partials

    Ladas committed Aug 9, 2018
    Timestamps are set correctly when combining different partials
  25. Saving partial after full plus specs passing

    Ladas committed Aug 9, 2018
    Saving partial after full plus specs passing
  26. A basic version of partial updates

    Ladas committed Aug 8, 2018
    A basic version of partial updates. Merged with skeletal
    precreate. The performance is not the best, but it is the base
    for passing specs.
  27. Expose data iterator into skelatal index

    Ladas committed Aug 8, 2018
    Expose data iterator into skelatal index
  28. Allow skeletal_index objects to be updated

    Ladas committed Aug 7, 2018
    Allow skeletal_index objects to be updated
  29. Use :timestamp for the full row parallel update check

    Ladas committed Aug 7, 2018
    Use :timestamp for the full row parallel update check