Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Platform
Commits
eee0221b
Commit
eee0221b
authored
11 months ago
by
kbeyro
Browse files
Options
Downloads
Patches
Plain Diff
add state handler for APPLICATION_REMOVED
parent
af6bf4b6
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!65
Resolve "Prevent users from adding an existing SSH key"
,
!60
1.6.5 fix processing bulk
,
!26
add state handler for APPLICATION_REMOVED
Pipeline
#88886
passed
11 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/geant/nmaas/orchestration/entities/AppDeploymentState.java
+8
-3
8 additions, 3 deletions
...eant/nmaas/orchestration/entities/AppDeploymentState.java
with
8 additions
and
3 deletions
src/main/java/net/geant/nmaas/orchestration/entities/AppDeploymentState.java
+
8
−
3
View file @
eee0221b
...
...
@@ -412,10 +412,15 @@ public enum AppDeploymentState {
@Override
public
AppDeploymentState
nextState
(
NmServiceDeploymentState
state
)
{
if
(
NmServiceDeploymentState
.
CONFIGURATION_REMOVAL_INITIATED
.
equals
(
state
))
{
return
APPLICATION_CONFIGURATION_REMOVAL_IN_PROGRESS
;
switch
(
state
)
{
case
DEPLOYMENT_FAILED:
return
APPLICATION_DEPLOYMENT_FAILED
;
case
CONFIGURATION_REMOVAL_INITIATED:
return
APPLICATION_CONFIGURATION_REMOVAL_IN_PROGRESS
;
default
:
return
nextStateForNotMatchingNmServiceDeploymentState
(
this
,
state
);
}
return
nextStateForNotMatchingNmServiceDeploymentState
(
this
,
state
);
}
@Override
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment