Skip to content
This repository was archived by the owner on May 4, 2024. It is now read-only.

Commit 5e3dbeb

Browse files
authored
Merge pull request #5 from mulesoft-labs/ssl
SSL test first PR
2 parents 51f620f + 3cb26d1 commit 5e3dbeb

8 files changed

Lines changed: 338 additions & 238 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
1212
hs_err_pid*
1313

14-
src/motorists-poc/target
1514
.DS_Store
1615
.studio
1716
.settings
@@ -20,4 +19,6 @@ target
2019
.project
2120
/nbproject/
2221
bin/
23-
.mule
22+
.mule
23+
target/*
24+
.vscode/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Net Tools API
22

3-
The Net-Tools-Api app is a deployable Mule app that you can deploy to CloudHub. The app will then expose a very simple UI that will allow you to do basic networking commands - the supported commands are DNS lookups, Ping, TraceRoute, opening a TCP socket, and doing a simple request with curl. The idea is that most networking related issues with your CloudHub VPC and VPN are related to connectivity to your on-prem systems, and most of those issues end up being resolved on the customer end. If you have this tool available to you, you can work with your Networking team to test connectivity to various on-prem systems and verify that firewall and routing rules are working (and if not, you can generate some traffic that can help with diagnosing the issue).
3+
The Net-Tools-Api app is a deployable Mule app that you can deploy to CloudHub. The app will then expose a very simple UI that will allow you to do basic networking commands - the supported commands are DNS lookups, Ping, TraceRoute, opening a TCP socket, doing a simple request with curl, pull certificates and check supported ciphers for a given SSL/TLS endpoint. The idea is that most networking related issues with your CloudHub VPC and VPN are related to connectivity to your on-prem systems, and most of those issues end up being resolved on the customer end. If you have this tool available to you, you can work with your Networking team to test connectivity to various on-prem systems and verify that firewall and routing rules are working (and if not, you can generate some traffic that can help with diagnosing the issue).
44

55
## Last build
66

pom.xml

Lines changed: 133 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -1,158 +1,146 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
3+
<modelVersion>4.0.0</modelVersion>
44

5-
<groupId>com.mycompany</groupId>
6-
<artifactId>net-tools-api</artifactId>
7-
<version>2.1.0-SNAPSHOT</version>
8-
<packaging>mule-application</packaging>
5+
<groupId>com.mycompany</groupId>
6+
<artifactId>net-tools-api</artifactId>
7+
<version>2.1.0-SNAPSHOT</version>
8+
<packaging>mule-application</packaging>
99

10-
<name>net-tools-api</name>
10+
<name>net-tools-api</name>
1111

12-
<properties>
13-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1515

16-
<app.runtime>4.1.5</app.runtime>
17-
<mule.maven.plugin.version>3.1.6</mule.maven.plugin.version>
18-
</properties>
16+
<app.runtime>4.1.5</app.runtime>
17+
<mule.maven.plugin.version>3.1.6</mule.maven.plugin.version>
18+
</properties>
1919

20-
<build>
21-
<plugins>
22-
<plugin>
23-
<groupId>org.mule.tools.maven</groupId>
24-
<artifactId>mule-maven-plugin</artifactId>
25-
<version>${mule.maven.plugin.version}</version>
26-
<extensions>true</extensions>
27-
<configuration>
28-
<sharedLibraries>
29-
<sharedLibrary>
30-
<groupId>org.springframework</groupId>
31-
<artifactId>spring-context</artifactId>
32-
</sharedLibrary>
33-
<sharedLibrary>
34-
<groupId>org.springframework.security</groupId>
35-
<artifactId>spring-security-core</artifactId>
36-
</sharedLibrary>
37-
<sharedLibrary>
38-
<groupId>org.springframework</groupId>
39-
<artifactId>spring-beans</artifactId>
40-
</sharedLibrary>
41-
<sharedLibrary>
42-
<groupId>org.springframework.security</groupId>
43-
<artifactId>spring-security-config</artifactId>
44-
</sharedLibrary>
45-
<sharedLibrary>
46-
<groupId>org.springframework</groupId>
47-
<artifactId>spring-core</artifactId>
48-
</sharedLibrary>
49-
</sharedLibraries>
50-
<classifier>mule-application</classifier>
20+
<build>
21+
<plugins>
22+
<plugin>
23+
<groupId>org.mule.tools.maven</groupId>
24+
<artifactId>mule-maven-plugin</artifactId>
25+
<version>${mule.maven.plugin.version}</version>
26+
<extensions>true</extensions>
27+
<configuration>
28+
<sharedLibraries>
29+
<sharedLibrary>
30+
<groupId>org.springframework</groupId>
31+
<artifactId>spring-context</artifactId>
32+
</sharedLibrary>
33+
<sharedLibrary>
34+
<groupId>org.springframework.security</groupId>
35+
<artifactId>spring-security-core</artifactId>
36+
</sharedLibrary>
37+
<sharedLibrary>
38+
<groupId>org.springframework</groupId>
39+
<artifactId>spring-beans</artifactId>
40+
</sharedLibrary>
41+
<sharedLibrary>
42+
<groupId>org.springframework.security</groupId>
43+
<artifactId>spring-security-config</artifactId>
44+
</sharedLibrary>
45+
<sharedLibrary>
46+
<groupId>org.springframework</groupId>
47+
<artifactId>spring-core</artifactId>
48+
</sharedLibrary>
49+
</sharedLibraries>
50+
<classifier>mule-application</classifier>
5151
</configuration>
52-
</plugin>
53-
</plugins>
54-
</build>
52+
</plugin>
53+
</plugins>
54+
</build>
5555

56-
<dependencies>
57-
<dependency>
58-
<groupId>org.mule.connectors</groupId>
59-
<artifactId>mule-http-connector</artifactId>
60-
<version>1.3.1</version>
61-
<classifier>mule-plugin</classifier>
62-
</dependency>
63-
<dependency>
64-
<groupId>org.mule.connectors</groupId>
65-
<artifactId>mule-sockets-connector</artifactId>
66-
<version>1.1.1</version>
67-
<classifier>mule-plugin</classifier>
68-
</dependency>
69-
<dependency>
70-
<groupId>org.mule.modules</groupId>
71-
<artifactId>mule-apikit-module</artifactId>
72-
<version>1.1.7</version>
73-
<classifier>mule-plugin</classifier>
74-
</dependency>
75-
<dependency>
76-
<groupId>org.mule.modules</groupId>
77-
<artifactId>mule-spring-module</artifactId>
78-
<version>1.2.0</version>
79-
<classifier>mule-plugin</classifier>
80-
</dependency>
81-
<dependency>
82-
<groupId>org.springframework</groupId>
83-
<artifactId>spring-context</artifactId>
84-
<version>4.3.17.RELEASE</version>
85-
</dependency>
86-
<dependency>
87-
<groupId>org.springframework.security</groupId>
88-
<artifactId>spring-security-core</artifactId>
89-
<version>4.2.6.RELEASE</version>
90-
</dependency>
91-
<dependency>
92-
<groupId>org.springframework</groupId>
93-
<artifactId>spring-beans</artifactId>
94-
<version>4.3.17.RELEASE</version>
95-
</dependency>
96-
<dependency>
97-
<groupId>org.springframework.security</groupId>
98-
<artifactId>spring-security-config</artifactId>
99-
<version>4.2.6.RELEASE</version>
100-
</dependency>
101-
<dependency>
102-
<groupId>org.springframework</groupId>
103-
<artifactId>spring-core</artifactId>
104-
<version>4.3.17.RELEASE</version>
105-
</dependency>
106-
<dependency>
107-
<groupId>org.mule.modules</groupId>
108-
<artifactId>mule-scripting-module</artifactId>
109-
<version>1.1.1</version>
110-
<classifier>mule-plugin</classifier>
111-
</dependency>
112-
<dependency>
113-
<groupId>org.mule.module</groupId>
114-
<artifactId>mule-java-module</artifactId>
115-
<version>1.1.1</version>
116-
<classifier>mule-plugin</classifier>
117-
</dependency>
118-
<dependency>
119-
<groupId>junit</groupId>
120-
<artifactId>junit</artifactId>
121-
<version>4.12</version>
122-
<scope>test</scope>
123-
</dependency>
124-
<dependency>
125-
<groupId>org.hamcrest</groupId>
126-
<artifactId>hamcrest-core</artifactId>
127-
<version>1.3</version>
128-
<scope>test</scope>
129-
</dependency>
56+
<dependencies>
57+
<dependency>
58+
<groupId>org.mule.connectors</groupId>
59+
<artifactId>mule-http-connector</artifactId>
60+
<version>1.5.0</version>
61+
<classifier>mule-plugin</classifier>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.mule.connectors</groupId>
65+
<artifactId>mule-sockets-connector</artifactId>
66+
<version>1.1.1</version>
67+
<classifier>mule-plugin</classifier>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.mule.modules</groupId>
71+
<artifactId>mule-apikit-module</artifactId>
72+
<version>1.1.7</version>
73+
<classifier>mule-plugin</classifier>
74+
</dependency>
75+
<dependency>
76+
<groupId>org.mule.modules</groupId>
77+
<artifactId>mule-spring-module</artifactId>
78+
<version>1.2.0</version>
79+
<classifier>mule-plugin</classifier>
80+
</dependency>
81+
<dependency>
82+
<groupId>org.springframework</groupId>
83+
<artifactId>spring-context</artifactId>
84+
<version>4.3.17.RELEASE</version>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.springframework.security</groupId>
88+
<artifactId>spring-security-core</artifactId>
89+
<version>4.2.6.RELEASE</version>
90+
</dependency>
91+
<dependency>
92+
<groupId>org.springframework</groupId>
93+
<artifactId>spring-beans</artifactId>
94+
<version>4.3.17.RELEASE</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>org.springframework.security</groupId>
98+
<artifactId>spring-security-config</artifactId>
99+
<version>4.2.6.RELEASE</version>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.springframework</groupId>
103+
<artifactId>spring-core</artifactId>
104+
<version>4.3.17.RELEASE</version>
105+
</dependency>
106+
<dependency>
107+
<groupId>org.mule.modules</groupId>
108+
<artifactId>mule-scripting-module</artifactId>
109+
<version>1.1.1</version>
110+
<classifier>mule-plugin</classifier>
111+
</dependency>
112+
<dependency>
113+
<groupId>org.mule.module</groupId>
114+
<artifactId>mule-java-module</artifactId>
115+
<version>1.1.1</version>
116+
<classifier>mule-plugin</classifier>
117+
</dependency>
130118
</dependencies>
131119

132-
<repositories>
133-
<repository>
134-
<id>anypoint-exchange</id>
135-
<name>Anypoint Exchange</name>
136-
<url>https://maven.anypoint.mulesoft.com/api/v1/maven</url>
137-
<layout>default</layout>
138-
</repository>
139-
<repository>
140-
<id>mulesoft-releases</id>
141-
<name>MuleSoft Releases Repository</name>
142-
<url>https://repository.mulesoft.org/releases/</url>
143-
<layout>default</layout>
144-
</repository>
145-
</repositories>
146-
<pluginRepositories>
147-
<pluginRepository>
148-
<id>mulesoft-releases</id>
149-
<name>mulesoft release repository</name>
150-
<layout>default</layout>
151-
<url>https://repository.mulesoft.org/releases/</url>
152-
<snapshots>
153-
<enabled>false</enabled>
154-
</snapshots>
155-
</pluginRepository>
156-
</pluginRepositories>
120+
<repositories>
121+
<repository>
122+
<id>anypoint-exchange</id>
123+
<name>Anypoint Exchange</name>
124+
<url>https://maven.anypoint.mulesoft.com/api/v1/maven</url>
125+
<layout>default</layout>
126+
</repository>
127+
<repository>
128+
<id>mulesoft-releases</id>
129+
<name>MuleSoft Releases Repository</name>
130+
<url>https://repository.mulesoft.org/releases/</url>
131+
<layout>default</layout>
132+
</repository>
133+
</repositories>
134+
<pluginRepositories>
135+
<pluginRepository>
136+
<id>mulesoft-releases</id>
137+
<name>mulesoft release repository</name>
138+
<layout>default</layout>
139+
<url>https://repository.mulesoft.org/releases/</url>
140+
<snapshots>
141+
<enabled>false</enabled>
142+
</snapshots>
143+
</pluginRepository>
144+
</pluginRepositories>
157145

158146
</project>

0 commit comments

Comments
 (0)