protected T getModel(ObjectNode serviceSpecObjNode) throws HyscaleException {
		if (serviceSpecObjNode == null) {
			return null;
		}
		if (getPath() == null) {
			return null;
		}
		JsonNode jsonNode = getNodeAtPath(serviceSpecObjNode, getPath());
		if (jsonNode == null || jsonNode.isNull()) {
			return null;
		}
		T t = null;
		try {
			t = mapper.treeToValue(jsonNode, getType());
		} catch (JsonProcessingException e) {
			logger.error("Error while processing service spec ", e);
			throw new HyscaleException(ControllerErrorCodes.SERVICE_SPEC_PROCESSING_FAILED, e.getMessage());
		}

		return t;
	}
Fetch json object based on {@link #getPath()} from service spec node
Converts json object to java object

@param serviceSpecObjNode
@return POJO, null if not found
@throws HyscaleException
workflow-controller/controller-service/src/main/java/io/hyscale/controller/directive/ServiceSpecDirectiveUpdateHandler.java