Comments (5)
@dang03
The Gatekeeper is ready, but there are still compromises with the Catalogues I'd like to see removed, like:
- the package file name: why
filename.son
? I know we've discussed this sometime ago... what have I forgotten? - HTTP header
application/json
should return a JSON description of the package file, whileapplication/zip
should return the file, for the.../catalogue/son-packages/:uuid
, no? Both calls are currently returning binary data - from the GK API's point of view, the call to get the file is
.../packages/:uuid/download, i.e., there's no 'special' (like in
son-pakages`) endpoint for downloading files
from son-tests.
@jbonnet
Addressing your points:
-
The package file is indeed a zip file, however, long time ago it was stated (I don't remember well) that SONATA packages would use .son extension. No problem in this, the Catalogue support any kind of file extension, as long as you provide a filename.
-
This was a bug. Now, with the last son-catalogue-repos commit (still pending to merge) you will be able to get the package file meta-data using
application/json
header or the package file itself usingapplication/zip
header for the.../catalogues/api/v2/son-packages/:uuid
.
Note: This only works on API v2!!.../catalogues/api/v2/...
-
That's fine to have one API dedicated to Packages (descriptors and files) in the GK. However in the Catalogue it is managed separately as a descriptor and a file are stored in different "catalogues", so different APIs.
from son-tests.
from son-tests.
from son-tests.
@jbonnet
The integration test for the package download Jenkins <-> GK <-> Catalogue is now enabled and working correctly.
from son-tests.
Related Issues (20)
- Definition - Stress catalogues and repos HOT 2
- Definition - Stress monitoring HOT 1
- Definition - Stress the IFTA with mocked VIM HOT 1
- Deploy 1 VNF 1 PoP HOT 1
- Deploy 2 VNFs 1 PoP HOT 1
- Deploy 2 VNFs 2 PoPs HOT 1
- Deploy 2 VNFs 2 PoPs and SSM react when cpu high
- Definition - User Management module HOT 3
- Definition - IFTA and keystone v3 HOT 1
- Definition - Monitoring and websockets HOT 5
- Definition - IFTA -> SON-EMU HOT 2
- CLI Development Workflow
- Deploy SSM FSM HOT 1
- SLM FLM IA Deploy Service HOT 1
- Postgres database insert error HOT 5
- son-gtkkpi HOT 1
- Push all docker containers to dockerhub with dev tag every night HOT 1
- Fix the status of the plugin manager at the end of integration of int-4 HOT 2
- Fix missing variable HOT 1
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-tests.