Comments (2)
In General:
To me a duplicated package is one that has the same group-name-version attributes.
"Simple" Solution:
Yes, if a package with a given group-name-version exists already, there should be an error code. Maybe HTTP 409 - Conflict would be better. But returning an error code is quite simple.
Complex Solution:
The Gatekeeper has to check the package in detail: If it is the very same package, i.e. exactly the same content, then HTTP 200 - OK might also be ok. To this end, the user just gets access to the package. If the content differs, then there is an error on the SDK/developer side, as this should never happen. However, the Gatekeeper could inform the user about this conflict ... somehow.
For now:
Lets start with the simple solution! :-)
from son-gkeeper.
Answered by #229
from son-gkeeper.
Related Issues (20)
- Wrong error when pushing a package and not catalogues available
- Error while running gtk-api
- Update to 2.4.3-slim-stretch HOT 2
- Pagination
- Licence always owned by user
- Error Instantiating a NS
- Keypair is not generated when user is created from son-gui HOT 4
- Remove foreman dependency
- User can't login from son-access due rate limit
- Get rid of capybara dependency
- Remove .erb extension from config file
- Service instance termination
- Include VNFR in the Service instance GET
- Developer can instantiate a service. Wrong condition
- Fetch on-boarded Network Slice Templates
- Fetch a Network Slice Template
- Fetch on-boarded Package Descriptors
- GK API to terminate a running service triggers internal error.
- Requesting authentication token sometimes fails HOT 3
- son-gtksrv prevent crash if rabbitmq is not available when boot HOT 2
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-gkeeper.