Coder Social home page Coder Social logo

Comments (6)

sonata-jenkins avatar sonata-jenkins commented on June 10, 2024

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

from son-catalogue.

jbonnet avatar jbonnet commented on June 10, 2024

What a popular subject! ;-)
Also here son-catalogue#2

from son-catalogue.

jbonnet avatar jbonnet commented on June 10, 2024

@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?

from son-catalogue.

dang03 avatar dang03 commented on June 10, 2024

@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?

from son-catalogue.

mbredel avatar mbredel commented on June 10, 2024

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 :-)

from son-catalogue.

dang03 avatar dang03 commented on June 10, 2024

This issue belongs to Service Platform (SP) Catalogues. Moving to son-catalogue-repos (WP4)

from son-catalogue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.