- Oct 03, 2022
-
-
Carlos Manso authored
-
- Sep 20, 2022
-
-
Carlos Manso authored
-
- Sep 13, 2022
-
-
Carlos Manso authored
-
Carlos Manso authored
-
- Sep 06, 2022
-
-
Carlos Manso authored
-
- Aug 02, 2022
-
-
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
-
- Aug 01, 2022
-
-
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
-
- Jul 14, 2022
-
-
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
-
- May 03, 2022
-
-
Lluis Gifre Renom authored
-
- Feb 16, 2022
-
-
Lluis Gifre Renom authored
-
Lluis Gifre Renom authored
-
- Feb 10, 2022
-
-
Lluis Gifre Renom authored
-
- Jan 25, 2022
-
-
Lluis Gifre Renom authored
-
- Dec 16, 2021
-
-
Lluis Gifre Renom authored
-
Lluis Gifre Renom authored
- support definition of KPISampleTypes per EndPoint in Context and Device - improvements in definition of objects used for test cases - adapted few values in unit tests - updated gRPC-generated Python code for OpticalCentralizedAttackDetector
-
- Nov 30, 2021
-
-
Javi Moreno authored
-
- Nov 03, 2021
-
-
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.
-
- Oct 25, 2021
-
-
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
-
- Oct 22, 2021
-
-
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
-
- Oct 21, 2021
-
-
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
-
- Oct 20, 2021
-
-
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.
-
- Oct 19, 2021
-
-
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
-
- Oct 15, 2021
-
-
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
-
- Oct 14, 2021
-
-
Lluis Gifre Renom authored
- Added servicer RPC methods using new metrics framework.
-
- Oct 05, 2021
-
-
Lluis Gifre Renom authored
- Complete rework of Database API - Integration of Database API into Context - Improvement of API This commit is not a final implementation, just an intermediate backup.
-
- Aug 12, 2021
-
-
Lluis Gifre Renom authored
Factorization of code between services and minor unitary testing improvements. (Not finished, it is just a backup)
-
- Aug 11, 2021
-
-
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
-
- Aug 10, 2021
-
-
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)
-
Lluis Gifre Renom authored
-
- Aug 06, 2021
-
-
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
-
- Aug 05, 2021
-
-
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
-
- Jul 27, 2021
-
-
Lluis Gifre Renom authored
This reverts merge request !3
-
Lluis Gifre Renom authored
Move database to common folder, since it will be used also by device service, and implement very minor changes.
-
- Jul 26, 2021
-
-
Lluis Gifre Renom authored
-