Skip to content

Commit

Permalink
some changes to mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhaugsdal committed Jul 3, 2024
1 parent 7d7815e commit d61c135
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
7 changes: 7 additions & 0 deletions mock-service/deploy/components/mock-service/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,36 @@ spec:
name: rekvirent-soap
port: 8881
targetPort: 8881
nodePort: 30001
- protocol: TCP
name: utleverer-soap
port: 8882
targetPort: 8882
nodePort: 30002
- protocol: TCP
name: na-soap
port: 8883
targetPort: 8883
nodePort: 30003
- protocol: TCP
name: na-rest
port: 8888
targetPort: 8888
nodePort: 30004
- protocol: TCP
name: rekvirent-rest
port: 8889
targetPort: 8889
nodePort: 30005
- protocol: TCP
name: utleverer-rest
port: 8890
targetPort: 8890
nodePort: 30006
- protocol: TCP
name: swagger
port: 8884
targetPort: 8884
nodePort: 30007
type: LoadBalancer

Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ spec:
policyTypes:
- Ingress
ingress:
- from:
- ipBlock:
cidr: 0.0.0.0/0 # Allows traffic from any source, adjust as necessary
ports:
- ports:
- protocol: TCP
port: 8881
- protocol: TCP
Expand Down
16 changes: 8 additions & 8 deletions mock-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,25 @@
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>io.github.mjhaugsdal</groupId>
<artifactId>soap</artifactId>
<groupId>io.github.mjhaugsdal.spring-boot</groupId>
<artifactId>spring-boot-soap</artifactId>
<version>1.0.1-SNAPSHOT</version>
<classifier>test-dependencies</classifier>
</dependency>
<dependency>
<groupId>io.github.mjhaugsdal</groupId>
<artifactId>rest</artifactId>
<groupId>io.github.mjhaugsdal.spring-boot</groupId>
<artifactId>spring-boot-rest</artifactId>
<version>1.0.1-SNAPSHOT</version>
<classifier>test-dependencies</classifier>
</dependency>
<dependency>
<groupId>io.github.mjhaugsdal</groupId>
<artifactId>soap</artifactId>
<groupId>io.github.mjhaugsdal.spring-boot</groupId>
<artifactId>spring-boot-soap</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.github.mjhaugsdal</groupId>
<artifactId>rest</artifactId>
<groupId>io.github.mjhaugsdal.spring-boot</groupId>
<artifactId>spring-boot-rest</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
Expand Down

0 comments on commit d61c135

Please sign in to comment.