Shared components used by the Omex team to build scalable and highly available distributed systems
Перейти к файлу
Andrey Tretyak c266a76212
Fix Semmle warnings in unit tests (#228)
Fix Semmle warnings in unit tests
2020-07-22 10:35:24 +01:00
.github/workflows Add publish step to pipeline (#163) 2020-07-10 12:02:08 +01: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 Fix Semmle warnings in unit tests (#228) 2020-07-22 10:35:24 +01:00
tests Fix Semmle warnings in unit tests (#228) 2020-07-22 10:35:24 +01: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 vrutz to code owners (#224) 2020-07-02 13:05:03 +01:00
Dependencies.props Update packages (#216) 2020-06-23 12:26:52 +01:00
Directory.Build.props Fix Semmle warnings in unit tests (#228) 2020-07-22 10:35:24 +01: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 Add publish step to pipeline (#163) 2020-07-10 12:02:08 +01:00
Omex.sln Add log adapter to report ULSLogger events into ILogger (#222) 2020-06-30 16:42:03 +01:00
OmexOpenSource.snk Change strong name sign key file 2020-04-10 13:43:29 +01: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

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