openshift/openshift-java-client — pull request #100 by mwigglesworth-redhat (2013-11-07 16:53:51+00:00)
Title: [JBIDE-15766]:Remove refresh of all IEnvironmentVariable(s) on add/remove actions

![jbide-15766-automergeable-pr-screenshot](https://f.cloud.github.com/assets/2573756/1493406/2246b948-47cd-11e3-92a0-331ce5137135.png)
Please reference the following change log:

Removed update calls from EnvironmentVariableResource.destroy,
ApplicationResource.addEnvironmentVariable,ApplicationResource.addEnvironmentVariables,and
ApplicationResource.removeEnvironmentVariable.

Added
ApplicationResource.removeEnvironmentVariable(IEnvironmentVariable)
Resolves #9

Renamed environmentVariableByName to environmentVariableMap

Updated getOrLoadEnvironmentVariable to work check for emptiness of
environmentVariableMap

Updated loadEnvironmentVariables to work on environmentVariablesMap, and
return it, in contrast to a locally-scoped version that did not persist.

Removed update calls from EnvironmentVariableResource.destroy,
ApplicationResource.addEnvironmentVariable,ApplicationResource.addEnvironmentVariables,and
ApplicationResource.removeEnvironmentVariable.

Added
ApplicationResource.removeEnvironmentVariable(IEnvironmentVariable)

Renamed environmentVariableByName to environmentVariableMap

Updated getOrLoadEnvironmentVariable to work check for emptiness of
environmentVariableMap

Updated loadEnvironmentVariables to work on environmentVariablesMap, and
return it, in contrast to a locally-scoped version that did not persist.

Corrected test failures due to omitted changes to instances methods for EnvironmentVariableResouce and ApplicationResource.

Updated remove methods to use remove..(IEnvironmentVariable) and
ApplicationResourceIntegrationTest to use
Application.removeEnvironmentVariable(IEnvironmentVariable) in testing.
Added integration test for
removeEnvironmentVariable(IEnvironmentVariable)