Skip to content
  1. Nov 24, 2021
  2. Nov 04, 2021
  3. 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
  4. Oct 27, 2021
  5. 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
  6. 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
  7. Oct 21, 2021
    • Lluis Gifre Renom's avatar
      Minor improvements in ORM framework. · 5a10c6f5
      Lluis Gifre Renom authored
      5a10c6f5
    • Lluis Gifre Renom's avatar
      Changes: · ef3d2182
      Lluis Gifre Renom authored
      Common:
      - Implemented Message Brokering framework supporting multiple backends
      - Implemented InMemory Message Brokering Backend for testing purposes
      - Implemented Redis Backend
      - Implemented Message Brokering unit tests
      - Minor improvements in ORM Framework
      - Added Message Broker framework unit testing into automated local tests
      ef3d2182
  8. 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
  9. 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
  10. 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
  11. Oct 14, 2021
  12. Oct 11, 2021
  13. Oct 08, 2021
    • Lluis Gifre Renom's avatar
      Intermediate Backup: · be7f4145
      Lluis Gifre Renom authored
      - Extended database API with novel ORM
      - Carrying out tests over ORM and InMemoryDB
      - Foreign Keys need more testing
      be7f4145
  14. Oct 07, 2021
  15. Oct 05, 2021
  16. Oct 01, 2021
    • Lluis Gifre Renom's avatar
      Initial implementation of EmulatorDriver (backup commit) · cd5c47e1
      Lluis Gifre Renom authored
      - Implemented GetConfig/SetConfig/DeleteConfig
      - Implemented unit tests for GetConfig/SetConfig/DeleteConfig
      - Implementing simple DiscriteEventSimulator to emulate monitoring
      - Remains to implement SubscribeState/UnsubscribeState/GetState
      - Remains to implement unit tests for SubscribeState/UnsubscribeState/GetState
      cd5c47e1
  17. Sep 27, 2021
    • Lluis Gifre Renom's avatar
      Two changes: · f0d6c44e
      Lluis Gifre Renom authored
      - Added REST API Server to Compute component
      - Factorized get settings from environment variabes into common method get_setting
      f0d6c44e
  18. Aug 13, 2021
  19. Aug 12, 2021
  20. 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
  21. Aug 10, 2021
  22. Aug 09, 2021
  23. 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
  24. 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
    • Lluis Gifre Renom's avatar
      Several changes: · 6c04b49b
      Lluis Gifre Renom authored
      General changes:
      - implemented data type checker class
      - improved database Entity/Collection/Attributes API
      - implemented grpc message parsing assertions
      - integrated code coverage analyzer and reporter with code testers
      - added example topology NSFNET
      
      Common to device & context services:
      - improved database context API and its tests
      
      Context service:
      - updated context proto file: added AddLink/DeleteLink RPCs, added LinkId to Link
      - minor changes
      
      Device service:
      - implemented device service functionality
      - improved device client
      - updated genproto script
      - updated device proto file: configure request becomes a Device message
      - updated context proto file: operational status: added KEEP_STATUS, changed DISABLED
      - moved device tests to global scripts
      - extended unitary tests
      - temporarily disabled integration tests
      6c04b49b
  25. Aug 03, 2021
    • Lluis Gifre Renom's avatar
      Updated database API · 60b2387f
      Lluis Gifre Renom authored
      - definition of context API
      - implementation of inmemory and Redis backend engines
      - implementation of unit tests for both engines
      60b2387f
  26. Jul 30, 2021
  27. Jul 27, 2021
  28. Jul 26, 2021
  29. Jul 16, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · cca67ade
      Lluis Gifre Renom authored
      - monitoring/requirements.txt: removed garbage on top of file
      - monitoring/monitoring_client.py: solved bug in return values of some methods and wrong code in test case
      - monitoring/monitoring_server.py: solved bug with instantiation of servicer class
      - monitoring/Dockerfile: clarified some arguments in package installation, moved code in container to /var/monitoring, added upgrade of essential python packages, other minor improvements
      - monitoring/context_pb2.py: upgraded version since previous has no contextId fields.
      cca67ade
  30. Jun 11, 2021