Questions tagged [cumulocity]

Cumulocity is a proprietary, cloud-based Internet of Things (IoT) applications development platform.

Cumulocity is a proprietary, cloud-based Internet of Things (IoT) applications development platform with REST APIs to connect IoT devices. For connecting devices, many embedded environments using , , , , and others are supported.

302 questions
0
votes
2 answers

Microservice hosted on Cumulocity

I'm trying to host a microservice on Cumulocity. I use the following article http://cumulocity.com/guides/reference/microservice-package/ I have created and started my container locally via my dockerfile without any problems.…
Brenners Daniel
  • 389
  • 5
  • 15
0
votes
1 answer

Cumulocity Tools - Deploy application as zip via Tools

is it possible to deploy an application as zip file via the cumulocity tools? If so, can someone show an example. I've seen that there is an option -p, --packagePath, but I don't know how to use it. Our goal is to use Jenkins to automatically update…
Nico
  • 15
  • 3
0
votes
1 answer

How to enable Prometheus-based logging in a Cumulocity Cloud microservice

I've been able to upload a microservice to my Cumulocity tenant. Among other things, the process in my microservice exposes statistics over Prometheus. We followed the 'Prometheus Monitoring' part of the documentation and pointed the manifest file…
0
votes
1 answer

How can we use custom setpoints in CEP

I want to create a dashboard or maybe widgets where a user can add custom setpoints. These setpoints should be stored for later use creating streaming analytics with CEP. What would be the (best) approach for this? Thanks
0
votes
1 answer

Create an operation with CEP using a custom fragment

I'm trying to write a custom CEP rule that creates an operation for an agent to gather the measurement that caused the rule to trigger. The CEP rule looks like this: insert into CreateOperation select OperationStatus.PENDING as status, "5345" as…
0
votes
1 answer

OData-style querying in Cumulocity

I wanted to send an OData Query to Cumulocity. I got some documents pointing to the special format of query in the platform: ...&q=$filter%3D(c8y_Availability.status+eq+%27AVAILABLE%27) By the way it is not working (for the list of alarms). Do you…
Parda
  • 31
  • 5
0
votes
1 answer

Gradle not recognizing Cumulocity Microservice SDK package

I managed to deploy a standalone microservice instance into Cumulocity platform according to documentation. After deploying microservice to the platform, I am able to subscribe and make REST calls to the service, so everything works as…
UO Man
  • 153
  • 4
  • 13
0
votes
1 answer

Recognize removal of Widget in Cockpit Dashboard on Cumulocity

Is there a way (maybe an event or something we can subscribe to) to acknowledge inside a self implemented widget, whenever this or another widget is removed from the dashboard?
Vinh Tran
  • 13
  • 4
0
votes
2 answers

How to delete Operation(s) with Java SDK

It seems that in the Java SDK it is not implemented to delete Operations. The REST API supports it. So I'm wondering if I miss something or if this is the case. Are there any workaround except using a REST Client to delete Operation(s) in a Java…
Switschel
  • 42
  • 4
0
votes
1 answer

where to Storing a managed object in custom app hosted in cumulocity

Where to store the managed object for the custom angular 6 App which is hosted inside the cumulocity Thanks BA
PCA
  • 1,677
  • 6
  • 28
  • 45
0
votes
1 answer

Microservice subscript to subtenant REST Endpoint not working

I deployed my microservice over master tenant and subscript it onlty to subtenant. If I call: GET https://subtenant.cumulocity.com/service/mymicroservice/health i get Status Code 200 and UP However if I call: GET…
apes
  • 87
  • 8
0
votes
1 answer

Hosting a custom Angular App in the cumulocity

We are creating a custom Angular App which uses only the services of cumulocity and not any cumulocity based plugins. If i host this app inside the cumulocity, the app will work or not. Please clarify. We are needing answers for many question but…
PCA
  • 1,677
  • 6
  • 28
  • 45
0
votes
1 answer

Using max function to use a calculated value in an svg

I have a svg and would like to use the max of two measurement values. So something like:{{max(left, right)}}. This does not work and gives an error in the browser console. How can I change the expression?
pmahler
  • 11
  • 1
0
votes
1 answer

Cumulocity JSON via MQTT / measurement and error topic

I'm trying to send measurement values to my Cumulocity Tenant via JSON MQTT. For my test connection I use MQTTBox. I have already successfully sent data / create new deivces via MQTT. 100,MQTT-Simulation-1,c8y_MQTTdevice 211,80 I have now tried to…
Brenners Daniel
  • 389
  • 5
  • 15
0
votes
2 answers

How to access c8y_PropertyType (custom attributes) in Java SDK?

I'm using the Cumulocity Java SDK and I'm trying to get access of the custom fragment in one of the ManagedObject. Something like that: ... "type": "sap_CustomomerLocation", "c8y_PropertyType":{ "Customer.Name":{ "name":"customerName",…
Mariusz Kraj
  • 107
  • 5