Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#92699898] A service should have many service level components
[#80462324] Start of initial push to CWF Conflicts: Gemfile Gemfile.lock db/schema.rb Refactor API mount points Add basic tests for GET /v1/protocols/:id.json Refactor API mount points Conflicts: app/api/api.rb config/application.yml.example config/routes.rb lib/tasks/api_routes.rake Use faster RVM versioning http://rvm.io/workflow/projects#project-file-ruby-version Refactor: CwfProtocolCreatorJob Move CwfProtocolCreatorJob to /app/jobs Write tests for CwfProtocolCreatorJob Add CWF_API_URL environment variable Conflicts: config/application.rb config/initializers/obis_setup.rb Changes for protocol retrieve from CWF Protocol.to_json Should return the base_class for STI ID Add NewRelic rails c, then: http://localhost:3000/newrelic https://docs.newrelic.com/docs/agents/ruby-agent/developer-mode/develope r-mode Conflicts: Gemfile.lock Point Commit Refactor: API validations Extract API helpers Add tests for blank params Add API authentication Add HTTP Basic auth: http://en.wikipedia.org/wiki/Basic_access_authentication Add authentication tests Add auth creds to CwfProtocolCreatorJob Use HTTP Basic auth for API requests made to CWF Conflicts: config/initializers/obis_setup.rb Bug: Bad API route param Require :id, not :protocol_id Add test coverage ProtocolSubServiceRequestFormatter#to_json should return valid JSON Refactor: ProtocolSubServiceRequestFormatter Re-encode object JSON and concatenate JSON models into array Expand test coverage Include object root in JSON Refactor: Grape Entities Add grape-entity gem: https://github.com/intridea/grape-entity Add Entity classes for models Add tests for above Conflicts: Gemfile.lock Remove ProtocolSubServiceRequestFormatter Remove associated tests Use JSON root in API Add root directive Add test coverage Add LineItems to API Arm presenter Add tests Change Entity load order Add Services GET to API Add tests for above Add Service GET to API Add tests Refactor: Use Arm to reach other models Save 35% data payload by omitting timestamps Create RemoteServiceNotifier emitter in SPARC [#83944872] Conflicts: config/initializers/obis_setup.rb RemoteServiceNotifierJob payload [#83944872] Use Notification JSON object Adjust tests [#83944872] Add type to Notification Add :type (class) to Notification payload Refactor: Avoid reserved word [#83944872] API request depth Add optional API request depth to Services [#83944872] Add query interface to API Add optional array of IDs as param Add FullWithShallowReflection API filter to Service Add tests for above [#83944872] Mount SubServiceRequest in API Add API query interface to SubServiceRequest model Add tests for above [#83944872] Refactor API entities [#83944872] Mount ServiceRequest in API [#83944872] Mount Protocol in API [#83944872] Mount Arm in API Refactor object(s) finder helper [#83944872] Mount LineItem in API [#] Mount LineItemsVisit in API Remove belongs_to reflections from ShallowReflection API classes [#83944872] Mount VisitGroup in API [#83944872] Mount Visit in API [#83944872] Refactor published API resources [#83944872] Defaults for RemotelyNotifiable [#83944872] :depth param should be optional [#83944872] Expand Shallow class Refactor API Shallow class Add :callback_url to Shallow class Add RemotelyNotifiable to all API-eligible models Adjust tests [#83944872] Expand FullWithShallowwReflections Add parent reflections Adjust tests [#83944872] Protocol.notify_remote_after_update? Add Protocol STI models to API Refactor remote_service_callback_url scheme [#83944872] Scope exportable Services Only notify external service if Service is part of Research Nexus Adjust tests for above [#83944872] Minor adjustments [#83944872] Refactor RemotelyNotifiable Conflicts: db/schema.rb [#83944872] Refactor: RemotelyNotifiable [#83944872] Add RemotelyNotifiable to SubServiceRequest Add RemotelyNotifiable to ServiceRequest Minor open source merge fixes Add API ENV vars [#87027504] Add after_destroy to RemotelyNotifiable [#87027504] Add RemotelyNotifiable to ProjectRole [#87027504] Add Identities to API Add ProjectRoles to API Add attributes to ProjectRole entity Add RVM examples Add API config vars Clean up rvm files Lock grape_api gem Expose SubServiceRequest.grand_total on API Add Subsidy to SubServiceRequest presenter Add Subsidy.stored_percent_subsidy to SubServiceRequest Expose ProjectRoles with Protocol Add Services sync rake task Minor rename to rake task adding to deploygemfile Update Service entity Remove :cdm_code Add :revenue_code_range_id Add Service.process_ssrs_organization Add :process_ssrs_organization attribute to Service SubServiceRequest.stored_percent_subsidy should default to 0 SubServiceRequest.formatted_status returns a formatted status Fix bug where some routes not available in Development Expose LineItem :per_unit_cost and :one_time_fee [#92699780] Upgrade to headless browser testing [#92699780] User creates Service with ServiceLevel Requests [#92699780] User edits Service with no ServiceLevelCompnents present [#92699780] User edits Service with ServiceLevelCompnents present [#92699780] Service with pre-existing ServiceLevelComponents should build ServiceLevelComponents with the correct :position [#92699780] User edits Service and adds more ServiceLevelCompnents fields manually [#92699780] User edits Service with pre-existing ServiceLevelCompnents and removes existing ServiceLevelCompnents Fix spec after Capybara upgrade [#93139630] Add ServiceLevelComponents to API [#93139630] Add RemotelyNotifiable to ServiceLevelComponent [#93139630] Include ServiceLevelComponent in Service shallow reflections [#93139630] Refactor Service.process_ssrs_organization [#92699898] Fix specs after rebase [#93694348] Allow Service.line_items_count to be updated over API [#93836632] Expose ClinicalProviders on API Add RemotelyNotifiable ClinicalProvider specs Add time_zone to Identities My bad -G Add index to Service.one_time_fee
- Loading branch information