fix: small description fix
@@ -20,11 +20,6 @@ import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.reflect.TypeToken;
import io.swagger.annotations.ApiOperation;
-import java.lang.reflect.Type;
-import java.util.*;
-import java.util.Map.Entry;
-import java.util.concurrent.ExecutionException;
-import javax.validation.Valid;
import org.openbaton.catalogue.mano.descriptor.NetworkServiceDescriptor;
import org.openbaton.catalogue.mano.descriptor.VNFComponent;
import org.openbaton.catalogue.mano.descriptor.VirtualDeploymentUnit;
@@ -46,6 +41,12 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
+import javax.validation.Valid;
+import java.lang.reflect.Type;
+import java.util.*;
+import java.util.Map.Entry;
+import java.util.concurrent.ExecutionException;
+
@RestController
@RequestMapping("/api/v1/ns-records")
public class RestNetworkServiceRecord {
@@ -357,7 +358,7 @@ public class RestNetworkServiceRecord {
networkServiceRecordManagement.addVNFCInstance(id, idVnf, idVdu, component, "", projectId);
}
- @ApiOperation(value = "Add a VNFC instance to all VDUs of a VNFR", notes = "")
+ @ApiOperation(value = "Add a VNFC instance to a random VDU of a VNFR", notes = "")
@RequestMapping(
value = "{id}/vnfrecords/{idVnf}/vdunits/vnfcinstances",
method = RequestMethod.POST,
