Closed dang03 closed 8 years ago
Hi Daniel,
we've started a similar discussion in son-schema. I think, that the service descriptors should be identified uniquely by a group-Id, a name, and a version, similar to Java Maven packages https://maven.apache.org/guides/mini/guide-naming-conventions.html. That is, the "id" can be created by humans and is human-readable and understandable.
An "id" as you mentioned it has to be created by a machine, like the service platform, but has nothing to do with the service description, IMHO.
We might still want to have an "id" that identifies the descriptor in a database, but this should be internal to the SP and should not be part of the service descriptor.
Cheers, Michael
What a popular subject! ;-) Also here son-catalogue#2
@dang03: I didn't get your second example; you update the NSD (increase it's version) and get a new ID for it? That might be as it was in T-NOVA, but I don't think that's right... is it?
@jbonnet Exactly, the second example shows an updated NSD with an increased version and it receives a new ID. I think this was the approach used in T-NOVA, following the concept of ID "uniqueness". The other approach could be to have a NSD updated, with the version increased but keeping the same ID. Then, the catalogue could keep many NSD with the same ID but different versions. Which approach would you suggest to follow?
Referencing the discussion in son-catalogue#2, the ID should be service platform internal only. That is, the ID identifies the a descriptor uniquely. Thus, it should be a different identifier for a different version - as Daniel said already :-)
This issue belongs to Service Platform (SP) Catalogues. Moving to son-catalogue-repos (WP4)
This issue is related with the identifier (ID) of the NS / VNF Descriptor for the son-catalogue component.
Q: ID Format: What is the specific ID format? int, uuid, string, ... In the current implementation, the ID is considered an integer, however this can be adapted to the specified format.
Q: ID Uniqueness (versioning): Is the NS/VNF Descriptor ID unique in the SDK or SP environment? This question is related with versioning in the son-catalogue component. In the current implementation, a Descriptor has a unique ID, so this means that no other Descriptor will have the same ID but they can have the same Name, different Version. To extend this, an example is:
NSD Example -> "id": "001" "name": "TEST" "version": "1.0"
Then some developer updates this NSD and stores it in the son-catalog, where we will have:
NSD Example "updated" -> "id": "002" "name": "TEST" "version": "1.1"