Shared components used by the Omex team to build scalable and highly available distributed systems
Перейти к файлу
Andrey Tretyak 49380c9ec3
Remove unused packages (#513)
2022-10-27 21:40:54 -07:00
.devcontainer Remove .NET 5 from targets (#434) 2021-12-09 15:11:44 +00:00
.github/workflows move code ql build to windows latest 2022-05-04 14:37:55 +01:00
metadata Use proper inventoryId (#512) 2022-10-21 10:14:04 -07:00
src Add HealthCheckRegistrationParameters property bag 2022-10-18 11:34:26 +01:00
tests Remove unused packages (#513) 2022-10-27 21:40:54 -07:00
tools Add cred scan supression file (#138) 2019-10-21 10:03:44 +01:00
.editorconfig Add file header to editorconfig (#241) 2020-10-16 14:24:42 +03:00
.gitignore Add nuget folder to gitignore (#114) 2019-10-10 10:52:17 +01:00
CODEOWNERS Switch to use team in codeowners file (#238) 2020-08-20 13:35:59 +01:00
Directory.Build.props Mark as pre-release 2022-09-05 11:21:17 +01:00
Directory.Build.targets Remove duplicated SDK version (#458) 2022-04-19 15:27:16 +01:00
GuardianCustomConfiguration.json GitHub Reverse Integration 10233071 (#402) 2021-09-27 13:53:41 +01:00
LICENSE Initial import 2019-03-27 16:01:54 +00:00
NuGet.Config Disabling automatic restore in NuGet config (#394) 2021-08-26 18:37:08 +01:00
Omex.sln Update Omex.sln 2022-04-14 19:47:32 +01:00
OmexOpenSource.snk Change strong name sign key file 2020-04-10 13:43:29 +01:00
Packages.props Remove unused packages (#513) 2022-10-27 21:40:54 -07:00
README.md Update Readme to fix #211 (#503) 2022-10-05 16:04:25 -07:00
SECURITY.md Adding SECURITY.md 2020-11-04 11:36:04 +00:00
global.json Automatic NuGet package update 16168811 2022-10-12 07:09:42 +00:00

README.md

Microsoft OMEX

This repository contains source code for shared components used by the 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 release NuGet packages are available for download from Nuget.org

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

Additional source code from the OMEX team can be located at https://github.com/microsoft/PR-Metrics. This project is an Azure DevOps Extension and GitHub Action that augments PR titles with size and test coverage indicators.

Projects in this repository

  • 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.

Please contribute to this repository via pull requests against the main 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 main 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 main branch
  • Release packages: after a period of time when more changes are made to main, the Team creates release packages which are published to NuGet.org. The release packages are built from the main branch. Public contributions are accepted only from the main 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 main branch and could be published on request to Microsoft GitHub feed:

https://nuget.pkg.github.com/microsoft/index.json

The release packages are available for download from NuGet.org

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