Skip to content

Commit

Permalink
updated readme and formated the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashi Ranjan committed Jun 23, 2015
1 parent 8e6aced commit 4058990
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.mashape.analytics.agent</groupId>
<artifactId>mashape-analytics</artifactId>
<version>1.0.0-alpha-3-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<name>mashape-analytics</name>
<description>Java Agent for Mashape Analytics (https://analytics.mashape.com)</description>
<url>https://analytics.mashape.com</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ a copy of this software and associated documentation files (the
import com.mashape.analytics.agent.wrapper.ResponseInterceptorWrapper;

/**
*
* AnalyticsFilter is a custom filter designed to intercept http request
* and response and send compiled data to Mashape analytics server.
*
Expand Down
32 changes: 15 additions & 17 deletions src/main/xsd/analyticsHar.xsd
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.mashape.com/analytics"
xmlns:tns="http://www.mashape.com/analytics"
elementFormDefault="qualified">
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mashape.com/analytics"
xmlns:tns="http://www.mashape.com/analytics" elementFormDefault="qualified">

<element name="Message" type="tns:Message"></element>

Expand All @@ -26,8 +24,8 @@
<sequence>
<element name="version" type="string"></element>
<element name="creator" type="tns:Creator"></element>
<element name="entries" type="tns:Entry"
maxOccurs="unbounded" minOccurs="0">
<element name="entries" type="tns:Entry" maxOccurs="unbounded"
minOccurs="0">
</element>
</sequence>
</complexType>
Expand All @@ -47,8 +45,7 @@
<element name="encoding" type="string" maxOccurs="1"
minOccurs="0">
</element>
<element name="text" type="string" maxOccurs="1"
minOccurs="0">
<element name="text" type="string" maxOccurs="1" minOccurs="0">
</element>
</sequence>
</complexType>
Expand All @@ -75,15 +72,16 @@
<element name="queryString" type="tns:NameValuePair"
maxOccurs="unbounded" minOccurs="0">
</element>
<element name="headers" type="tns:NameValuePair"
maxOccurs="unbounded" minOccurs="0">
<element name="headers" type="tns:NameValuePair" maxOccurs="unbounded"
minOccurs="0">
</element>
<element name="headersSize" type="int"></element>
<element name="bodySize" type="int"></element>
<element name="content" type="tns:Content" maxOccurs="1"
minOccurs="0">
</element>
<element name="cookies" type="tns:Cookie" maxOccurs="unbounded" minOccurs="0"></element>
<element name="cookies" type="tns:Cookie" maxOccurs="unbounded"
minOccurs="0"></element>
</sequence>
</complexType>

Expand All @@ -92,16 +90,16 @@
<element name="status" type="int"></element>
<element name="statusText" type="string"></element>
<element name="httpVersion" type="string"></element>
<element name="headers" type="tns:NameValuePair"
maxOccurs="unbounded" minOccurs="0">
<element name="headers" type="tns:NameValuePair" maxOccurs="unbounded"
minOccurs="0">
</element>
<element name="headersSize" type="int"></element>
<element name="bodySize" type="int"></element>
<element name="content" type="tns:Content" maxOccurs="1"
minOccurs="0">
</element>
<element name="cookies" type="tns:Cookie"
maxOccurs="unbounded" minOccurs="0">
<element name="cookies" type="tns:Cookie" maxOccurs="unbounded"
minOccurs="0">
</element>
<element name="redirectURL" type="string"></element>
</sequence>
Expand All @@ -115,8 +113,8 @@
<element name="request" type="tns:Request"></element>
<element name="response" type="tns:Response"></element>
<element name="timings" type="tns:Timings"></element>
<element name="cache" type="tns:Cache"
maxOccurs="unbounded" minOccurs="0">
<element name="cache" type="tns:Cache" maxOccurs="unbounded"
minOccurs="0">
</element>
<element name="connection" type="string"></element>
</sequence>
Expand Down

0 comments on commit 4058990

Please sign in to comment.