james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-2566) [DLP] Routes for validationg regex
Date Tue, 23 Oct 2018 02:24:00 GMT

     [ https://issues.apache.org/jira/browse/JAMES-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tellier Benoit closed JAMES-2566.
---------------------------------
    Resolution: Won't Fix

> [DLP] Routes for validationg regex
> ----------------------------------
>
>                 Key: JAMES-2566
>                 URL: https://issues.apache.org/jira/browse/JAMES-2566
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> OpenPaaS needs to validate some Java regex on top of a javascript powered browser.
> We need to add routes for validating this regex in James, where a Java runtime is available.
> API proposal:
> {code:java}
> POST /dlp/expression/validate
> { "expression":"(?i:aladin)" }
> Will return
> { "isValid": true|false }
> POST /dlp/expression/sampleMatch
> { "expression": "(?i:aladin)", "sampleValue": "Tu ne connais pas Aladin qui est un si
brave garçon?" }
> Will return
> { "isValid": true|false, "isMatched": true|false }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message