OxalisCommunity / oxalis

Oxalis - PEPPOL Access Point open source implementation - Core component
Other
129 stars 91 forks source link

enhanced default statistics service to store protocol information #459

Closed thebilge closed 3 years ago

thebilge commented 4 years ago

OpenPeppol stated that they expect access points to provide statistics about AS2/AS4 usage. I wanted to share our version of statistics service.

Default version stores current AP common name in "accessPoint" column which means storing same value millions of time. We think storing sending AP for inbound and receiving AP for outbound should make more sense.

Also default version uses "channel" column to store receiving AP name for outbound and hardcoded "AS2" for inbound. Instead we can store valid protocol information in that column.

Feel free to comment and contribute.

aaron-kumar commented 3 years ago

PR added via commit 6f8f49248523717955e1b3205ae776886de76e00 . Will be available in 5.0.0.RC2 Thanks @thebilge for contribution !!!