Skip to content
  1. Sep 06, 2022
  2. Aug 02, 2022
  3. 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
  4. Jul 24, 2022
  5. Jul 21, 2022
    • Lluis Gifre Renom's avatar
      Improvements in Monitoring: · 2048e5ed
      Lluis Gifre Renom authored
      - Arranged commit before merge
      - Replaced string-based timestamps by context.Timestamp
      - Created helper functions to convert timestamps string from/to float
      - Arranged requirements to meet dependencies of converter functions
      2048e5ed
  6. Jul 19, 2022
  7. Jul 15, 2022
    • Lluis Gifre Renom's avatar
      Adapted WebUI to common proto folder · a57fcc00
      Lluis Gifre Renom authored
      - Moved imports from *.proto folder to common.proto folder
      - Removed webui's genproto.sh script
      - Minor code and linting fixing
      - Arranged requirements to accelerate Docker image creation
      - Updated Dockerfile
      - Arranged GitLab CI/CD pipeline
      - Corrected usage of ConfigRules to use new custom ConfigRules
      - Moved config variables to new config framework
      - Removed unneeded Config variables
      a57fcc00
  8. 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
    • Lluis Gifre Renom's avatar
      Proto files: · a9614511
      Lluis Gifre Renom authored
      - fixed issue with messages in policy.proto and context-policy.proto
      - modified and unified script to generate Python code from proto files
      - segregated script to generate UML code
      - added/modified apropriate .gitignore files to prevent uploading generated code. It should be generated locally or during creation of Docker containers
      - added symbolic link from common/proto to folder containing python generated code
      a9614511
  9. Jun 23, 2022
    • Lluis Gifre Renom's avatar
      PathComp component: · f4cff5db
      Lluis Gifre Renom authored
      - extended proto file to support retrieval of both services and connections, e.g., services requested + sub-services, and the connections and sub-connections supporting the services and sub-services.
      - minor bug fixings in MockServicerImpl_Context and implementation of support for Slices
      - implemented and pre-tested unitary tests for PathComp
      - implemented in PathComp service the logic to retrieve context data, and the skeleton to retrieve the replies to compute requests.
      f4cff5db
  10. May 20, 2022
  11. May 19, 2022
    • Lluis Gifre Renom's avatar
      Common framework: · 5dc77fe4
      Lluis Gifre Renom authored
      - defined unified constants for all micro-services
      - defined common settings getter methods
      - defined generic gRPC servicer
      - defined generic Rest servicer
      - defined common MockServicer for Monitoring component
      - removed old common/tests MockService class; to be replaced by new generic gRPC servicer
      - minor code formatting/styling
      5dc77fe4
  12. May 17, 2022
  13. May 16, 2022
  14. May 03, 2022
  15. Feb 16, 2022
  16. Feb 15, 2022
  17. Feb 10, 2022
  18. Jan 25, 2022
  19. Jan 07, 2022
  20. Dec 22, 2021
  21. Nov 30, 2021
  22. Nov 24, 2021
  23. Nov 04, 2021
  24. 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
  25. Oct 27, 2021
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. Oct 14, 2021