This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace VQConsole | |
{ | |
using System; | |
using System.IO; | |
using System.Threading; | |
using App.Metrics; | |
using App.Metrics.Extensions.Reporting.Http; | |
using App.Metrics.Extensions.Reporting.Http.Client; | |
using App.Metrics.Formatting.Ascii; | |
using App.Metrics.Reporting.Abstractions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using IoCTest.Modules; | |
using RawRabbit; | |
namespace IoCTest | |
{ | |
public interface IMessagingClient : IDisposable | |
{ | |
void Shutdown(); | |
void Publish(BasicMessage basicMessage); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
using RabbitMQ.Client.Events; | |
using RawRabbit.Common; | |
using RawRabbit.Serialization; | |
using ServiceStack; | |
using ServiceStack.Text; | |
namespace ConsoleApplication | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Polly; | |
using RabbitMQ.Client; | |
using RabbitMQ.Client.Exceptions; | |
using RawRabbit.Channel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class CommandHandler<TCommand, TResult> where TCommand : ICommand<TResult> | |
{ | |
public abstract TResult Handle(TCommand command); | |
} | |
public class SomeCommandeHandler : CommandHandler<SomeCommand, Guid> | |
{ | |
public override Guid Handle(SomeCommand command) | |
{ | |
// Do stuff here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but | |
will not be persisted to local or remote state storage. | |
The Terraform execution plan has been generated and is shown below. | |
Resources are shown in alphabetical order for quick scanning. Green resources | |
will be created (or destroyed and then created if an existing resource | |
exists), yellow resources are being changed in-place, and red resources | |
will be destroyed. Cyan entries are data sources to be read. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create Search | |
resource "azurerm_search_service" "eg-search" { | |
name = "eg-search-${var.environment}" | |
resource_group_name = "${azurerm_resource_group.eg-resource-group.name}" | |
location = "${var.location}" | |
sku = "standard" | |
depends_on = ["azurerm_resource_group.eg-resource-group"] | |
} | |
# Create SQL Server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a resource group | |
resource "azurerm_resource_group" "eg-resource-group" { | |
name = "EventGeniusApi" | |
location = "${var.location}" | |
} | |
# Create SQL Server | |
resource "azurerm_sql_server" "eg-sql-server" { | |
name = "eg-sql-sandbox" | |
resource_group_name = "${azurerm_resource_group.eg-resource-group.name}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/08/18 16:35:20 [INFO] Packer version: 0.10.1 | |
2016/08/18 16:35:20 Packer Target OS/Arch: darwin amd64 | |
2016/08/18 16:35:20 Built with Go Version: go1.6.2 | |
2016/08/18 16:35:20 Detected home directory from env var: /Users/ritasker | |
2016/08/18 16:35:20 Using internal plugin for amazon-ebs | |
2016/08/18 16:35:20 Using internal plugin for qemu | |
2016/08/18 16:35:20 Using internal plugin for vmware-iso | |
2016/08/18 16:35:20 Using internal plugin for parallels-pvm | |
2016/08/18 16:35:20 Using internal plugin for amazon-chroot | |
2016/08/18 16:35:20 Using internal plugin for amazon-instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"client_id": "", | |
"client_secret": "", | |
"subscription_id": "", | |
"tenant_id": "", | |
"object_id": "", | |
"resource_group": "", | |
"storage_account": "", |