eclipse / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
494 stars 305 forks source link

Camel Factory cloud connection | Service PID field validation #2989

Closed mstankovic closed 2 years ago

mstankovic commented 3 years ago

Describe the bug Currently this (Camel Factory) cloud connection type doesn't have proper Service PID field validation. Currently able to add values:

To Reproduce Steps to reproduce the behavior:

  1. Go to Cloud Connection system item
  2. Click on New to add new CC
  3. Choose Camel Factory for Factory PID
  4. Type "org.eclipse.kura.cloudconnection.eclipseiot.mqtt.ConnectionManager" for Service PID and click on Apply button

Expected behavior Validation error should appear!

Target Environment (please complete the following information):

salvatore-coppola commented 2 years ago

Added regex expression to validate Camel Service PID. Fixed