+Vijay

The dcae_cli tool does not generate csar packages.  It is intended that the dcae_cli tool should generate tosca models which are to be used by the dcae design studio which is in sdc.  Currently this tosca model generation is a separate step.

Regarding self service of tosca model generation, @Lusheng who can help him with the tooling?

Regarding samples, one of the features of the dcae onboarding experience is to provide a shared catalog of components so that developers can share and browse.  However, this sort of environment is not being hosted right now.  @Vijay could you provide the ves's component spec as a sample?


On 06/04/2018 05:36 PM, Bisht, Suraj (Nokia - US/Irving) wrote:

Hi Mike,

Thanks for your response,

I was going through following link

https://wiki.onap.org/display/DW/MicroServices+Onboarding <https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_MicroServices-2BOnboarding&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=QOGOInhcsUY7OJVwd5qKbfaGSocidMGj3pECtaoDzj0&m=yLnHRTG4259TVvxMTg3qicSl9nmlPBRhf31QxjlelW4&s=untzt6yBFxoB26ZmLhkzwFTnTI8wGDudVfNZFayArwg&e=>

and I got impression that dcae_cli tool will be used to generate csar package which can be used in SDC during DCAE component design, is this not the case?

Can you guide me how to create SDC compliant template to create DCAE component if I have data-formats and component-spec json files?

If possible kindly share one sample to verify DCAE micro service component deployment.

Thanks,

Suraj

*From:*Michael Hwang [mailto:[email protected]]
*Sent:* Monday, June 04, 2018 4:24 PM
*To:* Bisht, Suraj (Nokia - US/Irving) <[email protected]>; [email protected]; [email protected]
*Cc:* [email protected]; [email protected]
*Subject:* Re: [onap-discuss] 答复:Re: 答复:[dcae] dcae-cli Installation Failure

Hi Suraj

> a)       Is dcae_cli postgress database for catalog a separate database, can we use existing database from other ONAP components (i.e. SDC)?

Yes the dcae_cli postgres is a separate database.  You could share a common postgres instance but would have to have been initialized with the dcae_cli tables.

> b)    Is dcae CLI an offline tool, can it be install and used independently from DCAE/ONAP setup?

The dcae_cli has a range of features including to help with testing your component on a DCAE environment as part of onboarding.  If you are not intending to test then you would not need a DCAE environment.

> b)      Can dcae_cli tool generate csar without setting-up catalog database?

dcae_cli does not generate csars

> c)       Is there any sample csar available to verify deployment of dcae micro-service component?

See the previous answer.

Thanks

Mike

On 06/04/2018 05:07 PM, Bisht, Suraj (Nokia - US/Irving) wrote:

    Hi,

    Kindly clarify following queries on dcae_cli tool, will appreciate
    any pointers

    a)Is dcae_cli postgress database for catalog a separate database,
    can we use existing database from other ONAP components (i.e. SDC)?

    b)   Is dcae CLI an offline tool, can it be install and used
    independently from DCAE/ONAP setup?

    b)Can dcae_cli tool generate csar without setting-up catalog database?

    c)Is there any sample csar available to verify deployment
    of dcae micro-service component?

    Thanks,

    Suraj

    *From:*[email protected]
    <mailto:[email protected]>
    [mailto:[email protected]] *On Behalf Of
    *[email protected] <mailto:[email protected]>
    *Sent:* Monday, October 09, 2017 8:11 AM
    *To:* [email protected] <mailto:[email protected]>
    *Cc:* [email protected] <mailto:[email protected]>;
    [email protected] <mailto:[email protected]>;
    [email protected] <mailto:[email protected]>
    *Subject:* [onap-discuss] 答复:Re: 答复:[dcae] dcae-cli Installation
    Failure

    Lusheng,

    How do you use the cli tool within AT&T? I want to set up a simple
    web server to host the templates and blueprints. The reason why I
    ask this is that we want to verify the component specification
    files on our own. As you know, they are not completely done.

    Otherwise, we have to send those files to your team for
    verification every time we make any tiny changes. I think that
    might be quite annoying and less efficient.

    Any advice on this will be helpful and welcome.

    Thanks.

    Guangrong

    原始邮件

    *发件人:*JI,LUSHENG(LUSHENG)

    *收件人:*付光荣10144542;

    *抄送人:*[email protected]
    <mailto:[email protected]>;彭聪聪6128000043;HWANG,
    MICHAEL(MICHAEL);

    *日期:*2017-10-09 20:32:58

    *主**题:Re: **答复:[dcae] dcae-cli Installation Failure*

     Guangrong,

    I discussed with Michael about this subject.  Using ONAP Nexus is
    not an ideal solution.  The reason is that from DCAE cli
    perspective, Nexus is read only (write access is only from
    Gerrit).  Therefore any new schema onboarded from cli cannot be
    added to Nexus from DCAE cli.

    I donot have a good solution. Maybe we will have to launch a VM 
    in Pod25.  But VMs there are often rebuilt so they are not very
    "stable".  So special care needs to be taken for resiliency.

    The same problem existing for all ONAP design time flows and
    components.  I donot know for example how SDC stores its
    blueprints and catalog..  If they have a solution we can probably
    use the same solution.

    Lusheng

    Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone

    -------- Original message --------

    From: [email protected] <mailto:[email protected]>

    Date: 10/9/17 6:27 AM (GMT-05:00)

    To: "JI, LUSHENG (LUSHENG)" <[email protected]
    <mailto:[email protected]>>

    Cc: [email protected]
    <mailto:[email protected]>, [email protected]
    <mailto:[email protected]>, "HWANG, MICHAEL (MICHAEL)"
    <[email protected] <mailto:[email protected]>>

    Subject: Re: 答复:[dcae] dcae-cli Installation Failure

    Lusheng,

    Do you have any suggestion on this? If the ONAP nexus server could
    not be used, could you please give us some guidance on setting up
    such a server (such as the dir hirarchy on the server side and the
    dir names, etc.)?

    Thanks.

    Guangrong

    *Sender: *<[email protected] <mailto:[email protected]>>;

    *To: *fuguangrong10144542;

    *CC: *<[email protected] <mailto:[email protected]>>;
    <[email protected]
    <mailto:[email protected]>>;pengcongcong6128000043;

    *Date: *2017/10/05 02:51

    *Subject: Re: **答复:[dcae] dcae-cli Installation Failure*

    The dcae-cli expects json schema files and the server is a simple
        web server that hosts these files.  @Lusheng could we use
    ONAP's     nexus raw file server to serve up these files?

    On 10/04/2017 01:27 AM, [email protected]
    <mailto:[email protected]> wrote:

        Mike,


        We succeeded in           installing the dcae-cli tool. But
        when I try to initialize it           using dcae_cli --reinit
        or to check the version using dcae_cli           --version,
        the url of a server is required:


        What is the url of           the remote server, please? Do we
        have to set up such a server           by ourselves?


        Thanks.


        Guangrong







    *Sender: *<[email protected]> <mailto:[email protected]>;

    *To: *fuguangrong10144542;

    *CC: *<[email protected]> <mailto:[email protected]>;
    <[email protected]>
    <mailto:[email protected]>;pengcongcong6128000043;

    *Date: *2017/09/27 22:23

    *Subject: Re: **答复:[dcae] dcae-cli Installation Failure*


    I just tried in a new virtualenv and the cli installed for me ok.

    On 09/27/2017 10:03 AM, [email protected]
    <mailto:[email protected]>     wrote:

        Thank                       you, Mike.


        We've                       already had a       postgres
        running locally.               We'll try to install the cli
        tool           from       the source using the pip instruction
        you provided                 tomorrow. (I have limited access
        to our     internal lab while I'm           in Paris so I'll
        leave that to my team. :D)


        @Peng

            Could                       you please try it again
        following the                 suggestion below? If there's    
              still       problem, pls let us know asap.


        Thanks..


        Guangrong







    *Sender: *<[email protected]> <mailto:[email protected]>;

    *To: *fuguangrong10144542;

    *CC: *<[email protected]> <mailto:[email protected]>;
    <[email protected]>
    <mailto:[email protected]>;pengcongcong6128000043;

    *Date: *2017/09/27 21:57

    *Subject: Re: **答复:[dcae] dcae-cli Installation Failure*


    Hi Guangrong

                                        Rather than checking out
    source and trying to                 install from source,     can
                    you do a:

                                        pip install onap-dcae-cli

                                        instead?

                                        Note: The onboarding env is
    not completely setup so                 your dcae-cli            
            will work in a limited capacity.

                                        As a requirement, you will
    need a local postgres                 server running.  A          
              fast way to get postgres running                 is to  
              run a docker instance.  See the README in the    
    dcae-cli project for more details on "Local                 use".

                                        Thanks

                                        Mike

    On 09/27/2017 04:46 AM, [email protected]
    <mailto:[email protected]>                                  
      wrote:

        Hi Mike,


        I'm sending this again in case the screenshots in            
              Lusheng's previous                       email can not
        be                       displayed                    
        properly. (It did happen           on my                      
            laptop.)


        Thanks.


        Guangrong







    *Sender: *fuguangrong10144542

    *To: *<[email protected]> <mailto:[email protected]>;

    *CC: *<[email protected]>
    <mailto:[email protected]>;pengcongcong6128000043;

    *Date: *2017/09/27 04:23

    *Subject: **答复:[dcae] dcae-cli Installation Failure*


    Lusheng,

                      It was   really great time talking       with  
                      you in a F2F                     manner this    
                                  evening. I hope will get more
    chances to         have such                     kind of
    conversations in the                       future.

                      As I mentioned, there are still                
            problems when we try                     to install      
                              the dcae-cli tool based on the    
    latest         codes                     in the gerrit repo. Could
    you please                             help to               reach
    out to your           team                     for confirmation? I
    know that   they                     are struggling with the sonar
    things. We'll     appreciate their help if they could spare some  
                      time               to take a look              
                at it.

                      Thanks.

                      Guangrong



    *Sender: *付光荣10144542

    *To: *[email protected] <mailto:[email protected]>;

    *CC: *[email protected]
    <mailto:[email protected]>;彭聪聪6128000043;

    *Date: *2017-09-25 21:23:33

    *Subject: [dcae] dcae-cli Installation                       Failure*








    *Sender: *fuguangrong10144542

    *To: *<[email protected]> <mailto:[email protected]>;

    *CC: *peng//cong/cong6128000043;

    *Date: *2017/09/25 21:21

    *Subject: [dcae] dcae-cli Installation Failure*


    Hi Lusheng,


    It seems that your team has updated the dcae-cli                  
                    codes                       a little bit. But when
                          we             try to install the          
      tool,                       there are still errors (see the
    screenshot below). Are there any configurations missing on        
                  our                   side? It         looks like
    the     external repo address             is missing. Could you
    please help                       to solve                   that?


    Thanks.

    Guangrong







    *Sender: *peng//cong/cong6128000043

    *To: *fuguangrong10144542;

    *Date: *2017/09/25 20:52

    *Subject: **【dcae-cli**】Python setup.py install **失**败*



    错误信息:







_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to