You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/07/18 08:38:00 UTC

[jira] [Resolved] (SCB-728) add decrypt/signature/... to edge demo

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

liubao resolved SCB-728.
------------------------
    Resolution: Fixed

> add decrypt/signature/... to edge demo
> --------------------------------------
>
>                 Key: SCB-728
>                 URL: https://issues.apache.org/jira/browse/SCB-728
>             Project: Apache ServiceComb
>          Issue Type: Task
>          Components: Java-Chassis
>            Reporter: wujimin
>            Assignee: wujimin
>            Priority: Major
>             Fix For: java-chassis-1.0.0
>
>
> 1.add "decrypt“ logic, decrypt field named "body" in form,  generate new multiple fields to form by "body"
> 2.move "signature" to edge, and only signature for one operation
> 3.request with form-data or x-www-form-urlencoded, edge convert to json automatically
> 4.query userId by serviceToken, and put userId back to form
> 5.calc signature from response buffer,  and add "signature" field to response body, eg:
>   before: \{"k":"v"}
>   after:    \{"k":"v","signature":"xxxxx"}



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