1. 18 Jul, 2022 1 commit
  2. 15 Jul, 2022 1 commit
    • 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
  3. 14 Jul, 2022 3 commits
    • 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
    • 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
  4. 06 Jul, 2022 1 commit
  5. 23 Jun, 2022 1 commit
    • 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
  6. 20 May, 2022 2 commits
  7. 19 May, 2022 1 commit
    • 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
  8. 17 May, 2022 1 commit
  9. 16 May, 2022 1 commit
  10. 03 May, 2022 1 commit
  11. 16 Feb, 2022 2 commits
  12. 15 Feb, 2022 1 commit
  13. 10 Feb, 2022 1 commit
  14. 25 Jan, 2022 1 commit
  15. 07 Jan, 2022 1 commit
  16. 22 Dec, 2021 1 commit
  17. 30 Nov, 2021 2 commits
  18. 24 Nov, 2021 1 commit
  19. 04 Nov, 2021 1 commit
  20. 03 Nov, 2021 1 commit
    • 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
  21. 27 Oct, 2021 1 commit
  22. 25 Oct, 2021 1 commit
    • 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
  23. 22 Oct, 2021 1 commit
    • 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
  24. 21 Oct, 2021 2 commits
    • 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
  25. 20 Oct, 2021 1 commit
    • 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
  26. 19 Oct, 2021 1 commit
    • 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
  27. 15 Oct, 2021 1 commit
    • 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
  28. 14 Oct, 2021 2 commits
  29. 11 Oct, 2021 1 commit
  30. 08 Oct, 2021 1 commit
    • 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
  31. 07 Oct, 2021 1 commit
  32. 05 Oct, 2021 1 commit
  33. 01 Oct, 2021 1 commit
    • 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