{"push_id":570321294,"size":11,"distinct_size":1,"ref":"refs/heads/develop","head":"cbfd7227ebe97d44fbe1d286f90184d9feb9eced","before":"eef1083b5b8d8fde953820984e55004e5c9bc42e","commits":[{"sha":"726dfa7f6ef7e7d78cc8755bd5e3506ca9a6de4c","author":{"email":"d73447914193c1cc368ceb9758ace1838bb569e5@gmail.com","name":"Mateusz Kurek"},"message":"fixed unicode of dynamic extra cost\n\nchanged DynamicExtraCost object representation method (__unicode__) - replaced extra_cost_type by dynamic_extra_cost_type, which is valid field of DynamicExtraCost. Added some unit tests to test it as well.","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/726dfa7f6ef7e7d78cc8755bd5e3506ca9a6de4c"},{"sha":"9580040b8a29655519a42230bfada9943bb15829","author":{"email":"d73447914193c1cc368ceb9758ace1838bb569e5@gmail.com","name":"Mateusz Kurek"},"message":"fixed pricing service costs calculation, improved log details and\nadded possibility to save only first depth costs\n\n* fixed pricing service costs calculation\n  * removed unnecessary excluded_services passed to dependent services (excluded services are only relevant on costs distribution, not calculatin total costs of pricing serivce)\n  * fixed calculation of costs from services, which charge pricing service by their diff with real costs (previously costs dictionary was basicly updated by diff costs, which causes lost of previously calculated values - now if key is already in dictionary, substraction on costs is done)\n  * fixed total_cost method for pricing service, when calculating costs of whole service (for all service environments) - when pricing service has other plugin than universal (ex. fixed price plugin), it's service usages percentage division doesn't matter - especially sum could be different than 100, which causes errors when calculating total cost of this pricing service using universal plugin. Now, when total costs is calculated for all service environment, there is no cost-distribution part - only calculating total costs for all service environments.\n\n* unification of costs plugins log messages\n* added possibility to save only first depth costs (direct costs, not intermediate), which could significantly improve costs calculation performance, but intermediate costs (ex. for costs-dependency-graph) will not be saved","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/9580040b8a29655519a42230bfada9943bb15829"},{"sha":"915349c0f04f50344b90dfd6add429cb0a38e9af","author":{"email":"d73447914193c1cc368ceb9758ace1838bb569e5@gmail.com","name":"Mateusz Kurek"},"message":"allocation: do not create new objects on GET request and search ServiceUsageType including date condition\n\n* fix to not create new UsageType, PricingService and ServiceUsageType on GET request - only during save (on POST request)\n* check for ServiceUsageType including date condition - allows to define more than one ServiceUsageType for PricingService and look for only one which match current year and month","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/915349c0f04f50344b90dfd6add429cb0a38e9af"},{"sha":"929f1f8f94ee6748980930a3db59f56124c6c08a","author":{"email":"46f5dd3a62e430b9155b5b60ebc4ab22749926c5@gmail.com","name":"Kamil Warguła"},"message":"Merge pull request #371 from mkurek/fix/dynamic-extra-cost-admin\n\nfixed unicode of dynamic extra cost","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/929f1f8f94ee6748980930a3db59f56124c6c08a"},{"sha":"a48c1c5ba5dcb06a2304f389a75928000a99c0d6","author":{"email":"46f5dd3a62e430b9155b5b60ebc4ab22749926c5@gmail.com","name":"Kamil Warguła"},"message":"Merge pull request #372 from mkurek/fix/pricing-service-diff-service-environments\n\nfixed pricing service costs calculation, improved log details and added possibility to save only first depth costs","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/a48c1c5ba5dcb06a2304f389a75928000a99c0d6"},{"sha":"8caaf10c88a1770fee071660dc67c01b0f66bb9c","author":{"email":"6bedd75591aa4a16773561170166b6eaea370d27@gmail.com","name":"Andrzej Jankowski"},"message":"Merge pull request #373 from mkurek/fix/allocationclient-service-date\n\nallocation: do not create new objects on GET request and search ServiceUsageType including date condition","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/8caaf10c88a1770fee071660dc67c01b0f66bb9c"},{"sha":"2547282bd412466c713452e0656962cce94dbb56","author":{"email":"d73447914193c1cc368ceb9758ace1838bb569e5@gmail.com","name":"Mateusz Kurek"},"message":"added database sync plugin\n\nadded database sync plugin to get databases from ralph, which will allow to show them as components in components view and charge them for their usages of resources.","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/2547282bd412466c713452e0656962cce94dbb56"},{"sha":"8c133a74376a0ee91d3a350e588bb6debc08d072","author":{"email":"d73447914193c1cc368ceb9758ace1838bb569e5@gmail.com","name":"Mateusz Kurek"},"message":"fixed flake8\n\nfixed flake8 (new in 2.3.0 version) errors about `module level import not at top of file` and `do not assign a lambda expression, use a def`","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/8c133a74376a0ee91d3a350e588bb6debc08d072"},{"sha":"bb26b8ef7191f2a26983ffa08553a1849a44c5d9","author":{"email":"eb0d5e31ae35563c48029252ae273c687c5f7e26@users.noreply.github.com","name":"Mateusz Kurek"},"message":"Merge pull request #361 from mkurek/feature/databases-sync\n\nadded database sync plugin","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/bb26b8ef7191f2a26983ffa08553a1849a44c5d9"},{"sha":"0a7b55ea18f81a161db54be6444897cfa8f001c0","author":{"email":"d73447914193c1cc368ceb9758ace1838bb569e5@gmail.com","name":"Mateusz Kurek"},"message":"improved costs calculation by adding additional cache and optimizing SQL queries\n\n* added additional cache to pricing service total cost calculation (to not recalculate it every time pricing service is dependency of other pricing service)\n* optimized some SQL queries (ex. support, usages)\n* added additional DB indexes (on dailyusage and dailypricingobject)","distinct":false,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/0a7b55ea18f81a161db54be6444897cfa8f001c0"},{"sha":"cbfd7227ebe97d44fbe1d286f90184d9feb9eced","author":{"email":"eb0d5e31ae35563c48029252ae273c687c5f7e26@users.noreply.github.com","name":"Mateusz Kurek"},"message":"Merge pull request #374 from mkurek/fix/costs-calc-performance\n\nimproved costs calculation by adding additional cache, db indexes and optimizing SQL queries","distinct":true,"url":"https://api.github.com/repos/mkurek/ralph_pricing/commits/cbfd7227ebe97d44fbe1d286f90184d9feb9eced"}]}