src/main/java/org/xgvela/cnf/config/Config.java
public static boolean applyPatch(JsonNode patch) {
		boolean status = true;
		LOG.info("Updating topo-engine configuration, applying patch: \n" + patch.toPrettyString()
				+ "\n<== configuration ==> \n" + node.toPrettyString());
		try {
			node = JsonPatch.apply(patch, node);
			updateProperties();
		} catch (Exception e) {
			LOG.error(e.getMessage());
			status = false;
		}
		return status;
	}
/**
	 * applies update patch on configuration properties
	 *
	 * @param json-patch
	 * @return whether patch was successfully applied or not
	 */
applies update patch on configuration properties
@param json-patch
@return whether patch was successfully applied or not
applies update patch on configuration properties @param json - patch @return whether patch was successfully applied or not
public static boolean applyPatch(JsonNode patch) {
		boolean status = true;
		LOG.info("Updating topo-engine configuration, applying patch: \n" + patch.toPrettyString()
				+ "\n<== configuration ==> \n" + node.toPrettyString());
		try {
			node = JsonPatch.apply(patch, node);
			updateProperties();
		} catch (Exception e) {
			LOG.error(e.getMessage());
			status = false;
		}
		return status;
	}
public static boolean applyPatch ( JsonNode patch ) { boolean status = true ; LOG . info ( "Updating topo-engine configuration, applying patch: \n" + patch . toPrettyString ( ) + "\n<== configuration ==> \n" + node . toPrettyString ( ) ) ; try { node = JsonPatch . apply ( patch , node ) ; updateProperties ( ) ; } catch ( Exception e ) { LOG . error ( e . getMessage ( ) ) ; status = false ; } return status ; }
applies update patch on configuration properties
 @param json-patch
 @return whether patch was successfully applied or not
applies update patch on configuration properties @param json - patch @return whether patch was successfully applied or not