diff --git a/go.mod b/go.mod index 80fad9d4..5592f197 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/launchdarkly/go-jsonstream/v3 v3.0.0 github.com/launchdarkly/go-ntlm-proxy-auth v1.0.1 github.com/launchdarkly/go-sdk-common/v3 v3.1.0 - github.com/launchdarkly/go-sdk-events/v3 v3.0.0 + github.com/launchdarkly/go-sdk-events/v3 v3.2.0 github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 github.com/launchdarkly/go-test-helpers/v3 v3.0.2 github.com/patrickmn/go-cache v2.1.0+incompatible diff --git a/go.sum b/go.sum index fb4c97a3..79370ab8 100644 --- a/go.sum +++ b/go.sum @@ -25,8 +25,8 @@ github.com/launchdarkly/go-ntlmssp v1.0.1 h1:snB77118TQvf9tfHrkSyrIop/UX5e5VD2D2 github.com/launchdarkly/go-ntlmssp v1.0.1/go.mod h1:/cq3t2JyALD7GdVF5BEWcEuGlIGa44FZ4v4CVk7vuCY= github.com/launchdarkly/go-sdk-common/v3 v3.1.0 h1:KNCP5rfkOt/25oxGLAVgaU1BgrZnzH9Y/3Z6I8bMwDg= github.com/launchdarkly/go-sdk-common/v3 v3.1.0/go.mod h1:mXFmDGEh4ydK3QilRhrAyKuf9v44VZQWnINyhqbbOd0= -github.com/launchdarkly/go-sdk-events/v3 v3.0.0 h1:u8o4vddKJ7NsFlcVCqeLMypnoM5WYADcLmRm+b3kJVw= -github.com/launchdarkly/go-sdk-events/v3 v3.0.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI= +github.com/launchdarkly/go-sdk-events/v3 v3.2.0 h1:FUby/4cUSVDghCkFDpvy+7vZlIW4+CK95HjQnuqGXVs= +github.com/launchdarkly/go-sdk-events/v3 v3.2.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI= github.com/launchdarkly/go-semver v1.0.2 h1:sYVRnuKyvxlmQCnCUyDkAhtmzSFRoX6rG2Xa21Mhg+w= github.com/launchdarkly/go-semver v1.0.2/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28= github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 h1:nQbR1xCpkdU9Z71FI28bWTi5LrmtSVURy0UFcBVD5ZU= diff --git a/testservice/go.mod b/testservice/go.mod index 9b62f802..7c84148b 100644 --- a/testservice/go.mod +++ b/testservice/go.mod @@ -15,7 +15,7 @@ require ( github.com/launchdarkly/ccache v1.1.0 // indirect github.com/launchdarkly/eventsource v1.6.2 // indirect github.com/launchdarkly/go-jsonstream/v3 v3.0.0 // indirect - github.com/launchdarkly/go-sdk-events/v3 v3.0.0 // indirect + github.com/launchdarkly/go-sdk-events/v3 v3.2.0 // indirect github.com/launchdarkly/go-semver v1.0.2 // indirect github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 // indirect github.com/launchdarkly/go-test-helpers/v2 v2.3.1 // indirect diff --git a/testservice/go.sum b/testservice/go.sum index 5410a52f..7039a8ed 100644 --- a/testservice/go.sum +++ b/testservice/go.sum @@ -19,8 +19,8 @@ github.com/launchdarkly/go-jsonstream/v3 v3.0.0 h1:qJF/WI09EUJ7kSpmP5d1Rhc81NQdY github.com/launchdarkly/go-jsonstream/v3 v3.0.0/go.mod h1:/1Gyml6fnD309JOvunOSfyysWbZ/ZzcA120gF/cQtC4= github.com/launchdarkly/go-sdk-common/v3 v3.1.0 h1:KNCP5rfkOt/25oxGLAVgaU1BgrZnzH9Y/3Z6I8bMwDg= github.com/launchdarkly/go-sdk-common/v3 v3.1.0/go.mod h1:mXFmDGEh4ydK3QilRhrAyKuf9v44VZQWnINyhqbbOd0= -github.com/launchdarkly/go-sdk-events/v3 v3.0.0 h1:u8o4vddKJ7NsFlcVCqeLMypnoM5WYADcLmRm+b3kJVw= -github.com/launchdarkly/go-sdk-events/v3 v3.0.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI= +github.com/launchdarkly/go-sdk-events/v3 v3.2.0 h1:FUby/4cUSVDghCkFDpvy+7vZlIW4+CK95HjQnuqGXVs= +github.com/launchdarkly/go-sdk-events/v3 v3.2.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI= github.com/launchdarkly/go-semver v1.0.2 h1:sYVRnuKyvxlmQCnCUyDkAhtmzSFRoX6rG2Xa21Mhg+w= github.com/launchdarkly/go-semver v1.0.2/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28= github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 h1:nQbR1xCpkdU9Z71FI28bWTi5LrmtSVURy0UFcBVD5ZU= diff --git a/testservice/service.go b/testservice/service.go index 3927eebd..91978db9 100644 --- a/testservice/service.go +++ b/testservice/service.go @@ -37,6 +37,8 @@ var capabilities = []string{ servicedef.CapabilityContextType, servicedef.CapabilityMigrations, servicedef.CapabilityEventSampling, + servicedef.CapabilityInlineContext, + servicedef.CapabilityAnonymousRedaction, } // gets the specified environment variable, or the default if not set diff --git a/testservice/servicedef/service_params.go b/testservice/servicedef/service_params.go index d14b2277..095ee476 100644 --- a/testservice/servicedef/service_params.go +++ b/testservice/servicedef/service_params.go @@ -18,6 +18,8 @@ const ( CapabilityContextType = "context-type" CapabilityMigrations = "migrations" CapabilityEventSampling = "event-sampling" + CapabilityInlineContext = "inline-context" + CapabilityAnonymousRedaction = "anonymous-redaction" ) type StatusRep struct {