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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "This template is a demo template from Connect 2021, it represents a recommended infrastructure setup for Couchbase Server and Sync Gateway, with Local zone usage. It includes a bastion host, which creates its own SSH keypair upon deployment.", | |
| "Metadata": { | |
| "AWS::CloudFormation::Interface": { | |
| "ParameterGroups": [ | |
| { | |
| "Label": { | |
| "default": "Environment Configuration" | |
| }, |
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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Couchbase Sync Gateway on Amazon Linux 2", | |
| "Metadata": { | |
| "AWS::CloudFormation::Interface": { | |
| "ParameterGroups": [ | |
| { | |
| "Label": { | |
| "default": "Network Configuration/Access" | |
| }, |
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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Couchbase Enterprise Edition Server on Amazon Linux 2", | |
| "Metadata": { | |
| "AWS::CloudFormation::Interface": { | |
| "ParameterGroups": [ | |
| { | |
| "Label": { | |
| "default": "Network Configuration/Access" | |
| }, |
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.Collections.Generic; | |
| using System.Threading.Tasks; | |
| namespace valid.apiframework.core.interfaces | |
| { | |
| public interface IValidTokenGenerator | |
| { | |
| Task<string> GetBearerTokenAsync(string AuthorityUrl, string ClientId, string ClientSecret, List<string> Scopes); | |
| Task<string> GetPasswordTokenAsync(string AuthorityUrl, string UserName, string Password, string ClientId, string ClientSecret, List<string> Scopes); | |
| } |
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.Linq; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using BuildUp.InMemoryImplementation; | |
| using BuildUp.Models; | |
| using Xunit; | |
| namespace BuildUp.Test | |
| { |
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.Collections.Generic; | |
| using System.Data.Common; | |
| using System.IO; | |
| using Marten; | |
| using Marten.Schema; | |
| using Marten.Storage; | |
| using Marten.Util; | |
| namespace tx.DataAccessLayer.Schema | |
| { |
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.Linq; | |
| using Xunit; | |
| namespace BuildUp.Test | |
| { | |
| public class DeleteAndPatchTests | |
| { | |
| public class DeleteEvent | |
| { |
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.Runtime; | |
| using System.Runtime.InteropServices.ComTypes; | |
| using System.Security.Cryptography.X509Certificates; | |
| using Xunit; | |
| namespace BuildUp.Test | |
| { | |
| public class BasicOperations | |
| { |
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.Generic; | |
| using System.ComponentModel.Design; | |
| namespace action_tests | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
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
| private bool StartSession() | |
| { | |
| // _connection is a wrapper NpgsqlConnection that is passed in the constructor of the UnitOfWork | |
| // if a session already exists, don't need to create a new one. | |
| if (_session?.Connection != null) | |
| { | |
| return true; | |
| } | |
| // If when creating the unit of work, a transaction was not passed in we | |
| // enlist in any ambient transactions |
NewerOlder