blob: c9c2fc7b8362d07fa4f15ad2b4e86d471dfd3995 [file] [log] [blame]
Jordan Halterman00e92da2018-05-22 23:05:52 -07001# Base package names for core Atomix primitives
2_primitive_package_names = (
3 'barrier',
4 'collection',
5 'counter',
6 'election',
7 'idgenerator',
8 'iterator',
9 'list',
10 'lock',
11 'map',
12 'multimap',
13 'multiset',
14 'queue',
15 'semaphore',
16 'set',
17 'transaction',
18 'tree',
19 'value',
20 'workqueue',
21)
22
23# A list of all core primitive packages for dynamic class loading
24PRIMITIVE_PACKAGES = ','.join(['io.atomix.primitive.session.impl'] + ['io.atomix.core.{primitive},io.atomix.core.{primitive}.impl'.format(primitive=primitive) for primitive in _primitive_package_names])
25
26# Base package names for core Atomix protocols
27_protocol_package_names = (
28 'raft',
29 'backup'
30)
31
32# A list of all core protocol packages for dynamic class loading
33PROTOCOL_PACKAGES = ','.join(['io.atomix.primitive.partition.impl'] + ['io.atomix.protocols.{protocol},io.atomix.protocols.{protocol}.partition'.format(protocol=protocol) for protocol in _protocol_package_names] + ['io.atomix.protocols.gossip'])
34
35# A list of all additional core packages used in dynamic class loading
36CORE_PACKAGES = ','.join(['io.atomix.core.profile', 'io.atomix.core.profile.impl'])
37
38# A list of all dynamically loadable Atomix packages
39INCLUDE_PACKAGES = ','.join([PRIMITIVE_PACKAGES, PROTOCOL_PACKAGES, CORE_PACKAGES])
40
41ALL_PACKAGES = '*'