Re: [so] SO Monitoring - Casablanca


Prateek Gupta
 

I'm facing the same error.
I checked the logs on so-monitoring pod in the directory /app/app/logs, but no logs were generated.

I also tried the same request through POSTMAN where i'm getting 200 OK response but not getting list of active request.
Below is the request and response.
Request:
URL: http://so-monitoring:30224/so/monitoring/v1/search?from=1543488600000&to=1544442600000
METHOD: OPTION
Content-Type:application/json

Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application xmlns="http://wadl.dev.java.net/2009/02">
    <doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 2.25.1 2017-01-19 16:23:50"/>
    <grammars/>
    <resources base="http://so-monitoring:30224/so/monitoring/">
        <resource path="v1/search">
            <method id="getInfraActiveRequests" name="POST">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="from" style="query" type="xs:long"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="to" style="query" type="xs:long"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxResult" style="query" type="xs:int"/>
                </request>
                <response>
                    <representation mediaType="application/json"/>
                    <representation mediaType="application/xml"/>
                </response>
            </method>
        </resource>
    </resources>
</application>

Join onap-discuss@lists.onap.org to automatically receive all group messages.