azure-batch-software-entitl.../docs
peterbom a4a9f67ad8 Implement leasing API in test server (#125)
* move handlers for each of the different API versions into different controller methods

* add controller methods for acquire, renew and release

* change structure of Errorable to allow LINQ query syntax

* use Result<TOk, TError> class for error handling in request handler classes, and re-implement Errorable extension methods on Results

* update documentation with PowerShell/curl/wget commands for testing the leasing API

* respond to ErrorCollection PR comments

* add braces around null check throws

* remove Errorable class (replace with Result/ErrorCollection)

* remove static Errorable class, and instead create Result instances using implicit operators

* rename ErrorCollection to ErrorSet, respond to PR comments in Result class

* API version changes in Server project

* suppress messages about implicit operator alternatives

* add documentation comments to API DTOs

* use DateTimeOffset in preference to DateTime

* change order of generic parameters in Result extension methods to be more readable

* rename generic type parameters and variables for consistency

* use AssertOk and AssertError consistently, without introducing separate variable for result

* rename local function in test

* follow existing pattern for datetime properties on FakeTokenPropertyProvider, and add test for expected errors on provider

* format Assert.Throws to wrap lines

* use ResultCodes property for returning specific result codes

* simplify test assertions for collections
2019-02-22 14:24:39 +13:00
..
build-guide.md Add use of shell commands to verify a token to the walk-through (#117) 2018-07-24 10:44:06 +12:00
finding-certificates.md Revise walk-through (#32) 2017-05-04 13:46:40 +12:00
release-history.md Make the virtual machine identifier optional (#67) 2018-04-19 12:45:37 +12:00
repository-guide.md Fixing broken links (#45) 2017-06-24 11:20:47 +12:00
walk-through.md Implement leasing API in test server (#125) 2019-02-22 14:24:39 +13:00