Skip to content
Snippets Groups Projects
  1. Oct 03, 2022
  2. 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
  3. 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
  4. Feb 16, 2022
  5. Nov 30, 2021
  6. 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
    • Lluis Gifre Renom's avatar
      Changes in Config Model: · 3268cb75
      Lluis Gifre Renom authored
      - Added method to delete config rules when action is DELETE.
      - Temporary changes in run_tests_local.sh scripts
      3268cb75
  7. Oct 28, 2021
  8. 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
  9. Oct 21, 2021
    • Lluis Gifre Renom's avatar
      Several changes: · e4a74ad1
      Lluis Gifre Renom authored
      Context:
      - ORM models completed and tested
      - Deactivated unneeded code-linting warnings
      - Improved coding of fast_hasher method
      - Added test unit for fast_hasher method
      - Improved organization and structure of test units
      e4a74ad1
    • 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
  10. 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
Loading