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

Activity

Show:
Technical User
November 25, 2016, 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

Assignee

Marius Oehler

Reporter

Marius Oehler

Integrator

Ivan Senic