Giter Site home page Giter Site logo

Comments (3)

pawel-kow avatar pawel-kow commented on July 19, 2024

Hi @kerolasa it would have been also an interesting approach with using variables.
In the end the spec authors decided rather to use fixed named parameters on template apply. See 4.2.2. for details.

If you think this part of specification is still confusing let's work on a rephrase.

from spec.

kerolasa avatar kerolasa commented on July 19, 2024

I see. Let me write how I now understand sharedServiceName and sharedProviderName work. Rest of this comment refers only to Service with intention same rules apply to both.

Default is to display serviceName from template that must be static string, that is, not a variable.

When sharedServiceName is true the template sharedName is can be replaced using providers apply parameter. This would look something like the following.

{urlAPI}/v2/domainTemplates/providers/{providerId}/services/{serviceId}/apply?sharedName=exampleName

A sharedServiceName enabled template without optional apply parameter will default to the template serviceName.

Assuming the above sounds right feel free to close this issue. But if I have misunderstood please add a comment that explains how things play together. And in the later case -- yes, the spec most definitely needs more verbosity and/or rewording how sharing a name is expected to take effect.

from spec.

pawel-kow avatar pawel-kow commented on July 19, 2024

Generally correct.
The query parameter in the example would be serviceName rather than sharedName, as per the table in 4.2.2.

from spec.

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.