Skip to content
Snippets Groups Projects
  1. Oct 03, 2022
  2. Sep 20, 2022
  3. Sep 13, 2022
  4. Sep 06, 2022
  5. Aug 02, 2022
    • Lluis Gifre Renom's avatar
      Context component: · b3874a8a
      Lluis Gifre Renom authored
      - added exposition of redis-tests service for testing with Redis backend
      - moved delete logic from Context Servicer to ORM components
      - added support for constraints of different kinds
      b3874a8a
  6. Aug 01, 2022
    • Lluis Gifre Renom's avatar
      Common and Context changes: · 61240584
      Lluis Gifre Renom authored
      - added helper methods to copy/update grpc messages: config_rules, constraints, endpoint_ids, service_ids
      -  extended Context ConstraintModel to support different types of constraints
      - extended EndpointModel with get_endpoint helper method
      - extended SliceModel to incorporate config rules
      61240584
  7. Jul 14, 2022
    • Lluis Gifre Renom's avatar
      Adapted Context to common proto folder: · 6908f606
      Lluis Gifre Renom authored
      - Arranged .gitignore & .gitkeep files in common proto folder
      - Created specific run_tests_locally script for Context component
      - Moved imports from *.proto folder to common.proto folder
      - Adapted common.tools.object_factory to new proto definitions for ConfigRule and Constraint
      - Extended common.tools.type_checkers to new proto definitions for ConfigRule and Constraint
      - Removed context's genproto.sh script
      - Adapted Events generated to new timestamp data type
      - Minor code and linting fixing
      6908f606
  8. May 03, 2022
  9. Feb 16, 2022
  10. Feb 10, 2022
  11. Jan 25, 2022
  12. Dec 16, 2021
  13. Nov 30, 2021
  14. Nov 03, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · 78dd010b
      Lluis Gifre Renom authored
      Common:
      - Normalized report_coverage_*.sh scripts, and temporarily summarized results in device one for testing purposes.
      - Adapted run_tests_locally.sh script for testing purposes
      - Improved message synthesis of ServiceException
      
      Context:
      - Improved ConfigModel helper functions
      
      Device (intermediate backup):
      - Removed DataCache since it reduces readability of the code. Moved database one level up.
      - Improved ServicerImpl and moved DataCache functionality over there.
      - Added condition to prevent AddDevice request from carrying a configuration.
      - Multiple pre-work required for processing configuration differences in DeviceServiceServicerImpl.
      78dd010b
  15. Oct 25, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · f7b5ea1a
      Lluis Gifre Renom authored
      - Final version of Context service ready for integration tests
      - Integrated REST API read-only methods
      - Updated test units for gRPC and REST API interfaces
      - Improved flag for pre-populating database with fake testing data
      - Combined Redis within Context POD
      f7b5ea1a
  16. Oct 22, 2021
    • Lluis Gifre Renom's avatar
      Several Changes: · 39474919
      Lluis Gifre Renom authored
      Common:
      - Renamed common.metrics to common.rpc_method_wrapper
      - Moved ServiceException to common.rpc_method_wrapper
      - Implemented High-Level ORM methods to simplify Database handling
      
      Context:
      - Added flag to auto-populate fake data for testing purposes
      - Added fake objects for testing purposes
      - Minor corrections in ORM Database Models
      - Reimplemented gRPC Servicer methods using HighLevel ORM helper methods
      - Implemented complete unit testing of gRPC Servicer
      - Added Message Broker to enable distribution of database events
      - Implemented gRPC GetEvents methods
      - Modified default config values to support larger number of persistent connections for events streaming
      - Reimplemented Context REST Resource to re-use gRPC Servicer and prevent duplicating code
      
      Automated Tests:
      - Reactivated common and context unit tests
      39474919
  17. Oct 21, 2021
    • Lluis Gifre Renom's avatar
      Several Changes: · fc308bcd
      Lluis Gifre Renom authored
      Context:
      - Moved old code to separate folder (will be removed in future commit when development is completed)
      - Solved bug with Link-EndPoint retrieval
      - Implemented ServiceModel and related unit tests
      - Moved helper methods to Tools.py file in database
      fc308bcd
  18. Oct 20, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · b9031981
      Lluis Gifre Renom authored
      Common:
      - added ORM helper function get_related_instances
      - minor modifications in ORM framework
      
      Proto:
      - field/message/enum renamings in context.proto to normalize notation
      
      Context:
      - Expanded service/database/Models.py into separate models to facilitate coding
      - Completed implementation of Get/Set/List/Remove methods for Context, Topology, Device, Link, and EndPoint; also completed for relation models between topology and device/link, and ConfigModels
      - Implemented test units for Get/Set/List/Remove methods for Context, Topology, Device, Link, and EndPoint
      - Implemented skeleton for Get/Set/List/Remove methods for Service.
      - Added Tools.py with helper methods to fimplify handling of enums between ORM and gRPC messages.
      b9031981
  19. Oct 19, 2021
    • Lluis Gifre Renom's avatar
      Multiple changes: · 41122c06
      Lluis Gifre Renom authored
      Common:
      - Added missing test units for ORM framework
      - Solved few bugs in ORM framework
      - Implemented initial skeleton of MessageBroker to implement GetEvents methods for Context.
      
      Context:
      - Implemented TopologyModel and related test units
      - Solved few bugs in ContextModel
      41122c06
  20. Oct 15, 2021
    • Lluis Gifre Renom's avatar
      Several changes (intermediate backup): · 5c34ea77
      Lluis Gifre Renom authored
      Proto:
      - Minor corrections in context.proto
      
      Common:
      - Minor corrections in common.orm.backend
      - Improved definition of orm.Model class with get_instances and get_references
      - Extended ORM unitary tests with get_instances and get_references
      
      Context:
      - Implemented missing methods in ContextClient
      - Started to implement new Context data models using ORM.
      - ContextModel functional using ORM and gRPC.
      - Arranged old code file placing
      5c34ea77
  21. Oct 14, 2021
  22. Oct 05, 2021
  23. Aug 12, 2021
  24. Aug 11, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · ad08989e
      Lluis Gifre Renom authored
      Common:
      - Improvements in Database API definition and unit tests
      - Implemented additional Assertions to be used by unitary tests
      
      Context and Device:
      - Improved logging of errors.
      
      Service:
      - Implemented service methods (except GetConnectionList). All methods are under active debug.
      - Partially implemented unitary tests
      ad08989e
  25. Aug 10, 2021
    • Lluis Gifre Renom's avatar
      Multiple changes: · 72a67e71
      Lluis Gifre Renom authored
      Common:
      - reorganized Database API to enable extension of Context API with entities (e.g. Service)
      - solved minor bugs in Database API
      
      Context and Device services:
      - rearranged services and unit tests according to mentioned Context API changes
      
      Service service:
      - initial release (under development, this is just a backup of code)
      72a67e71
    • Lluis Gifre Renom's avatar
      3c3b2dfa
  26. Aug 06, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · a3e73f06
      Lluis Gifre Renom authored
      Common:
      - renamed report_coverage.sh script to report_coverage_all.sh
      
      Common/DatabaseAPI:
      - improved root class validations and test units
      - added _RootEntity interface
      - improved definition of Context database API entities
      
      Context service:
      - added AddLink/DeleteLink rpc methods
      - temporarily disabled integration tests
      
      Device service:
      - applied renamings in service and test units
      a3e73f06
  27. Aug 05, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · 79167bfd
      Lluis Gifre Renom authored
      Common:
      - implemented ServiceException class
      - updated attributes in entities belonging to Database API
      - implemented test method to populate database with example topology
      
      Context service:
      - updated genproto script
      - implemented report_coverage_context script
      - moved specific rest scripts to root folder
      - minor arrangements in ContextClient
      - updated proto python files
      - implemented GetTopology RPC functionality
      - implemented unitary testing for GetTopology
      
      Device service:
      - updated genproto script
      79167bfd
  28. Jul 27, 2021
  29. Jul 26, 2021
Loading