Skip to content

Conversation

@philippthun
Copy link
Member

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

This endpoint returns information for all instances (= actual LRPs) for
the given process. Per instance the following information is shown:
index, state, since.

The data is retrieved from Diego via the endpoint
'/v1/actual_lrps/list_by_process_guids'.

The InstancesStatsReporter processes this data as follows:
- group by process guid
- sort / group by index
- keep only the newest LRP per index
- fill missing instances (i.e. less actual LRPs than desired) with DOWN
  state

Additional changes:
- BbsInstancesClient: handle_diego_errors needs check for
  ResourceNotFound only when calling desired_lrp_by_process_guid. The
  other methods return an empty list.
- BuildpackPresenter, ProcessPresenter: remove useless method

Co-authored-by: Sven Krieger <sven.krieger@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant