Hi Murali/JAMES,

I followed the instructions to configure the development environment. Have 
created resources, traversal micro services. But , stuck while performing put 
request (10th step) Getting 404 Not Found.
I've tried both standalone rest client and from CollectionRunner of postman. 
Following shows payload data and request uri. And set headers as suggested in 
10th step. Can you give any suggestions, are we missing something.

https://127.0.0.1:8443/aai/v11/service-design-and-creation/models/model/9551346c-7d8b-4daf-9926-b93e96e2344a



payload -


{
     "model-invariant-id" : "9551346c-7d8b-4daf-9926-b93e96e2344a",
     "model-type" : "widget",
      "model-vers" :     {
      "model-ver" : [ {
               "model-version-id" : "2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
                "model-version" : "1.0",
                "model-name" : "action-data"
      } ]
   }
}


https://127.0.0.1:8443/aai/v11/service-design-and-creation/models/model/{{model-invariant-id}}
 
<https://127.0.0.1:8443/aai/v11/service-design-and-creation/models/model/%7b%7bmodel-invariant-id%7d%7d%20%0d%7b%0b
  %20 %22model-invariant-id%22:%20%22%7b%7bmodel-invariant-id%7d%7d%22,%0b  %20 
%22model-type%22:%20%22widget%22,%0b  %20 %22model-vers%22:%20%7b%0b  %20   %20 
%22model-ver%22:%20%5b%7b%0b  %20   %20   %20 
%22model-version-id%22:%20%22%7b%7bmodel-version-id%7d%7d%22,%0b  %20   %20   
%20 %22model-version%22:%20%22%7b%7bmodel-version%7d%7d%22,%0b  %20   %20   %20 
%22model-name%22:%20%22%7b%7bmodel-name%7d%7d%22%0b  %20   %20 %7d%5d%0b  %20 
%7d%0b%7d%0d>
{
    "model-invariant-id": "{{model-invariant-id}}",
    "model-type": "widget",
    "model-vers": {
        "model-ver": [{
            "model-version-id": "{{model-version-id}}",
            "model-version": "{{model-version}}",
            "model-name": "{{model-name}}"
        }]
    }
}<https://127.0.0.1:8443/aai/v11/service-design-and-creation/models/model/%7b%7bmodel-invariant-id%7d%7d%20%0d%7b%0b
  %20 %22model-invariant-id%22:%20%22%7b%7bmodel-invariant-id%7d%7d%22,%0b  %20 
%22model-type%22:%20%22widget%22,%0b  %20 %22model-vers%22:%20%7b%0b  %20   %20 
%22model-ver%22:%20%5b%7b%0b  %20   %20   %20 
%22model-version-id%22:%20%22%7b%7bmodel-version-id%7d%7d%22,%0b  %20   %20   
%20 %22model-version%22:%20%22%7b%7bmodel-version%7d%7d%22,%0b  %20   %20   %20 
%22model-name%22:%20%22%7b%7bmodel-name%7d%7d%22%0b  %20   %20 %7d%5d%0b  %20 
%7d%0b%7d%0d>


I've following queries , can somebody please clarify them.


1.       Once the Titan is installed , are using GenTester.java to provision 
data into Titan/Cassandra ?

2.       Or, it's an empty database, we should only provision through PUT API's 
?

3.       While executing GenTest , got following suspicious error messages 
related connection pool. Does this stopping provision data ?

17:08:43,871  INFO SchemaGenerator:670 - No index added for PropertyKey: 
[community-string]
PropertyKey  [resource-version] already existed in the DB.
 PropertyKey  [cvlan-tag] already existed in the DB.
 PropertyKey  [resource-version] already existed in the DB.
-- About to call graphMgmt commit
17:08:43,874  INFO SchemaGenerator:670 - -- About to call graphMgmt commit
-- graph commit
17:08:46,957  INFO GenTester:670 - -- graph commit
-- graph shutdown
17:08:46,960  INFO GenTester:670 - -- graph shutdown
17:08:47,052 ERROR ConnectionPoolMBeanManager:74 - 
com.netflix.MonitoredResources:type=ASTYANAX,name=KeyspaceTitanConnectionPool,ServiceType=connectionpool
17:08:47,052 ERROR ConnectionPoolMBeanManager:74 - 
com.netflix.MonitoredResources:type=ASTYANAX,name=ClusterTitanConnectionPool,ServiceType=connectionpool



Thanks & Regards,

Vamshi Krishna | Tech Mahindra

Sharda Centre, Off Karve Road, Erandwane, Pune 411 004, INDIA
Mobile: +91 9848639561
Email Id - vn00480...@techmahindra.com<mailto:vn00480...@techmahindra.com>



[cid:image001.jpg@01D25617.55BC0E30]<http://www.techmahindra.com/>




From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Murali p
Sent: Thursday, July 27, 2017 12:09 PM
To: FORSYTH, JAMES <jf2...@att.com>; 'onap-discuss@lists.onap.org' 
<onap-discuss@lists.onap.org>
Cc: PRESSLEY, VIVIAN A <vp1...@att.com>
Subject: Re: [onap-discuss] [aai] A&AI local dev setup guide

Jimmy,

Thanks for sharing and your effort.

I am able to setup successfully.

Few suggestions:


1)      Step 5.h, 5.i  can be run only after Step 6 (after compiling the code)

2)      It would be great if we can have a small video for Step 10.



From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of FORSYTH, JAMES
Sent: 27 July 2017 02:39
To: 'onap-discuss@lists.onap.org' 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>
Cc: PRESSLEY, VIVIAN A <vp1...@att.com<mailto:vp1...@att.com>>
Subject: [onap-discuss] [aai] A&AI local dev setup guide

Hi, All,

As agreed during the VF-C/A&AI session of the Virtual Developer's Event, I have 
a local dev setup guide page posted under the A&AI page on the wiki, complete 
with Postman example scripts for exercising the resources and aai-traverals 
microservices:

https://wiki.onap.org/pages/viewpage.action?pageId=10782088

I welcome feedback and hope that at least our A&AI devs are able to try this 
out locally.

I am in the process of creating a tutorial which illustrates modifying the 
schema, adding a new node type and adding attributes to existing types - look 
for that tomorrow.

Thanks,
jimmy




============================================================================================================================

Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to