Comments (5)
By package author you mean the package maintainer (package_maintainer)?
In Debian packages, the maintainer is given in a form similar to "Name Surname [email protected]" which, however, might be hard to check. In the schema, we would need a RegEx that checks for that. Checking for email addresses is easy though.
However, I am not so sure, if we want to limit the maintainer string anyway, as a maintainer might be a company.
from son-schema.
Right...
But the Gatekeeper has to connect this package_maintainer to licensing (I guess that not all developers will be allowed to publish packages, and stuff like that), so things like you mention ("Name Surname [email protected]") will be harder to map...
from son-schema.
Ah - now it gets clearer. You want to (re-) use the package_maintainer to check permissions?
I am in favor of decoupling that completely form the package descriptor. Uploading is done via the Gatekeeper. Thus, you have to login (or provide credentials - in case of using an API and no GUI) to the Gatekeeper in order to upload packages.
Same is true for licensing - which is not completely solved by the current package descriptor yet. But I have to think more about it - and postponed that to phase 2 :-)
from son-schema.
Ok, no problem in decoupling...
But there's something I don't agree: uploading is not done through a GUI, it should be done through the API. Therefore the need to identify the user. Credentials yes, should be gathered when registering, and then sent in the upload request. So, a request should be something like (correct me):
{
"credentials":"XXXX",
"package":<.son file here>
}
What do you think?
Yes, let's postpone licensing until phase 2
from son-schema.
Totally agree :-) Although I think, uploading can be done using a GUI at least optionally (I also think, the API way might be the dominant one) but your proposal does not prevent that.
from son-schema.
Related Issues (20)
- nsr and vnfr version just allow integer number
- connection point definition in VNFD HOT 1
- type of items in nsd-schema.yml>network_services is "string"
- Provide type of licence field for services and functions HOT 2
- Add a 'type' field to the function_specific_managers in the VNFD
- Add a 'type' field to the service_specific _managers in the NSD
- add vnf_id to the service record
- Licences (en-UK) can't be an array HOT 4
- Update example service and function descriptors to the new format
- bandwidth_units missing in nsd-schema.yml HOT 1
- [PD][VNFD][NSD] Create a release plan and stable versions
- Do docker_files deserve primetime? HOT 2
- Improve package_content HOT 4
- Required fields [name, vendor] not present in the schema. nsr-schema HOT 9
- VNF version mismatch in sonata-demo packages HOT 1
- Update 'simplest-example.son' package HOT 2
- Are the "id" fields unique in a file ? HOT 2
- Is the character ':' a path separator for id ? HOT 1
- Incorrect connectivity graph in service descriptor of Y1 demo HOT 1
- 'vnf_' prefix still used in service's 'network_functions'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from son-schema.