Search in sources :

Example 6 with Resource

use of io.opencensus.proto.resource.v1.Resource in project instrumentation-java by census-instrumentation.

the class OcAgentNodeUtilsTest method toResourceProto_Null.

@Test
public void toResourceProto_Null() {
    Resource resourceProto = OcAgentNodeUtils.toResourceProto(null);
    assertThat(resourceProto).isNull();
}
Also used : Resource(io.opencensus.proto.resource.v1.Resource) Test(org.junit.Test)

Aggregations

Resource (io.opencensus.proto.resource.v1.Resource)3 ArrayList (java.util.ArrayList)3 URI (java.net.URI)2 DefaultValue (javax.ws.rs.DefaultValue)2 GET (javax.ws.rs.GET)2 HeaderParam (javax.ws.rs.HeaderParam)2 Produces (javax.ws.rs.Produces)2 ListResponse (org.gluu.oxtrust.model.scim2.ListResponse)2 Resource (org.gluu.oxtrust.model.scim2.Resource)2 Test (org.junit.Test)2 ManagedChannel (io.grpc.ManagedChannel)1 ExportMetricsServiceRequest (io.opencensus.proto.agent.metrics.v1.ExportMetricsServiceRequest)1 MetricsServiceGrpc (io.opencensus.proto.agent.metrics.v1.MetricsServiceGrpc)1 LinkedHashMap (java.util.LinkedHashMap)1 List (java.util.List)1 Entry (java.util.Map.Entry)1 Nullable (javax.annotation.Nullable)1 AdHocSubProcess (org.eclipse.bpmn2.AdHocSubProcess)1 Collaboration (org.eclipse.bpmn2.Collaboration)1 DataObject (org.eclipse.bpmn2.DataObject)1