anna.git
4 years agoRemove operation help.
Eduardo Ramos Testillano (eramedu) [Tue, 28 Apr 2020 14:20:15 +0000 (16:20 +0200)]
Remove operation help.

Created a new version in file: HELP.md

4 years agoAdd nlohmann/json parser
Eduardo Ramos Testillano (eramedu) [Tue, 28 Apr 2020 09:26:57 +0000 (11:26 +0200)]
Add nlohmann/json parser

New EventOperation class ready to translate json into piped string
for event operation.

Bug: Fix legacy loadXML to loadXMLFile

4 years agoImprove xml parsing on diameter codec
Eduardo Ramos Testillano (eramedu) [Tue, 28 Apr 2020 09:21:48 +0000 (11:21 +0200)]
Improve xml parsing on diameter codec

loadXML is renamed to loadXMLFile to be more explicit.
Added loadXMLString to load an xml representation.
This will allow to interpret directly json values as base64 xml
encodings.

4 years agoEnable xml parsing for DocumentMemory
Eduardo Ramos Testillano (eramedu) [Tue, 28 Apr 2020 09:04:22 +0000 (11:04 +0200)]
Enable xml parsing for DocumentMemory

4 years agoADML is not really an AOTS deployment but an simple ADML one
Eduardo Ramos Testillano (eramedu) [Mon, 27 Apr 2020 01:54:56 +0000 (03:54 +0200)]
ADML is not really an AOTS deployment but an simple ADML one

It has http support

4 years agoAdd instructions to deploy ADML AOTS Agent
Eduardo Ramos Testillano (eramedu) [Mon, 27 Apr 2020 00:37:13 +0000 (02:37 +0200)]
Add instructions to deploy ADML AOTS Agent

4 years agoAdd deployment for ADML agent with http interface
Eduardo Ramos Testillano (eramedu) [Mon, 27 Apr 2020 00:13:57 +0000 (02:13 +0200)]
Add deployment for ADML agent with http interface

Reuse ADML agent for aots-setup through symlink.
Centralize stacks with stacks examples. Some modifications
 needed in legacy scripts to reference new dictionary names.
Eval is needed in new start script in order to integrate
the httpServer calculation.

* Upgrade compiler to C++14 (to use std::quoted from iomanip)
* Improve HTTP handler to answer a json body with result (true/false)
  and data (description for the operation):
  {
    "result": "true",
    "data": "Success"
  }
* Fix core dump due to uninitialized 'sessionBasedModelsTypeEnum'
* New 'state' operation to now the state in real time for a test id.

4 years agoFix absolute path for build directory
Eduardo Ramos Testillano (eramedu) [Tue, 14 Apr 2020 18:52:07 +0000 (20:52 +0200)]
Fix absolute path for build directory

4 years agoAllow provide variant to builder with docker
Eduardo Ramos Testillano (eramedu) [Tue, 14 Apr 2020 17:24:04 +0000 (19:24 +0200)]
Allow provide variant to builder with docker

Release by default, and also Debug are supported.

4 years agoSpeed up docker building procedure
Eduardo Ramos Testillano (eramedu) [Tue, 14 Apr 2020 15:07:24 +0000 (17:07 +0200)]
Speed up docker building procedure

Comment doxygen generation at entrypoint.
You could do natively (make doc), but the important
 thing is the source build, not the documentation.

4 years agoRemove hint which has no sense
Eduardo Ramos Testillano (eramedu) [Mon, 13 Apr 2020 12:29:19 +0000 (14:29 +0200)]
Remove hint which has no sense

Ignore flags is not commandline configured now.

4 years agoChanges to migrate to 32 bit arch (armv7l)
eramos [Mon, 13 Apr 2020 01:35:59 +0000 (03:35 +0200)]
Changes to migrate to 32 bit arch (armv7l)

4 years agoBuild source with docker technology
Eduardo Ramos Testillano (eramedu) [Mon, 13 Apr 2020 00:55:02 +0000 (02:55 +0200)]
Build source with docker technology

4 years agoSkip oracle and database build by mean cmake variable
Eduardo Ramos Testillano (eramedu) [Sun, 12 Apr 2020 17:04:35 +0000 (19:04 +0200)]
Skip oracle and database build by mean cmake variable

You could avoid database resources compilation to ease the add of requirements:
   > cmake -DSKIP_DATABASE_BUILD=1 .

4 years agoImprovements from anna fork
Eduardo Ramos Testillano [Sat, 11 Apr 2020 23:49:21 +0000 (01:49 +0200)]
Improvements from anna fork

* Rename steps that are diameter-specific
  Diameter steps should be renamed to clarify the real context of use.

* Change ADML point of generation for launcher.traces

  Change from the physical executable location to the
  execution point (current working directory)

* Improve final detection algorithm

  Improves resolution to detect the end of the
  testing.
  Uses the number of finished test cases
  (success + failed) instead the initialized
  ones (which is less safer because initial
  conditions).

* Add dynamic ip-limit control

  Add the possibility to control de ip-limit from
  test case by mean a new generic action: ip_limit

* Manage terminate signal from ADML application

* Improve counters
  Implement signalTermination handler and force counter records.
  If counters dumps are disabled (--cntRecordPeriod 0) the file
  won't be created anyway.

  Also, improve the mask for counters file creation instead of
  modifying it on close (avoid possible stop problems). We set
  644 for counters.

* Implement junit report generation
  Add new methods and implement new asXML getter for junit report.

* AOTS (Agents-Oriented Testing Setup): evolution from original
  idea of diameter agents but extended to any kind of resource.

Change-Id: I4dc3ac41b86709439ffa2aa98aa011d956d8df2f

4 years agoFix README about oracle integration
eramos [Mon, 6 Apr 2020 00:12:44 +0000 (02:12 +0200)]
Fix README about oracle integration

4 years agoUpdate tshark DNS resolution due to deprecated asynchronous flag 'C'
eramos [Fri, 20 Mar 2020 21:26:45 +0000 (22:26 +0100)]
Update tshark DNS resolution due to deprecated asynchronous flag 'C'

As tshark has been updated, the resolving flag 'C' for DNS (-N)
option has been deprecated. We will use 'd' and 'v' instead.

4 years agoUpdate date in Doxyfile
eramos [Fri, 20 Mar 2020 01:49:02 +0000 (02:49 +0100)]
Update date in Doxyfile

4 years agotest
Eduardo Ramos Testillano [Thu, 9 Jan 2020 01:08:40 +0000 (02:08 +0100)]
test

5 years agoRevert "Remove mysql and oracle resources for anna-ericsson project"
Eduardo Ramos Testillano [Sun, 7 Jul 2019 02:24:46 +0000 (04:24 +0200)]
Revert "Remove mysql and oracle resources for anna-ericsson project"

This reverts commit a3b95648bd76140ef55e0b5941d423eee6c3856f.

5 years agoRemove mysql and oracle resources for anna-ericsson project
Eduardo Ramos Testillano (eramedu) [Fri, 5 Jul 2019 22:14:37 +0000 (00:14 +0200)]
Remove mysql and oracle resources for anna-ericsson project

5 years agoAdd no-deprecated to warnings due to dynamic exceptions.
Eduardo Ramos Testillano (eramedu) [Wed, 3 Jul 2019 19:13:34 +0000 (21:13 +0200)]
Add no-deprecated to warnings due to dynamic exceptions.

Also change clock monotonic constant.

5 years agoAbstract testing a little more
Eduardo Ramos Testillano (eramedu) [Tue, 2 Jul 2019 08:32:07 +0000 (10:32 +0200)]
Abstract testing a little more

5 years agoNew rxSimpleTest example
Eduardo Ramos Testillano (eramedu) [Sun, 9 Jun 2019 03:25:43 +0000 (05:25 +0200)]
New rxSimpleTest example

API-implemented example for RX simple test

5 years agoMiss logic for wait for request data reference
Eduardo Ramos Testillano (eramedu) [Sun, 9 Jun 2019 03:23:05 +0000 (05:23 +0200)]
Miss logic for wait for request data reference

When sending to client, the wait for request step
information was being ignored.

5 years agoFix answer condition from message
Eduardo Ramos Testillano (eramedu) [Sun, 9 Jun 2019 03:21:25 +0000 (05:21 +0200)]
Fix answer condition from message

Answer was wrongly calculated from message, then
always answer was true when request, and false
when answer.

Also adds a trace to get the wait for request value.

6 years agoFix compilation error
Eduardo Ramos Testillano [Mon, 27 Nov 2017 03:19:59 +0000 (04:19 +0100)]
Fix compilation error

6 years agoGet an absolute path for traces in order to bypass possible change-dir operation
Eduardo Ramos Testillano [Mon, 27 Nov 2017 03:14:16 +0000 (04:14 +0100)]
Get an absolute path for traces in order to bypass possible change-dir operation

7 years agoFix registration bug
Eduardo Ramos Testillano [Mon, 23 Oct 2017 20:57:50 +0000 (22:57 +0200)]
Fix registration bug

7 years agoFix ad-hoc cmake for install
Eduardo Ramos Testillano [Wed, 18 Oct 2017 09:53:47 +0000 (11:53 +0200)]
Fix ad-hoc cmake for install

7 years agoConvert to warning
Eduardo Ramos Testillano [Wed, 11 Oct 2017 12:08:01 +0000 (14:08 +0200)]
Convert to warning

Allow to test special cases

7 years agoSupport for Multiple Peer deployments. Support for coexisting several ADMLS instances...
Eduardo Ramos Testillano [Fri, 29 Sep 2017 16:55:13 +0000 (18:55 +0200)]
Support for Multiple Peer deployments. Support for coexisting several ADMLS instances directories. Fix division by 0.

7 years agoHelp to check CEA received after run.sh
Eduardo Ramos Testillano [Thu, 28 Sep 2017 20:26:53 +0000 (22:26 +0200)]
Help to check CEA received after run.sh

7 years agoImprove flags uncertainty. Warning when provided with name attribute
Eduardo Ramos Testillano [Tue, 1 Aug 2017 21:23:15 +0000 (23:23 +0200)]
Improve flags uncertainty. Warning when provided with name attribute

7 years agoImprove help
Eduardo Ramos Testillano [Sun, 16 Jul 2017 12:19:19 +0000 (14:19 +0200)]
Improve help

7 years agoMinor fixes
Eduardo Ramos Testillano [Sun, 16 Jul 2017 11:57:18 +0000 (13:57 +0200)]
Minor fixes

7 years agoClarify
Eduardo Ramos Testillano [Tue, 11 Jul 2017 08:00:43 +0000 (10:00 +0200)]
Clarify

7 years agoCore creation
Eduardo Ramos Testillano [Thu, 6 Jul 2017 10:51:25 +0000 (12:51 +0200)]
Core creation

7 years agoFix offset
Eduardo Ramos Testillano [Fri, 30 Jun 2017 13:09:05 +0000 (15:09 +0200)]
Fix offset

7 years agoFixes and improvements
Eduardo Ramos Testillano [Fri, 30 Jun 2017 01:06:24 +0000 (03:06 +0200)]
Fixes and improvements

* Allow zeroed cntRecordPeriod as special case (no counters dump)
  instead of throwing exception for invalid time measure.
* Remove symlink to services_example in st client deployment and
  improve help to guide to correct configuration of services.
* Alert about restarting ADML processes when dynamic library has
  been updated/selected.
* Fixed ApplicationMessageOamModule key (eventId now includes
  %s_%s instead of %s%s to avoid possible ambiguity in a key
  definition from to values.
* Hide exception for non Result-Code in diameter answer,
  because this AVP is optional even in some answers.
* Initialize resultCode to -1 instead of 0 to avoid having a
  ResultCode0 as counter prefixes.
* Remove warning from OriginHostManager::getOriginHost when
  item is not found, because this is used also to discard
  redefinitions when something already exists in the map.
* CodecEngine getter has been fixed to cover the monostack
  case where the stack id does not correspond to the app id
  in the requests but the value of 0 (normally).
* Clarify MessageDeque warnings when answer is analyzed
  during configured from original request: this seems to
  be missing warnings from request message findings but
  that are coming from answer !

7 years agoNiceness set to 5 for ADML
Eduardo Ramos Testillano [Tue, 27 Jun 2017 20:14:57 +0000 (22:14 +0200)]
Niceness set to 5 for ADML

7 years agoAuto-reset hard/soft for further cycles
Eduardo Ramos Testillano [Tue, 27 Jun 2017 17:45:09 +0000 (19:45 +0200)]
Auto-reset hard/soft for further cycles

If no timeout is configured for a TC, it could happen that next
cycle reach the same TC still in progress. Auto-reset is soft by
default, but you could configure for this kind of scenarios.

Then, auto-reset will hard reset the TC dumping a Failed report
(hint is about hard reset of in-progress TC) and then will be
initialized and started again.

7 years agoApp counters including message name and result code if proceed
Eduardo Ramos Testillano [Mon, 26 Jun 2017 12:04:55 +0000 (14:04 +0200)]
App counters including message name and result code if proceed

7 years agoOriginHostManager to abstract Procedure (dyamic) from knowing the OriginHost node
Eduardo Ramos Testillano [Mon, 26 Jun 2017 10:21:17 +0000 (12:21 +0200)]
OriginHostManager to abstract Procedure (dyamic) from knowing the OriginHost node

7 years agoRPATH skipped. Added testing so library. Improve support for default CCR configuratio...
Eduardo Ramos Testillano [Sun, 25 Jun 2017 19:28:20 +0000 (21:28 +0200)]
RPATH skipped. Added testing so library. Improve support for default CCR configuration in st client

7 years agoRPATH skipped. Added testing so library. Improve support for default CCR configuratio...
Eduardo Ramos Testillano [Sun, 25 Jun 2017 19:28:20 +0000 (21:28 +0200)]
RPATH skipped. Added testing so library. Improve support for default CCR configuration in st client

7 years agoRemove warnings
Eduardo Ramos Testillano [Sun, 25 Jun 2017 16:19:51 +0000 (18:19 +0200)]
Remove warnings

7 years agotypo
Eduardo Ramos Testillano [Thu, 22 Jun 2017 15:36:11 +0000 (17:36 +0200)]
typo

7 years agoImprovements for missing gtest resources and other stuff
Eduardo Ramos Testillano [Thu, 22 Jun 2017 09:41:46 +0000 (11:41 +0200)]
Improvements for missing gtest resources and other stuff

7 years agoFix symlinks
Eduardo Ramos Testillano [Thu, 22 Jun 2017 07:23:06 +0000 (09:23 +0200)]
Fix symlinks

7 years agoAdd anna_ to libraries and examples
Eduardo Ramos Testillano [Mon, 19 Jun 2017 09:41:53 +0000 (11:41 +0200)]
Add anna_ to libraries and examples

7 years agoFixes
Eduardo Ramos Testillano [Mon, 19 Jun 2017 03:05:49 +0000 (05:05 +0200)]
Fixes

st client: kill -9 to save time (ensure Re-start in time)
st client: program repeats common to dynamic and normal tests
deploy.sh: fix script with new build tree

7 years agoMore info about change compiler
Eduardo Ramos Testillano [Tue, 6 Jun 2017 22:25:10 +0000 (00:25 +0200)]
More info about change compiler

7 years agoFixes
Eduardo Ramos Testillano [Tue, 6 Jun 2017 22:18:42 +0000 (00:18 +0200)]
Fixes

7 years agoRemove scons files. Update README, gitignore and install targets.
Eduardo Ramos Testillano [Tue, 6 Jun 2017 21:52:50 +0000 (23:52 +0200)]
Remove scons files. Update README, gitignore and install targets.

7 years agoMigrate boost unit test to google test with cmake (ctest)
Eduardo Ramos Testillano [Tue, 6 Jun 2017 19:08:03 +0000 (21:08 +0200)]
Migrate boost unit test to google test with cmake (ctest)

7 years agoFirst cmake commit. Still coexisting with scons.
Eduardo Ramos Testillano [Tue, 6 Jun 2017 16:40:57 +0000 (18:40 +0200)]
First cmake commit. Still coexisting with scons.

7 years agoAvoid use of static attribute in functions
Eduardo Ramos Testillano [Thu, 20 Apr 2017 00:04:02 +0000 (02:04 +0200)]
Avoid use of static attribute in functions

Dynamic libraries could share the objects doing double free corruption on app stop.

7 years agoCentralize ADML deployment
Eduardo Ramos Testillano [Mon, 17 Apr 2017 17:33:09 +0000 (19:33 +0200)]
Centralize ADML deployment

7 years agoForce static link for stackManagement and batchConverter
Eduardo Ramos Testillano [Sat, 15 Apr 2017 22:34:46 +0000 (00:34 +0200)]
Force static link for stackManagement and batchConverter

Still having double free in app stop (kill ADML)

7 years agoMake absolute
Eduardo Ramos Testillano [Sat, 15 Apr 2017 14:18:16 +0000 (16:18 +0200)]
Make absolute

7 years agoFix timeout order in procedure dynamic operation and program for ST
Eduardo Ramos Testillano [Sat, 15 Apr 2017 14:16:30 +0000 (16:16 +0200)]
Fix timeout order in procedure dynamic operation and program for ST

7 years agoPartial translation
Eduardo Ramos Testillano [Sat, 8 Apr 2017 17:07:10 +0000 (19:07 +0200)]
Partial translation

7 years agoMake testing library dynamic. Refactor DEPLOY.sh
Eduardo Ramos Testillano [Sat, 8 Apr 2017 16:10:16 +0000 (18:10 +0200)]
Make testing library dynamic. Refactor DEPLOY.sh

7 years agoFix broken link to w3 URL. Add alternative xpath resources (courtesy of whom we reali...
Eduardo Ramos Testillano [Sat, 8 Apr 2017 12:26:59 +0000 (14:26 +0200)]
Fix broken link to w3 URL. Add alternative xpath resources (courtesy of whom we realized the problem)

7 years agoBypass Origin-State-Id for regexp xml content in wait steps
Eduardo Ramos Testillano [Tue, 4 Apr 2017 21:17:00 +0000 (23:17 +0200)]
Bypass Origin-State-Id for regexp xml content in wait steps

7 years agoAllow strict mode (regexp against xml content)
Eduardo Ramos Testillano [Tue, 4 Apr 2017 14:13:34 +0000 (16:13 +0200)]
Allow strict mode (regexp against xml content)

7 years agoFix bug with position values after replace
Eduardo Ramos Testillano [Tue, 4 Apr 2017 00:35:50 +0000 (02:35 +0200)]
Fix bug with position values after replace

7 years agoregex is not working until gcc 4.9.0, then this is an alternative
Eduardo Ramos Testillano [Tue, 4 Apr 2017 00:08:41 +0000 (02:08 +0200)]
regex is not working until gcc 4.9.0, then this is an alternative

7 years agoTrace regex exception
Eduardo Ramos Testillano [Mon, 3 Apr 2017 17:14:46 +0000 (19:14 +0200)]
Trace regex exception

7 years agoFix type: end-to-end instead of end-by-end
Eduardo Ramos Testillano [Sun, 2 Apr 2017 18:29:35 +0000 (20:29 +0200)]
Fix type: end-to-end instead of end-by-end

7 years agoImproved wait for regexp operations
Eduardo Ramos Testillano [Sun, 2 Apr 2017 18:29:06 +0000 (20:29 +0200)]
Improved wait for regexp operations

7 years agoFix trace
Eduardo Ramos Testillano [Sun, 19 Mar 2017 20:53:53 +0000 (21:53 +0100)]
Fix trace

7 years agoPostinstall as a help, more than automate
Eduardo Ramos Testillano [Sun, 19 Mar 2017 20:52:50 +0000 (21:52 +0100)]
Postinstall as a help, more than automate

7 years agoEase of use for ADML System Test configuration
Eduardo Ramos Testillano [Fri, 17 Mar 2017 14:58:57 +0000 (15:58 +0100)]
Ease of use for ADML System Test configuration

7 years agoFix initialization bug
Eduardo Ramos Testillano [Sun, 12 Mar 2017 21:34:02 +0000 (22:34 +0100)]
Fix initialization bug

7 years agoControl for no metadata
Eduardo Ramos Testillano [Sun, 12 Mar 2017 02:54:32 +0000 (03:54 +0100)]
Control for no metadata

7 years agoTODO
Eduardo Ramos Testillano [Sat, 11 Mar 2017 21:41:15 +0000 (22:41 +0100)]
TODO

7 years agoFix bug when reading already freed memory
Eduardo Ramos Testillano [Sat, 11 Mar 2017 21:40:56 +0000 (22:40 +0100)]
Fix bug when reading already freed memory

7 years agoTesting library separation: now not in launcher but isolated REFACTORING_TESTING_LIBRARY
Eduardo Ramos Testillano [Wed, 15 Feb 2017 16:01:40 +0000 (17:01 +0100)]
Testing library separation: now not in launcher but isolated

8 years agoDynamic lib selection and deployment dynamic_procedure_library
Eduardo Ramos Testillano [Sun, 23 Oct 2016 12:46:28 +0000 (14:46 +0200)]
Dynamic lib selection and deployment

8 years agoVariable variant
Eduardo Ramos Testillano [Sun, 23 Oct 2016 03:13:17 +0000 (05:13 +0200)]
Variable variant

8 years agoMerge branch 'master' into dynamic_procedure_library
Eduardo Ramos Testillano [Sat, 22 Oct 2016 19:00:42 +0000 (21:00 +0200)]
Merge branch 'master' into dynamic_procedure_library

8 years agoImprovements and new scenaries
Eduardo Ramos Testillano [Sat, 22 Oct 2016 18:59:44 +0000 (20:59 +0200)]
Improvements and new scenaries

8 years agoInitial feature commit
Eduardo Ramos Testillano [Fri, 21 Oct 2016 15:55:12 +0000 (17:55 +0200)]
Initial feature commit

8 years agoAvoid empty metada files
Eduardo Ramos Testillano [Mon, 20 Jun 2016 01:37:22 +0000 (03:37 +0200)]
Avoid empty metada files

8 years agofix, to avoid continuing working over object
Eduardo Ramos Testillano [Mon, 20 Jun 2016 01:33:43 +0000 (03:33 +0200)]
fix, to avoid continuing working over object

8 years agoSkip bad decoded frames, but not exit
Eduardo Ramos Testillano [Mon, 20 Jun 2016 01:27:55 +0000 (03:27 +0200)]
Skip bad decoded frames, but not exit

8 years agoWork without test directory
Eduardo Ramos Testillano [Mon, 21 Mar 2016 16:50:04 +0000 (17:50 +0100)]
Work without test directory

8 years agoFirst version for elements constants automatic creation
Eduardo Ramos Testillano [Mon, 14 Mar 2016 22:09:38 +0000 (23:09 +0100)]
First version for elements constants automatic creation

8 years agoAllow to log statistics samples as a event operation
Eduardo Ramos Testillano [Mon, 14 Mar 2016 02:49:45 +0000 (03:49 +0100)]
Allow to log statistics samples as a event operation

8 years agoImprov acc xml
Eduardo Ramos Testillano [Mon, 14 Mar 2016 02:03:32 +0000 (03:03 +0100)]
Improv acc xml

8 years agoimprov. acc name
Eduardo Ramos Testillano [Mon, 14 Mar 2016 01:56:01 +0000 (02:56 +0100)]
improv. acc name

8 years agoProtection for non registered codec engines
Eduardo Ramos Testillano [Sun, 13 Mar 2016 21:42:47 +0000 (22:42 +0100)]
Protection for non registered codec engines

8 years agoMessage statistics
Eduardo Ramos Testillano [Sun, 13 Mar 2016 20:19:08 +0000 (21:19 +0100)]
Message statistics

Differenciate by command id to store statistics

8 years agoFix retransmissions: not only for entities
Eduardo Ramos Testillano [Wed, 9 Mar 2016 12:22:20 +0000 (13:22 +0100)]
Fix retransmissions: not only for entities

8 years agoMerge branch 'master' of 54.76.253.178:/home/ubuntu/projects/anna
Eduardo Ramos Testillano [Wed, 9 Mar 2016 12:20:12 +0000 (13:20 +0100)]
Merge branch 'master' of 54.76.253.178:/home/ubuntu/projects/anna

8 years agoimprove output in case of decoding fail. Improve Sy cases with STR management
Eduardo Ramos Testillano [Tue, 8 Mar 2016 12:44:11 +0000 (13:44 +0100)]
improve output in case of decoding fail. Improve Sy cases with STR management

8 years agoPortability
Eduardo Ramos Testillano [Mon, 7 Mar 2016 01:10:18 +0000 (02:10 +0100)]
Portability

8 years agohelper comment
Eduardo Ramos Testillano [Sat, 5 Mar 2016 14:46:26 +0000 (15:46 +0100)]
helper comment