-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Licences (en-UK) can't be an array #119
Comments
There could be multiple licence types per service based on, for example, the number of simultaneous connections, regional restrictions, user profile (bronze/silver/gold), etc. With our simplification (public/private for both instantiation and package creation avoiding public-private combinations) it could be enough only one element instead of an array unless we consider instantiation and package creation separately. E.g: public instantiation and private packaging, only public instantiation, etc... but this would increase the complexity of out licence model. |
@srodriguezOPT in my understanding, the examples you give should be treated at the licence level. If more than one licence (an array) is given, how should the GK know which one to check? |
I was thinking in a generic way. If we want to impact/collaborate in the standard definition, maybe we should set this field as an array due to the possibility to define several licences to the same service. It's the customer who selects the licences that match with its needs and the gatekeeper should check all of them (all the licence instances that were created with its selection) by type. In our case and with our simplification we all agree that one licence in the descriptor is enough (public/private type) but what format will we use?
or
always using licences[0]. What do you think? |
@srodriguezOPT |
This partially addresses #119. I'm leaving licences as an array, assuming there will never be a conflict (e.g., one item of the array states the type of the licence as 'public' while other as 'private') within the various elements of the array.
In our schemata, licences (using en-UK) are currently specified as being an array. I don't see any valid use case for such a model, do you? Shouldn't a licence be either absent (so we'd consider the service/function as being 'public') or present, as in
or
(
url
being mandatory in the case of aprivate
type of licence)Note the singular form and en-UK
licence
.The text was updated successfully, but these errors were encountered: