jMyles
|
e949123a08
|
Need an instantiated node to make a WorkOrder for it.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
b38d130aaa
|
Debuggers try to read the length of this object to represent it; causes extraneous warnings in the console, so let's just implement it here.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
ab04d13ed6
|
Separating verify and parse logic in middleware so that the latter is easier to mock.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
cafd469aad
|
Passing client instead of middleware per new spec.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
092d9049db
|
Facility to convert fake key to real one for testing.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
e88d0bcf42
|
A few updates to performance mocks. Most notably, and strangest, a quick list of all the integers which, when cast to string along with the test string, produce a value in bytes which can't be used as a public key. Seemed like the simplest way to proceed, but I'm open to ideas.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
32593b432c
|
Flask wants testing set to true in order for this to be treated like a test client.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
3f372d4053
|
Comments and new mocks for highperf Alice test.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
91e757b021
|
highperf mocked ursula fleet is now variable in size.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
e4207b02fd
|
Use the client in verify_node now.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
84c1585b85
|
Allow cert storage function to be composed elsewhere.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
095ebe77d4
|
Now we might have instantiated the sprout into a node, or we might not have.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
6f72db0e42
|
Reintroducing domain check up here.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
21ac24e0f8
|
Easier to debug and test if the round_finish time has a name.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
17d043b4fb
|
Utilities for just-in-time verification.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
d02ffb05c1
|
Removing some of the workarounds from mature() that are now in from_prepared_bytes().
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
8196558510
|
Individually instantiating client objects per middleware.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
a2f6b03b76
|
from_processed_bytes now includes workarouns previous found in from_bytes. Also formatting and log cleanups.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
b2275dc366
|
Moving node_information to client for last minute verification.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
f3e8ff6e63
|
Starting a logic path to dehydrate the bytes workarounds.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
8f81e68a67
|
Perhaps my new favorite constant.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
476123816d
|
At grant time, publishing the TreasureMap is now optional.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
949cea211a
|
Up and down in the water?! A mock Bob for working with highperf mock Ursulas.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
703aeeee02
|
Need mock message verification in more places than were initially obvious.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
2e0fb975ae
|
We need to be able to mock specific routes individually to test this.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
38ef6ecb8c
|
For the moment, let's imagine we're not doing this specialized verification.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
c84780066a
|
If the Node is complete, mature() does nothing.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
aa2b9ace96
|
We'll use eagerness as an indication of whether the caller wants partial splitting.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
d21db0a5c1
|
Have to decide the federated mode of JIT-instantiated nodes somehow. It seems like #466 and #410 are increasingly in danger of being close in favor of single-mode operation; though this change can certainly be replaced by (albeit substantial) logic to reverse that direciton.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
fbd5a4f91a
|
NodeSprout is now PartiallyKwargifiedBytes as an optimization; mature() finishes the split and adds a silly workaround.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
3115ce0c27
|
Henceforth, all these things will be nodes or sprouts.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
d06b92cd45
|
Testing showing JIT validation of Ursula, with TODO showing where we might eventually do that.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
3856a0ff66
|
At method time, a node might now not be fully mature. Take care of that here.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
f83cd10b67
|
New splitter with optimization via partial. Will require new BytestringSplitter.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
6c84171595
|
Can't calculate duration periods for a federated policy, so let's fail faster and have a better error message.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
5de196329a
|
New fixture for high-performance mocked Alice, which is compatible with Ursulas fixture in previous commit.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
377d88c81c
|
Making fixture out of high-performance mocked ursulas.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
367195d5e7
|
Moving performance mocks to separate module.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
dd9f866ba7
|
Collating all mocks needed to make high-performance mock ursulas.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
80778dc957
|
Pass entire class throug in order to instantiate NodeSprout or node instance.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
7df1fde295
|
New test module for discovery phases.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
f7e90f4bc3
|
Updating test to account for use of NodeSprout.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
7b57f0b06e
|
New remember_node logic using NodeSprout.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
a301a92448
|
Introducing NodeSprout - a lighter-weight representation meant for rapid instantiation.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
92a7be805a
|
Passing Ursula class through instead of importing.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
0c962902e6
|
Splitting parsing logic from discovery logic.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
c64d09dd12
|
Switching eager remembering to False by default, but keeping eager for known_nodes to preserve current behavior for the moment. See #1449.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
bc6950dd8f
|
Better tracking of mock verifications.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
153c9ceea8
|
More eagerness controls.
|
2020-01-08 16:43:39 -08:00 |
jMyles
|
0555018ff1
|
Test showing #1450.
|
2020-01-08 16:43:39 -08:00 |