aws-connected-device-framework icon indicating copy to clipboard operation
aws-connected-device-framework copied to clipboard

Asset Library Supports Regex Search

Open anish-kunduru opened this issue 2 years ago • 5 comments

Aws Connected Device Framework Affected Module(s):

I'm submitting a ...

  • [ ] bug report
  • [x] feature request

Description:

With the introduction of TinkerPop 3.6.x, it is now possible to search via regex, which should make it much easier to find matches. The request is to support this functionality by adding updating the minimum cluster version to 1.2.1.0.R2, which includes TinkerPop 3.6 and updating the relevant CDF code to take regex input as an argument.

Current behavior:

CDF supports the ability to search, but doesn't support regex capability.

Expected behavior:

Steps to reproduce:

Additional Information: Currently WIP on a branch in my fork.

anish-kunduru avatar Oct 04 '23 20:10 anish-kunduru

Hi @anish-kunduru - Do you mind opening a PR of your WIP branch and we can discuss what's required to finish it/get it merged?

canavandl avatar Oct 12 '23 14:10 canavandl

Hi @canavandl , In order for regex to work NeptuneDB engine version has to be 1.2.1.0: https://docs.aws.amazon.com/neptune/latest/userguide/engine-releases-1.2.1.0.html However if we deploy CDF with Asset Library the Neptune version deployed is 1.2.0.2 I'm working on a feature, where version can be specifies in addition to the instance family. CC: @jaychung-aws https://github.com/aws/aws-connected-device-framework/issues/170

joysl avatar Oct 23 '23 13:10 joysl

PR is now ready: https://github.com/aws/aws-connected-device-framework/pull/179 CC: @anish-kunduru @jaychung-aws @canavandl

joysl avatar Nov 03 '23 04:11 joysl

Verified that this works E2E with a minor change on gremlin version[updated] just make sure https://github.com/aws/aws-connected-device-framework/pull/179 is merged first

CC: @jaychung-aws thanks for figuring out the issue

joysl avatar Nov 08 '23 21:11 joysl

@canavandl I was out on vacation, so @joysl picked this up for me.

Does it make sense for us to combine Joyson's PR into this feature and merge both at the same time? We'll have to rebase to pull in the latest changes from master and I'd like to avoid doing that multiple times.

anish-kunduru avatar Nov 10 '23 20:11 anish-kunduru