Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
Martin Strobel 16c74dff1d
Merge pull request #73 from Azure/dev
v0.1.5
2018-07-09 17:34:51 -07:00
Martin Strobel 0d9fee5e94
Adding ImportBag type (#72)
* Adding ImportBag type

* Fixing formatting

* Updating default from unknown to the path base.

* Removing unused helper function
2018-07-09 17:31:25 -07:00
Martin Strobel 853f6ecd1d
Adding private registry support (#71)
* Adding private registry support

* Fixing linter errors

* Fixing usage typos.
2018-07-06 08:57:36 -07:00
Martin Strobel 7fbd923d47 Only creating Resource Group if deployment was called for 2018-07-03 10:34:23 -07:00
Martin Strobel 8055da22f5
Reading/writing to .env file. (#70) 2018-07-02 14:17:17 -07:00
Martin Strobel 578d16f4ec
v0.1.4 (#68)
* Adding "db-name" parameter, and renaming "database" to "db-type" (#65)

This is done in part to match Buffalo's parameter naming.

* Cache parameters (#67)

* Writing Template and parameters to disk

* Opportunistically skipping template cache

* allowing for skipping the deployment phase

* Automatically generate random dbAdmin password

* WIP populating from file

* More WIP

* Fixes #66

* Fixing CI reported issues

* Polishing defaults

* Fixing seg-fault

* Adding missing DB-Admin default setting
2018-06-27 16:40:41 -07:00
Martin Strobel 22ad6c2c23 Correcting install link 2018-06-18 14:25:35 -07:00
Martin Strobel 2866705392
Adding an install script (#64)
* Adding an install script

* Updating installation instructions
2018-06-18 14:21:45 -07:00
Martin Strobel 3947b127ad Adding --with-dep to generator test to reduce flakiness 2018-06-18 12:02:14 -07:00
Martin Strobel a0c5e92ae2 Adding logging when an eventgrid.Context's Render is called 2018-06-18 12:02:14 -07:00
Martin Strobel a6d817280e
Add Default Receiver (#59)
* Adding ReceiveDefault to EventGrid template

* Expanding EventGrid long usage
2018-06-15 10:13:17 -07:00
Martin Strobel 0adc00f555
Adding well known event types (#58)
* Adding well known event types

* Fixing formatting

* adding test-case for remapping of well-known-type
2018-06-14 11:53:27 -07:00
Martin Strobel d2bd871fbd Commenting out unused parameters 2018-06-12 16:43:57 -07:00
Martin Strobel 0cb97d295b
Spitting out useful links after completion. (#52)
Fixes #50
2018-06-12 15:09:19 -07:00
Martin Strobel 2270e1b5d6 Adding Site-Name parameter
Adding site-name parameter

Adding deployment User Agent

Updating random name to not include uppercase letters

Reversing ownership of name between resource-group & site
2018-06-12 12:00:12 -07:00
Martin Strobel 13f5870f69
+6 random chars to the default resource group name (#51)
* +6 random chars to the default resource group name

Fixes #30

* Updating dependencies
2018-06-11 14:16:28 -07:00
Martin Strobel a22196445b
Issues/33 (#49)
Adding Deployment Step-By-Step Instructions
2018-06-11 12:12:25 -07:00
Martin Strobel 2bf7370774 Adding mention of MySQL support. 2018-06-07 13:52:36 -07:00
Martin Strobel 194cf858b7 Implementing getDatabaseFlavor(string, string)
Fixes #29
2018-06-06 14:17:43 -07:00
Martin Strobel 15ff0339e9 Adding deployment started message
Fixes #42
2018-06-05 08:44:24 -07:00
Martin Strobel e60dfda65c Adding device-auth when no service principal is specified.
Fixes #41
2018-06-05 08:44:24 -07:00
Martin Strobel d38df85443 Tweaking the README 2018-06-04 10:50:10 -07:00
Martin Strobel 22be65a867 Adding Account creation link. 2018-06-04 09:01:48 -07:00
Martin Strobel 6dbcbfd08f finishing eventgrid section 2018-06-04 09:01:48 -07:00
Martin Strobel 82bd0ce47e Adding mentions of features to the README. 2018-06-04 09:01:48 -07:00
Martin Strobel 2f281dcec1 Fetching Template locally before deployment. 2018-05-31 14:47:21 -07:00
Martin Strobel fc083137d5 Add TODO issue numbers. 2018-05-31 14:47:21 -07:00
Martin Strobel e37aeca9aa Implementing Tenant Inference 2018-05-31 14:47:21 -07:00
Martin Strobel 44293c4f0c Polishing comments, etc. 2018-05-31 14:47:21 -07:00
Martin Strobel 945ddf5063 parameters/skeleton all sorted 2018-05-31 14:47:21 -07:00
Martin Strobel fff0144b0a Adding provision command 2018-05-31 14:47:21 -07:00
Martin Strobel 7f512599e4
Adding Polish (#26)
* Clean-up

* A little polish.
2018-05-15 09:12:58 -07:00
Martin Strobel 934514aaa6
Mutate app file (#25)
* Taking a stab at mutating and testing.

* app.go mutation

* Fix CI caught issues
2018-05-11 10:49:04 -07:00
Martin Strobel d503b696dd
Updating eventgrid command to invoke generator. (#24) 2018-05-09 15:50:45 -07:00
Martin Strobel 27f6a84951
Adding Template Based Event Grid Subscriber generation (#22)
* `builder` laid out to add file_contents.go entries

* Generating static templates.

* formatting

* Fixing linter errors.

* tinkering with CI impacts

* Formatting

* More CI tweaks

* adding builder test

* stashing changes

* Stashing progress using AST tools.

* Adding template of subscriber file

* Formatting.
2018-05-08 15:55:49 -07:00
Martin Strobel 79debb4daf
Adding Registration helper. (#20)
* Adding Registration helper.

* Fixing formatting
2018-05-04 11:52:08 -07:00
Martin Strobel 402c1c9f9f Adding Logging back in to otherwise isolated context. 2018-05-03 16:16:48 -07:00
Martin Strobel 536bb590e7 Wrapping more buffalo.Context methods.
There were some `buffalo.Context` methods that were bypassing the
`eventgrid.ResponseWriter` those methods also had to be overridden.
2018-05-03 12:33:39 -07:00
Martin Strobel 394992d0bc Removing ref to buffalo.Context.Error() in eventgrid.Context
eventgrid.Context still extends buffalo.Context, however more isolation
between the two was needed.
2018-05-03 10:22:00 -07:00
Martin Strobel 636685126c Adding subscriptio validation middleware test coverage. 2018-05-02 16:26:16 -07:00
Martin Strobel 33d2100fd2 fixing formatting issue 2018-05-02 14:52:18 -07:00
Martin Strobel be43d0c28b Fixing observed problem with Subscription. 2018-05-02 14:47:51 -07:00
Martin Strobel 4edd1529bd
Parallelize Event Batch Processing (#12)
* Adding more Mock HTTP implementation.

* Formatting

* Fixing broken closure, as caught by `go vet`.

* Adding "-race" flag to CI tests.

Now that eventgrid processes batches in parallel, it makes sense to
sanity check our implementation for race conditions.

* Fixing `golint` violations.

* Removing SubscriptionValidation default binding.

Before this change, `TypeDispatchSubscriber.Receive` would forward the `buffalo.Context`
directly. This gave the `ReceiveSubscriptionValidationRequest` function the ability to
respond to the request with some special sauce. Now that we discard anything written to
the context by wrapping it with our own type, that response will no longer get logged.

Inorder to fix this, I've removed the automatic binding of the
SubscriptionValidationResponse, and instead expose it as Middleware.

* Refactoring SubscriptionValidation into Middleware

* fixing up some comments
2018-05-02 13:43:57 -07:00
Martin Strobel 333d4cfa3b
Adding `golint` to CI script. (#13)
* Adding `golint` to CI script.

* Adding dep support
2018-04-30 15:11:19 -07:00
Martin Strobel 90fae33743 Backing off using a useful time construct.
Because the time string is provided by the event publisher, we
can't have nice things. They can choose whatever format they want,
it may not even be valid.
2018-04-25 23:41:20 -07:00
Martin Strobel 5205436578 Adding a quick and easy Cache for events.
It cleans itself after there are more than a set number of entries, or if entries are past a certain age.
2018-04-25 22:06:32 -07:00
Martin Strobel 738259b8ec Fixing tests. 2018-04-25 09:09:27 -07:00
Martin Strobel 23180b8cdf Progress dump. 2018-04-24 16:27:28 -07:00
Martin Strobel 991811481e Removing "flavor" flag.
Before this project was going to be a buffalo plugin, it was going to be
our own rapid-devlopment code generator. At that point, it made sense to
generate code in support of many different HTTP frameworks. That
doesn't make any sense anymore, so I'm removing the code artifacts that
suggest that strategy.
2018-04-24 12:43:27 -07:00
Martin Strobel 8746bb1d3e Add fast finish. 2018-04-24 12:27:40 -07:00