Sparta v1.9.2 Release Notes

Release Date: 2019-02-17 // almost 3 years ago
    • 💥 :warning: BREAKING
    • :checkered_flag: CHANGES

      • Added API.EndpointConfiguration field to API.
      • This field exposes the EndpointConfiguration property to specify either EDGE or REGIONAL API types.
      • Added decorator.APIGatewayDomainDecorator to associate a custom domain with an API Gateway instance
      • Usage:
          hooks := &sparta.WorkflowHooks{}
          serviceDecorator := spartaDecorators.APIGatewayDomainDecorator(apiGateway,
            gocf.String(acmCertARNLiteral),
            "", // Optional base path value
            "subdomain.mydomain.net")
          hooks.ServiceDecorators = []sparta.ServiceDecoratorHookHandler{
            serviceDecorator,
          }
      
    • 🛠 :bug: FIXED