Commit Graph

109 Commits

Author SHA1 Message Date
R Tyler Croy 74feb6172a
Add a simple Procfile for running the eventbus and auctioneer together 2019-12-30 07:42:19 -08:00
R Tyler Croy ba534c36c9
Import the MIT-licensed shoreman
shoreman is a shell-only implementation of the Ruby "foreman" gem, which is
helpful for running multiple processes locally for development.

https://github.com/chrismytton/shoreman
2019-12-30 07:40:48 -08:00
R Tyler Croy 0c5e62a26a
Add the auctioneer bin stub 2019-12-30 07:32:34 -08:00
R Tyler Croy 22d273aa97
Add the default channels as described in RFC 0003 2019-12-30 07:30:06 -08:00
R Tyler Croy 0d11b64a9b
Tweak these links to render properly on GitHub
🙀
2019-12-29 13:02:08 -08:00
R Tyler Croy 2542e2ed6a
Link the RFCs from the README 2019-12-29 13:00:33 -08:00
R Tyler Croy 0d3f6d7934
Sketching out my current thoughts on how the resource auction should work 2019-12-29 12:45:54 -08:00
R Tyler Croy 20bdc3408e
Merge remote-tracking branch 'github/master' 2019-12-28 13:32:35 -08:00
R Tyler Croy 3288199f44
Merge pull request #24 from rtyler/dependabot/npm_and_yarn/agents/node-basic/handlebars-4.5.3
Bump handlebars from 4.1.2 to 4.5.3 in /agents/node-basic
2019-12-28 13:30:58 -08:00
R Tyler Croy 4a428a518f
Merge pull request #23 from rtyler/dependabot/npm_and_yarn/agents/node-basic/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2 in /agents/node-basic
2019-12-28 13:30:46 -08:00
R Tyler Croy df9169541b
Add a little logomoji 2019-12-28 13:30:00 -08:00
R Tyler Croy e77182fe18
Wire through the actual Subscribe command for the client onto the bus 2019-12-28 13:28:43 -08:00
R Tyler Croy 853966b4e1
Implement the basic command structure for serializing to JSON and back over WS 2019-12-28 13:07:01 -08:00
dependabot[bot] e22fe73efa
Bump handlebars from 4.1.2 to 4.5.3 in /agents/node-basic
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-28 04:33:08 +00:00
R Tyler Croy 5e42925927
Support configuring the channels directly from our configuration
This required the concepts of stateful and stateless channels to be introduced,
which will have different persistence guarantees.

The two types of channels will help the eventbus determine where it can be cheap
and efficient, and where it should involve more expensive storage. When I think
of an eventbus interface implemented on top of Redis, I would use BLPOP lists
for stateful channels and pub/sub for stateless channels.
2019-12-27 16:04:23 -08:00
R Tyler Croy 520e6b7a31
Add some simplistic configuration via eventbus.yml
I'm well aware that there's a borrow error waiting to happen on `settings`
below, but since I'm only needing one setting right now, 🤷
2019-12-27 14:33:22 -08:00
R Tyler Croy eed0eaa1c8
Start passing around messages internally which can be serialized to JSON
Everything over the websocket connection should be JSON
2019-12-27 12:54:44 -08:00
R Tyler Croy f5bfbdbf36
Wire together the websocket<->eventbus pulse for maintaining our connection
This is a little ugly, but it works end to end
2019-12-27 12:17:10 -08:00
R Tyler Croy 1d1b2363a4
Checkpointing the upgrade to actix-web 2.0 since things are back to working
It's taken some poking around to make this all work again, jeepers
2019-12-27 11:26:41 -08:00
R Tyler Croy 01b9986aef
Upgrade to actix-web 2.0.0
This breaks _everything_ 😸
2019-12-27 11:26:40 -08:00
R Tyler Croy 8dcf1bb076
Still working through wiring the bus to the client actors 2019-12-27 11:26:40 -08:00
R Tyler Croy 890b8f675f
Incorporate the newer actix-web components which use async/await
This commit also brings in some templates and rust-embed which is a pretty
common pattern I expect to use among all the other services
2019-12-27 11:26:40 -08:00
R Tyler Croy bf591d22d2
eventbus cargo scaffold 2019-12-27 11:26:39 -08:00
R Tyler Croy e4473f2e3b
Add a standin RFC template for the resource allocation topic 2019-12-14 08:59:52 -08:00
R Tyler Croy d55f7f60ca
Remove all the TypeScript code to start over again with something different 2019-12-13 21:03:46 -08:00
dependabot[bot] eb85064076
Bump mixin-deep from 1.3.1 to 1.3.2 in /agents/node-basic
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-29 04:14:40 +00:00
R Tyler Croy 55824515ce
Merge pull request #21 from rtyler/diagram
Add a rough system diagram from my notebook
2019-07-27 11:23:04 -07:00
R Tyler Croy f4397eb476
Add a rough system diagram from my notebook
The entities represented I believe are the bare minimum number of services
necessary to make things roughly work. The idea being that everything
effectively orients around the eventbus, and "extensibility" means tuning into
or publishing events rather than in-memory anything.

Fixes #20
2019-07-27 10:21:28 -07:00
R Tyler Croy 8bcd4c3e3f
Merge pull request #19 from rtyler/dependabot/npm_and_yarn/lodash-4.17.14
Bump lodash from 4.17.11 to 4.17.14
2019-07-14 11:12:59 -07:00
dependabot[bot] 9412b83c1b
Bump lodash from 4.17.11 to 4.17.14
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-14 18:12:44 +00:00
R Tyler Croy 49bccae727
Merge pull request #18 from rtyler/minor-tool-fixes
Some minor tooling cleanups
2019-07-14 11:12:30 -07:00
R Tyler Croy 8b87fac83c
Allow an environmental override of the default log level for @otto/logger 2019-07-14 11:09:51 -07:00
R Tyler Croy 4c14f2b259
Move the tsconfig.base.json back to tsconfig.json
The originally idea here was that I would use the tsconfig.base.json to extend
in various submodules. As it stands right now, the submodules having their own
configuration doesn't quite make sense
2019-07-14 11:09:50 -07:00
R Tyler Croy 6efcd1856c
Add some module alias configuration for the parser 2019-07-14 11:09:46 -07:00
R Tyler Croy ac939ab806
Merge pull request #17 from rtyler/dependabot/npm_and_yarn/agents/node-basic/lodash-4.17.14
Bump lodash from 4.17.11 to 4.17.14 in /agents/node-basic
2019-07-13 14:51:23 -07:00
dependabot[bot] 3ee8a54f81
Bump lodash from 4.17.11 to 4.17.14 in /agents/node-basic
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 01:03:06 +00:00
R Tyler Croy 18971079dd
Merge pull request #10 from rtyler/parser-testing
Testing the parser syntax for errors, etc
2019-07-07 11:28:34 -07:00
R Tyler Croy 75069fab67
Introduce ts-lint and clean everything up a bit 2019-07-07 11:27:44 -07:00
R Tyler Croy e7ecc6574a
Remove some unnecessary semi-colons 2019-07-07 11:10:27 -07:00
R Tyler Croy 8ddfa393a4
Scaffolding out the internal representation of the otto file format
This is just me thinking out loud in code, I'll likely restructure this a
couple times before I'm happy with it
2019-07-07 09:51:05 -07:00
R Tyler Croy 42a10e3b9b
Automatically test parsing of all the .otto examples in the examples/ directory 2019-07-07 09:00:31 -07:00
R Tyler Croy 289fe772e1
Merge pull request #4 from rtyler/matrix-syntax
Add grammar support for macros, which enable matrix use cases
2019-07-07 08:45:11 -07:00
R Tyler Croy 3f7433abb1
Merge pull request #3 from rtyler/gates
Remove the when, feedback, and before blocks in favor of more understandable "gates"
2019-07-07 08:43:35 -07:00
R Tyler Croy 9f6a9f792a
Add a basic pipeline test
Will need to be more awake to write the rest of these tests 😸
2019-07-06 20:35:53 -07:00
R Tyler Croy 5bdd7b6c74
Finish up some testing of the configure block 2019-07-06 20:35:25 -07:00
R Tyler Croy 73461af8c1
Add tests for the configure block, and update the grammar to allow an empty block
There's no functional reason why anybody should really need an empty configure
block, but no reason not to have it
2019-07-06 19:20:52 -07:00
R Tyler Croy a16f43de59
Refactor the test support tooling for the parser. 2019-07-06 19:13:53 -07:00
R Tyler Croy 7ed36d55b3
Move the grammar into its own directory
Now with more real tests
2019-07-06 18:37:03 -07:00
R Tyler Croy 8ce9053d52
Add a reporting email address 2019-07-06 11:26:32 -07:00
R Tyler Croy 2dea897b92
Add the code of Contributor Covenant 1.4 document 2019-07-06 11:26:31 -07:00