Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[DLAB-1075]: Added possibility to stop project with related instances… #328

Merged
merged 3 commits into from Oct 3, 2019

Conversation

ofuks
Copy link
Contributor

@ofuks ofuks commented Sep 30, 2019

  • Added possibility to stop project with related instances on Manage environment popup

Copy link
Contributor

@EpamBohdanHliva EpamBohdanHliva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Cover all new methods by unit tests

@@ -189,6 +224,23 @@ private void projectActionOnCloud(UserInfo user, String projectName, String prov
}
}

private void checkProjectRelatedResourcesInProgress(String projectName, String action) {
List<UserInstanceDTO> userInstanceDTOs = exploratoryDAO.fetchProjectExploratoriesWhereStatusIn(projectName,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method may be one line:
..
dtos.
stream()
.findAny()
.orElseThrow(() ->

@EpamBohdanHliva EpamBohdanHliva merged commit 2da2ddf into DLAB-terraform Oct 3, 2019
@EpamBohdanHliva EpamBohdanHliva deleted the DLAB-1075 branch October 3, 2019 14:41
@EpamBohdanHliva EpamBohdanHliva restored the DLAB-1075 branch October 25, 2019 11:16
@EpamBohdanHliva EpamBohdanHliva deleted the DLAB-1075 branch October 25, 2019 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants