class AAIVnfResources {

    public void updateOrchestrationStatusVnf(GenericVnf vnf, OrchestrationStatus orchestrationStatus) {
        AAIResourceUri vnfURI =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnf.getVnfId()));

        GenericVnf copiedVnf = vnf.shallowCopyId();

        vnf.setOrchestrationStatus(orchestrationStatus);
        copiedVnf.setOrchestrationStatus(orchestrationStatus);
        injectionHelper.getAaiClient().update(vnfURI, aaiObjectMapper.mapVnf(copiedVnf));
    }

}