Shared components used by the Omex team to build scalable and highly available distributed systems
Перейти к файлу
Andrey Tretyak 84560d94ca
Fix public key for IntrenalVisibleTo (#174)
Fix public key for IntrenalVisibleTo
2020-03-24 10:27:29 +00:00
.github/workflows Start using GitHub actions (#161) 2020-02-28 15:51:39 +00:00
docs/Microsoft.Omex.Gating Add Syntax highlighting to code in Docs (#104) 2019-08-20 12:00:23 +01:00
metadata Updated repo.json to set deployedToProduction to true (#152) 2019-12-30 13:56:54 +00:00
src Change interfaces to work with Service instead of Context (#172) 2020-03-20 18:56:32 +00:00
tests Change interfaces to work with Service instead of Context (#172) 2020-03-20 18:56:32 +00:00
tools Add cred scan supression file (#138) 2019-10-21 10:03:44 +01:00
.editorconfig Create Omex extension projects to simplify usage of common logic (#153) 2020-03-13 19:36:11 +00:00
.gitignore Add nuget folder to gitignore (#114) 2019-10-10 10:52:17 +01:00
CODEOWNERS Adding Muiris and Sebastian to code owners (#165) 2020-03-10 17:29:16 +00:00
Dependencies.props Add guid correlation support and change activity processing (#169) 2020-03-19 11:36:28 +00:00
Directory.Build.props Fix public key for IntrenalVisibleTo (#174) 2020-03-24 10:27:29 +00:00
Directory.Build.targets Add ability to create internal releases (#110) 2019-08-22 11:31:10 +01:00
LICENSE Initial import 2019-03-27 16:01:54 +00:00
NuGet.Config Modified NuGet.config to override the global NuGet.config (#29) 2019-04-11 10:06:38 +01:00
Omex.sln Remove timedscopes from System package, since it's in a separate package (#171) 2020-03-19 18:30:34 +00:00
README.md Update README.md (#137) 2019-10-18 15:01:56 +01:00
azure-pipelines.yml Create Omex extension projects to simplify usage of common logic (#153) 2020-03-13 19:36:11 +00:00
ship.snk Fixing the name of ship.snk 2019-05-03 15:54:29 +01:00

README.md

Microsoft Omex

This repository contains source code for shared components used by the Omex team, which is part of the Office organization, at Microsoft to build scalable and highly available distributed systems.

The code is released under the MIT license.

The pre-release NuGet packages are available to download from the MyGet feed

https://www.myget.org/F/omex/api/v3/index.json

The release NuGet packages are available for download from Nuget.org

https://www.nuget.org/packages?q=omex

Projects in this repository

  • Gating - This library provides an implementation of a flighting mechanism for new features.
  • DocumentDb - This library contains wrapper APIs over Microsoft Azure Document Db .Net Client SDK.
  • System - This library contains shared code for Omex libraries. You'll find there utilities for logging, argument validation, resource management, caching and more.
  • System.UnitTests.Shared - This library contains abstractions and utilities used for creating unit tests.
  • Gating.UnitTests.Shared - This library provides classes used in unit tests for Gating library.
  • Gating.Example - This is a small console application that uses the Gating library to showcase some of its features.
  • GateGen - This is a code generator tool that produces strongly typed gates (C# file) from the gates xml files. Should be used as a dependency in another project.
  • TimedScopeGen - This is a code generator tool that produces strongly typed timed scopes (C# file) from the timedscopes xml files. Should be used as a dependency in another project.

Please contribute to this repository via pull requests against the master branch.

Build Status

Building

To build the solution you will need

  • .NET Core 3.0 SDK or newer
  • Visual Studio 2019 (16.3) or newer

Building in Visual Studio is straightforward. If you use .NET Core CLI then invoke

dotnet restore
dotnet build

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Coding Style

Please follow the pattern of what you already see in the code.

Code Overview

The code is organized in different projects, each one having its own project file. Each project produces a NuGet package. All the projects are included in the main solution file in the root directory. Please contribute to existing projects. If you would like to create a new project, please discuss this with the Team first using GitHub issues.

Documentation

All documentation is located in the ./doc folder. If you would like to contribute to the documentation, please submit a pull request.

Communicating with the Team

The easiest way to communicate with the team is via GitHub issues. Please file new issues, feature requests and suggestions.

FAQ

What is the difference between the master and release branches?

There are two types of NuGet packages that get built from the code in this repository:

  • Pre-release packages: the pre-release packages are built after every change on the master branch
  • Release packages: after a period of time when more changes are made to master, the Team creates release packages which are published to NuGet.org. The release packages are built from the master branch. Public contributions are accepted only from the master branch.

Where are the NuGet packages for the components in this repository available for download?

The pre-release NuGet packages which are built from the master branch are available to download from the MyGet feed

https://www.myget.org/F/omex/api/v3/index.json

The release packages are available for download from NuGet.org

https://www.nuget.org/packages?q=omex