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
1baa920d
Commit
1baa920d
authored
1 week ago
by
kbeyro
Browse files
Options
Downloads
Patches
Plain Diff
fix test
parent
dce4b833
No related branches found
No related tags found
1 merge request
!213
Resolve "Support deployment of applications on remote clusters"
Pipeline
#94418
passed
1 week ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/integrationTest/java/net/geant/nmaas/nmservice/deployment/ServiceDeploymentWithKubernetesTest.java
+7
-0
7 additions, 0 deletions
...rvice/deployment/ServiceDeploymentWithKubernetesTest.java
with
7 additions
and
0 deletions
src/integrationTest/java/net/geant/nmaas/nmservice/deployment/ServiceDeploymentWithKubernetesTest.java
+
7
−
0
View file @
1baa920d
package
net.geant.nmaas.nmservice.deployment
;
import
net.geant.nmaas.externalservices.kubernetes.RemoteClusterManager
;
import
net.geant.nmaas.nmservice.deployment.containerorchestrators.kubernetes.KubernetesRepositoryManager
;
import
net.geant.nmaas.nmservice.deployment.containerorchestrators.kubernetes.entities.*
;
import
net.geant.nmaas.nmservice.deployment.exceptions.NmServiceRequestVerificationException
;
...
...
@@ -24,6 +25,8 @@ import static org.hamcrest.Matchers.equalTo;
import
static
org
.
hamcrest
.
Matchers
.
is
;
import
static
org
.
hamcrest
.
core
.
IsNull
.
notNullValue
;
import
static
org
.
junit
.
jupiter
.
api
.
Assertions
.
assertThrows
;
import
static
org
.
mockito
.
ArgumentMatchers
.
any
;
import
static
org
.
mockito
.
Mockito
.
when
;
@ExtendWith
(
SpringExtension
.
class
)
@SpringBootTest
...
...
@@ -35,6 +38,9 @@ class ServiceDeploymentWithKubernetesTest {
@Autowired
private
KubernetesRepositoryManager
repositoryManager
;
@Autowired
private
RemoteClusterManager
remoteClusterManager
;
private
static
final
Identifier
deploymentId
=
Identifier
.
newInstance
(
1L
);
@AfterEach
...
...
@@ -93,6 +99,7 @@ class ServiceDeploymentWithKubernetesTest {
.
applicationId
(
Identifier
.
newInstance
(
"appId"
))
.
deploymentName
(
"deploy"
)
.
configFileRepositoryRequired
(
false
)
.
remoteClusterId
(
1L
)
.
appName
(
"AppName"
).
build
();
}
...
...
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