adrian-rosello/opennaas — comment on commit ad4ce8646df45532e749dfa8c60f2e557ff1c690
File: manticore/bundles/net.i2cat.mantychore.model/src/main/java/net/i2cat/mantychore/model/GRETunnelConfiguration.java line 131
By isartcanyameres:

Alert! Calling this method will result in ClassCastException as getFromAssociatedElementsByType return a List and it's being cast to GRETunnelService.
Depending on GRETunnelServiceConfiguration multiplicity the fix differes.
If there is only one service per config, use getFirstFromAssociatedElementByType.