Passed
org.eclipse.ditto.things.service.enforcement.MultiStageCommandEnforcementTest.createThingWithPolicyConflict
Standard Output
2024-05-17 17:44:35,465 INFO [] org.eclipse.ditto.base.service.signaltransformer.SignalTransformers - Instantiated the following signal transformers: . 2024-05-17 17:44:35,489 INFO [] org.eclipse.ditto.things.service.enforcement.ThingEnforcerActor - Failed to create Policy with ID <thing:cba340df-0aa3-4c9f-b16e-0aa67cfcde84> due to: <PolicyConflictException: The Policy with ID 'thing:cba340df-0aa3-4c9f-b16e-0aa67cfcde84' already exists>. The CreateThing command which would have created a Polic ...[truncated 1147 chars]... fcde84' could not be created because creation of its implicit Policy ID 'thing:cba340df-0aa3-4c9f-b16e-0aa67cfcde84' failed.', errorCode=things:thing.notcreatable, httpStatus=HttpStatus [code=400, category=CLIENT_ERROR], description='If you want to use an existing Policy, specify it as 'policyId' in the Thing JSON you create.', href=null, dittoHeaders=ImmutableDittoHeaders [{ditto-auth-context={"type":"unspecified","subjects":["google:defaultSubject"]}, ditto-originator=google:defaultSubject}]]