Hi Jim,

Thanks for your feedback.
I would have hoped indeed that the message error is enough to understand the 
issue, but unfortunately, it is not, at least for me.
I do not know what is the custom query in question, neither what tenant data is 
missing.
My tenant info is the following.
If anyone knows what is missing, it would be of great help.
BRs
Vincent

{
  "tenant-id": "63f04689cb4d4985a11ac18616a4db39",
  "tenant-name": "onap-guilin-daily-vnfs",
  "tenant-context": "None",
  "resource-version": "1615463831702",
  "relationship-list": {
    "relationship": [
      {
        "related-to": "generic-vnf",
        "relationship-label": "org.onap.relationships.inventory.BelongsTo",
        "related-link": 
"/aai/v16/network/generic-vnfs/generic-vnf/b6196540-897b-4dab-b521-4fd4f0f1e61f",
        "relationship-data": [
          {
            "relationship-key": "generic-vnf.vnf-id",
            "relationship-value": "b6196540-897b-4dab-b521-4fd4f0f1e61f"
          }
        ],
        "related-to-property": [
          {
            "property-key": "generic-vnf.vnf-name",
            "property-value": 
"onap_vco2-fa97dcd4-eb88-47fc-a49e-a733d8c3fc88_vnf_0"
          }
        ]
      },
      {
        "related-to": "service-subscription",
        "relationship-label": "org.onap.relationships.inventory.Uses",
        "related-link": 
"/aai/v16/business/customers/customer/onap4vco2/service-subscriptions/service-subscription/onap_vco2",
        "relationship-data": [
          {
            "relationship-key": "customer.global-customer-id",
            "relationship-value": "onap4vco2"
          },
          {
            "relationship-key": "service-subscription.service-type",
            "relationship-value": "onap_vco2"
          }
        ]
      }
    ]
  }
}



From: Jim Hahn <[email protected]>
Date: Thursday 11 March 2021 at 19:54
To: Vincent Colas <[email protected]>, "[email protected]" 
<[email protected]>
Subject: Re: [onap-discuss] Closed loop with drools action fails

Hi Vincent,

The exception message indicates the problem:
java.lang.IllegalArgumentException: missing tenant data resource-link for 
AAI.CustomQuery

This indicates that the A&AI custom query used by drools did not contain the 
resource-link associated with the tenant data.  Unfortunately, that's where my 
knowledge ends, as I don't know how that data gets populated within A&AI.

-Jim

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22985): https://lists.onap.org/g/onap-discuss/message/22985
Mute This Topic: https://lists.onap.org/mt/81260444/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to