- 30 Nov, 2021 1 commit
-
-
Javi Moreno authored
-
- 24 Nov, 2021 1 commit
-
-
Javi Moreno authored
-
- 04 Nov, 2021 1 commit
-
-
Lluis Gifre Renom authored
- Subscriptions to be implemented
-
- 03 Nov, 2021 1 commit
-
-
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.
-
- 27 Oct, 2021 1 commit
-
-
Lluis Gifre Renom authored
-
- 25 Oct, 2021 1 commit
-
-
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
-
- 22 Oct, 2021 1 commit
-
-
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
-
- 21 Oct, 2021 2 commits
-
-
Lluis Gifre Renom authored
-
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
-
- 20 Oct, 2021 1 commit
-
-
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.
-
- 19 Oct, 2021 1 commit
-
-
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
-
- 15 Oct, 2021 1 commit
-
-
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
-
- 14 Oct, 2021 2 commits
-
-
Lluis Gifre Renom authored
- Added methods to automate metric class generation - Added decorator for servicer RPC methods to add metering and logging features automatically - Added unit tests - Minor imptovements in context unit testing
-
Lluis Gifre Renom authored
-
- 11 Oct, 2021 1 commit
-
-
Lluis Gifre Renom authored
-
- 08 Oct, 2021 1 commit
-
-
Lluis Gifre Renom authored
- Extended database API with novel ORM - Carrying out tests over ORM and InMemoryDB - Foreign Keys need more testing
-
- 07 Oct, 2021 1 commit
-
-
Lluis Gifre Renom authored
- Context Database API and ORM rework in progress
-
- 05 Oct, 2021 1 commit
-
-
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.
-
- 01 Oct, 2021 1 commit
-
-
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
-
- 27 Sep, 2021 1 commit
-
-
Lluis Gifre Renom authored
- Added REST API Server to Compute component - Factorized get settings from environment variabes into common method get_setting
-
- 13 Aug, 2021 2 commits
-
-
Lluis Gifre Renom authored
-
Lluis Gifre Renom authored
Common / Context / Device / Service: - Improvements in unitary testing - Extended assertion validators tor testing - Factorized service implementation code to improve testability, reusability and increase code coverage
-
- 12 Aug, 2021 3 commits
-
-
Lluis Gifre Renom authored
Factorization of code between services and minor unitary testing improvements. (Not finished, it is just a backup)
-
Lluis Gifre Renom authored
-
Lluis Gifre Renom authored
Common: - minor bug resolutions in Context API Service: - first functional version of Service (implementation of GetConnectionList postponed) - minor corrections in service.proto and related files - implemented unitary tests
-
- 11 Aug, 2021 1 commit
-
-
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
-
- 10 Aug, 2021 3 commits
-
-
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
-
Lluis Gifre Renom authored
-
- 09 Aug, 2021 1 commit
-
-
Lluis Gifre Renom authored
-
- 06 Aug, 2021 1 commit
-
-
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
-
- 05 Aug, 2021 2 commits
-
-
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
-
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
-
- 03 Aug, 2021 1 commit
-
-
Lluis Gifre Renom authored
- definition of context API - implementation of inmemory and Redis backend engines - implementation of unit tests for both engines
-
- 30 Jul, 2021 1 commit
-
-
Lluis Gifre Renom authored
Preliminary unfinished version of device service and Context API based on Redis. To be finished, it is just a backup.
-
- 27 Jul, 2021 2 commits
-
-
Lluis Gifre Renom authored
-
Lluis Gifre Renom authored
Move database to common folder, since it will be used also by device service, and implement very minor changes.
-
- 26 Jul, 2021 1 commit
-
-
Lluis Gifre Renom authored
-
- 16 Jul, 2021 1 commit
-
-
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.
-
- 11 Jun, 2021 1 commit
-
-
Ricard Vilalta authored
-