cpatni / 3scale_ws_api_for_java

3scale integration plugin for Java applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please see the embedded documentation in dist/docs.

Copyright (c) 2008 3scale networks S.L., released under the MIT license.

To configure ServletFilter

<context-param>
    <param-name>3scale.provider_private_key</param-name>
    <param-value>abc-e313daaa98cfd7bb6bc4c906fe233c4b</param-value>
</context-param>
<filter>
    <filter-name>Api Filter</filter-name>
    <filter-class>net.threescale.api.v2.ApiFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>Api Filter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

To test

for f in {1..2}; do curl -H"X-App-Id: a07cc69b" -H"X-App-Key: a424d9790800b149948dd4b7a0c61d41" \
-H"X-App-Rate: 10" -I "http://localhost:8083/v2/videos.json"; done

About

3scale integration plugin for Java applications

License:MIT License


Languages

Language:Java 100.0%