forked from zscott/MultiBitExchange
-
Notifications
You must be signed in to change notification settings - Fork 1
/
import-control.xml
102 lines (80 loc) · 2.9 KB
/
import-control.xml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0"?>
<!DOCTYPE import-control PUBLIC
"-//Puppy Crawl//DTD Import Control 1.1//EN"
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
<import-control pkg="org.multibit">
<allow pkg="java.util"/>
<allow pkg="org.joda.time"/>
<allow pkg="org.ocpsoft.prettytime"/>
<allow pkg="org.slf4j"/>
<allow pkg="org.multibit.common"/>
<allow pkg="com.google.common"/>
<allow pkg="com.google.inject"/>
<allow pkg="javax.inject"/>
<subpackage name="common">
<allow pkg="java.lang"/>
<allow pkg="java.math"/>
<allow pkg="java.util"/>
<disallow pkg="java.io"/>
<disallow pkg="java.net"/>
<disallow pkg="java.nio"/>
<disallow pkg="java.lang.System"/>
<disallow pkg="java.lang.Thread"/>
</subpackage>
<subpackage name="exchange">
<allow pkg="com.fasterxml.jackson"/>
<subpackage name="infrastructure">
<allow pkg="java.io"/>
<allow pkg="java.net"/>
<allow pkg="java.nio"/>
<allow pkg="java.lang"/>
<allow pkg="org.hibernate.validator"/>
<allow pkg="javax.validation"/>
<allow class="com.yammer.metrics.core.HealthCheck"/>
<allow pkg="org.multibit.exchange"/>
<subpackage name="dropwizard">
<allow pkg="javax.ws"/>
<allow pkg="javax.servlet"/>
<allow pkg="com.sun.jersey"/>
<allow pkg="org.openid4java"/>
<allow pkg="com.hubspot.dropwizard.guice"/>
<allow pkg="com.yammer.dropwizard"/>
<allow pkg="com.yammer.metrics"/>
<allow pkg="org.multibit.exchange.infrastructure.adaptor.marketapi"/>
</subpackage>
<subpackage name="persistence">
<allow pkg="org.bson"/>
<subpackage name="mongo">
<allow pkg="com.mongodb"/>
<allow pkg="org.mongojack"/>
<allow pkg="de.flapdoodle"/>
<!-- Required for HealthCheck -->
<allow pkg="com.yammer.dropwizard.lifecycle"/>
<allow pkg="org.multibit.exchange.infrastructure.adaptor.persistence.mongo"/>
</subpackage>
</subpackage>
<subpackage name="events">
<subpackage name="disruptor">
<allow pkg="com.lmax"/>
</subpackage>
</subpackage>
<subpackage name="guice">
<!-- TODO - consider using a provider to move mongodb dependency to infrastructure.persistence.mongo -->
<allow pkg="com.mongodb"/>
<allow pkg="de.flapdoodle"/>
</subpackage>
</subpackage>
<subpackage name="service">
<allow pkg="org.multibit.exchange.service"/>
<allow pkg="org.multibit.exchange.domain"/>
<allow pkg="org.multibit.exchange.readmodel"/>
</subpackage>
<subpackage name="domain">
<allow pkg="org.multibit.exchange.domain"/>
</subpackage>
<subpackage name="readmodel">
<allow pkg="org.multibit.exchange.readmodel"/>
<allow pkg="org.multibit.exchange.domain"/>
</subpackage>
</subpackage>
</import-control>