Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
33 stars 80 forks source link

[MPG] Etag grouping into `MatchConditions` and `RequestConditions` #2633

Open XiaofeiCao opened 4 months ago

XiaofeiCao commented 4 months ago

DPG has supported it: https://github.com/Azure/autorest.java/issues/2058

Though for MPG, this will break existing mgmt libs. https://github.com/Azure/azure-rest-api-specs/blob/80be470f83f16d693291beb988ee80cd9a0b8023/specification/containerservice/Fleet.Management/update/strategy.tsp#L62-L63

Discussion at 21/03:

  1. As a first step, we disable Etag grouping for MPG, possibly with a flag.
  2. See if Etag got excessive usage in mgmt tsps. If we gets lots of upcoming new services supporting Etags, we enable this feature for new services.