Jean-Paul Calderone
|
6623ed3e4b
|
Remove import-time dependency version checks.
|
2019-08-13 14:10:36 -04:00 |
|
meejah
|
8e4b05214a
|
add --coverage for integration tests
|
2019-08-06 16:47:43 -06:00 |
|
Jean-Paul Calderone
|
e66ffacc9e
|
a docstring for the matcher's match method
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
21d735ece9
|
whitespace more conforming to PEP8
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
3152a35618
|
Some additional documentation
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
d69de15664
|
implement the feature
improve the test slightly, too, to verify the configuration supplied to the
plugin is as expected.
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
326e5829b0
|
Add a basic test for the existence of any plugin-supplied resource
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
9842447a07
|
Don't start or announce anonymous access if config says not to
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6fd27097a9
|
Factor out some repetition of this dummy value
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
e0157ab174
|
Give me a tool to match announcements w/o anonymous storage furl
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
853cf62530
|
Allow [storage]anonymous through the validator
And provide a helpful accessor for reading it
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
311afa8a75
|
Test & fix supplying plugin configuration
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
57160f65c6
|
Pass get_rref in to get_storage_client
plugins don't otherwise have a way to talk to the server.
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
2616c66a49
|
Fix confusion between IStorageServer and the thing above it
IStorageServer is what uses a connection. You need a thing above it to _get_
a connection.
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
59546944ce
|
Factor duplicate furl value out and add it where needed
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
11418a9f87
|
Fix test_add_rref users by making them supply coherent values
... of the right type
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
c752fc76f1
|
pass the new config to StorageFarmBroker
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6e3cd2d91c
|
Reflect announcement changes from ticket:3119
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
f3218e6f62
|
basic positive path test
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
09acde41b9
|
refactor test_ignored_non_enabled_plugin to support more tests
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
7e9e380912
|
adjust to the changed parameter name
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6b7e0dd700
|
add a test for the negative case
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
e8b38d8cd6
|
move some testing helpers into the common module
|
2019-08-03 06:39:27 -04:00 |
|
Jean-Paul Calderone
|
3b6e1e344b
|
Don't blow up the web status if we get an unrecognized announcement
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
07bf8a3b8c
|
Change this helper to reflect the fact that old announcements are irrelevant
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
624591e412
|
Change the tests to match against the announcement we need
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
6068b6c1b2
|
don't reach through the tahoe-lafs config object
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
251eda0b80
|
rename introducer_factory parameter to be private
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
8516459fa3
|
Python 3 syntax compatibility
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
58db131787
|
remove unused imports
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
e825e63590
|
This returned to being synchronous
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
deb3109f43
|
please report all errors
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
1c68157c1f
|
verify behavior if there is a poorly behaved plugin
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
23e1631259
|
switch from node to client for config loading
apparently clients are the things with storage
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
3719a107be
|
Stop putting a useless client section in here
[client] is not a valid common section so this fails if there's validation
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
3bc21e1b72
|
Re-synchronize the fake with the real implementation
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
7919cf205e
|
Test the actual interface
get_storage_server is supposed to return a Deferred
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
f606beb065
|
Test and support plugins without any configuration
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
e2982c0129
|
Support multiple plugins
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
646cd452b9
|
Add tests for announcements for plugins
And a basic implementation
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
9608404b6e
|
Factor plugin helper behavior into its own fixture
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
25287870ee
|
Add a tool for matching the node key in the announcement
And use it in the recently added test
|
2019-08-03 06:18:55 -04:00 |
|
Jean-Paul Calderone
|
212f96dfe7
|
Baseline tests for anonymous storage server announcements
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
0f0ca5598a
|
at least minimally test the other implementation
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
1c6433b43b
|
Factor details of the storage announcement out of NativeStorageClient
A separate object can be responsible for the details of each kind of announcement.
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
f19b94a43d
|
remove unused import
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
b737c6f5c5
|
Use the client config helper to read/test client config
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
fb4c5cf91f
|
Allow for dynamic configuration validation rules
|
2019-08-03 05:34:21 -04:00 |
|
meejah
|
4b7e26ee60
|
unused import
|
2019-07-09 09:11:57 -06:00 |
|
meejah
|
6c9a3cfea1
|
move import
|
2019-07-08 14:00:39 -06:00 |
|