Hi Sajith, Agreed with how the log analyzer works when an API is updated. But when considering the user point of view, an API shouldn't be listed in 'Deleted APIs' list if it's still available. Because a user might get confused when the statistics in 'Deleted APIs' shows some API that he/she used right now.
Any suggestion to overcome this ? Probably a change in logs when editing an API might be a solution for this. Regards Maneesha On Tue, Jul 5, 2016 at 1:11 PM, Sajith Perera <[email protected]> wrote: > > Hi Maneesha, > > Log analyzer purely based on the log events which are generated by a > particular product. For each stat, there are set of keywords and rules in > log lines, which we are identifying as unique for that scenario. > > Regarding the above mentioned scenario, if there is an update on an API in > given time frame, there will be two log lines printed with "Destroying" and > "Initiating" keywords. > > 1. Deleted Artifact X > 2. Created Artifact X > > These events are listed as "Deployed Api X" and "Deleted Api X" tables in > the given time frame, as they are the "facts" within the given time frame. > > Thanks, > SajithD > > On Tue, Jul 5, 2016 at 12:44 PM, Maneesha Wijesekara <[email protected]> > wrote: > >> Hi all, >> >> Currently 'API Deployment Stats' in Log Analyzer listed both Deployed >> APIs and Deleted APIs. But I've noticed that some available APIs (not yet >> deleted) are also listed under 'Deleted APIs' [1]. The reason behind this >> is when an API is edited, it will destroyed and again re-deployed. That log >> will cause to include an available API under 'Deleted APIs'. But when it >> comes to the function 'Deleted APIs', it should only list the names of APIs >> which are actually deleted. >> >> Any thoughts on this ? >> >> [1] https://wso2.org/jira/browse/ANLYAPIM-79 >> >> -- >> Maneesha Wijesekara >> Software Engineer - QA Team >> WSO2 Inc. >> >> Email: [email protected] >> Linkedin: http://linkedin.com/in/maneeshawijesekara >> Mobile: +94712443119 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sajith Dimal > Software Engineer > Mobile : +94783101496 > WSO2 Inc. | http://wso2.com > lean.enterprise.middleware > -- Maneesha Wijesekara Software Engineer - QA Team WSO2 Inc. Email: [email protected] Linkedin: http://linkedin.com/in/maneeshawijesekara Mobile: +94712443119
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
