GithubHelp home page GithubHelp logo

sonata-nfv / son-gkeeper Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 18.0 29.58 MB

SONATA's Service Platform Gatekeeper

Home Page: http://www.sonata-nfv.eu

License: Apache License 2.0

HTML 5.80% Shell 4.50% Ruby 87.12% Python 2.53% Mako 0.04%
gatekeeper microservice nfv nfv-framework sdn service-platform sonata

son-gkeeper's People

Contributors

adrian-rosello avatar alfonsoegio avatar bernardomrf avatar bsilvr avatar cgeoffroy avatar dang03 avatar elekjani avatar fporto-optare avatar jbonnet avatar linovaldivia avatar miguelcastilho avatar pkarkazis avatar santiagordguez avatar tchalas-i2cat avatar tobiasdierich avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

son-gkeeper's Issues

Discuss 'duplicate package submited'

What should happen when a 'duplicated' (to be defined) package is submitted (POST) to the Gatekeeper? It should be rejected (HTTP error 405 Method Not Allowed), right?

SONATA Package API

How the validated Package (.zip) will be stored by the SP-Catalogue.
Initial Thoughts: Once the GK, after validation, sends the package descriptor, along with the extracted respective NSD and VNFDs, it will store it ... and similarly it will store the package (.zip) like it would do for an image for an VNF .. the mongoDB will have a URI pointing to the .zip file of a stored package descriptor ..

Integration tests between Gatekeeper and Catalogues

Let's open the discussion on this subject.

About the simple(r) tests: since tests are code, and we won't have tests to the test the testing code (!!), testing code must be really simple. Otherwise it's easier for bugs to sneak in testing code.

When the GK passes a PD, NSD and VNFD to the CTLS, points of failure are:

  1. the request fails (with a timeout) 'cause there's a network problem;
  2. the request fails (with a timeout) 'cause the CTLS service is not available;
  3. the request succeeds, the xDs are stored (totally or partially) but the response never reach the GK (might be the same as 1.1 or 1.2 above);
  4. the request succeeds, the response reaches the GK, but not all the xDs are successfully stored (some might be invalid, duplicated, etc.)
  5. others?

Tests 1. and 2. might be seen as Unit Tests for the GK (not yet implemented, btw). So, suggested integration tests between the Gatekeeper (GK) and the Catalogues (CTLS) include (but are not restricted to) the following:

  1. Inconsistencies when the GK doesn't receive the response, though the CTLS has sent it;
  2. Inconsistencies when only some of the xDs are stored
  3. others?

Investigate Swagger

In the Heidelberg meeting we've decided to use Swagger as the API definition and documentation tool. We need to know (more) about it.

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.