generated from konveyor/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path71-localhost.windup.yaml
48 lines (48 loc) · 1.47 KB
/
71-localhost.windup.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
- category: mandatory
customVariables: []
description: Local HTTP Calls
effort: 7
labels:
- konveyor.io/target=cloud-readiness
- konveyor.io/source
- localhost
links: []
message: The app is trying to access local resource by HTTP, please try to migrate
the resource to cloud
ruleID: localhost-http-00001
when:
builtin.filecontent:
filePattern: .*\.(java|properties|jsp|jspf|tag|xml|txt|yaml)
pattern: http(s)?://((localhost)|(127\.0\.0\.1))+(:[0-9]+)?(/.*)?
- category: mandatory
customVariables: []
description: Local JDBC Calls
effort: 7
labels:
- konveyor.io/target=cloud-readiness
- konveyor.io/source
- localhost
links: []
message: The app is trying to access local resource by JDBC, please try to migrate
the resource to cloud
ruleID: localhost-jdbc-00002
when:
builtin.filecontent:
filePattern: .*\.(java|properties|jsp|jspf|tag|xml|txt|yaml)
pattern: jdbc:([a-z0-9-]+)://(localhost|127\.0\.0\.1)(:[0-9]+)?
- category: mandatory
customVariables: []
description: Local WebSocket Calls
effort: 7
labels:
- konveyor.io/target=cloud-readiness
- konveyor.io/source
- localhost
links: []
message: The app is trying to access local resource using WebSocket, please try
to migrate the resource to cloud
ruleID: localhost-ws-00003
when:
builtin.filecontent:
filePattern: .*\.(java|properties|jsp|jspf|tag|xml|txt|yaml)
pattern: ws(s)?://((localhost)|(127\.0\.0\.1))+(:[0-9]+)?(/.*)?