Removing a profile from an environment leads to an event containing wrong parameters

Description

When removing a profile from a load environment the ConfigurationInterfaceManager uses the checkProfiles(..) method to remove the profile from the environment. In this case it is directly removed from the actual environment's profile map. There is no way to keep track of this deletion.

When comparing the updated environment to the old environment, the profile deletion can not be figured out because they refer the same profile-map.

p.s.: this fix is necessary for the dynamic instrumentation.

Environment

None

Gliffy Diagrams

Activity

Show:

Technical UserNovember 25, 2016 at 1:11 PM

SUCCESS: Integrated in

inspectIT - Integration #231
INSPECTIT-2266: Removing a profile from an environment leads to an event (ivan.senic: caf47de810b74b07fffbbbf00555c7b8c008de33)

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/ci/ConfigurationInterfaceManagerTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/ci/ConfigurationInterfaceManager.java

Fixed

Details

Assignee

Reporter

Integrator

Sprint

Fix versions

Priority

Created November 24, 2016 at 1:03 PM
Updated November 25, 2016 at 1:12 PM
Resolved November 25, 2016 at 1:12 PM