Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kapua-dev] Error in generating client
  • From: "Mezzasalma, Claudio" <Claudio.Mezzasalma@xxxxxxxxxxxx>
  • Date: Mon, 16 Mar 2020 08:08:30 +0000
  • Accept-language: it-IT, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=eurotech.com; dmarc=pass action=none header.from=eurotech.com; dkim=pass header.d=eurotech.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bvJU0y5iKk9u5LPfrgKXky+mXJJ5qbU35X1oQPQQ9mE=; b=SI3AZD4pjy5VwrMYiklRbLlamaL80FLEt8t5opL8VNjGYlA3M9yY2Fj5BWX4BBjSwaTSfvkmLFSNS6eSUbDzNAZ2BjL78g0ud/x2LhWO/HLntBeKg16KlMep0pYX40Wc6A8srj7kwFIKQRHPlgFLmTMMtD3zsC6nhho5ophsUBtP3HsRAkyBCcZL8TTUqdmSyPnxD9/DPFog3L/keut8seHZf566th7djFY4/QrdYFgf3sVZciGIctCQDqgYURppw4YGmzULiXI2jchgZepTeCVSluuVEa0EASMkW7ajUUL6FYn+vFIlP7hK+aumhHKqMXTC/TOcb51p1ZtH5GqE0g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dJ12NtngX6BtyKGj6KDvLWt63iTeicfdY9fKwcN/xcvkNWQy2BK68OcSl4Ptsudl+BdOy9ItWZRwwve1kfTDG0FLw5HLSK6BCuhoyeCnWV/p4pCF6SIyRK7yzsmGf3KzMAeTnvg0bIR0Fao0yc1oSmh7bdoYT5ZTBNksKgxb4kbGmkCs3KkMHCV6uCyeP6zJpzzrxNVvjaURPOQDFvIyZGP/EStYuu7Qpu3wjGwzIXUG6+WSfa7TE9uqYsU7Y2AZaPEWnSO3NQHpPoEXPmsZ+kB+JQtDG5HXWGMnCIxcfJmjgUGC52d7fZTATst9TKWzaRZwMwEV5Kj0KIvsDQxjTw==
  • Delivered-to: kapua-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/kapua-dev>
  • List-help: <mailto:kapua-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/kapua-dev>, <mailto:kapua-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/kapua-dev>, <mailto:kapua-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHV+EjvWAi9A71pkUKMjNlJtFwGzKhKvTNwgAA3JYA=
  • Thread-topic: [kapua-dev] Error in generating client

You can use the OpenAPI definition to generate one, but currently there are a few bugs in that definition that have been addressed in this pull request [1] that will be released with Kapua 1.2.0. Currently this is the only way to autogenerate an HTTP client.

[1] https://github.com/eclipse/kapua/pull/2795

-- 
Claudio Mezzasalma | Eurotech

Il giorno 16/03/20, 06:54 "kapua-dev-bounces@xxxxxxxxxxx per conto di Shankar, Ramraj" <kapua-dev-bounces@xxxxxxxxxxx per conto di Ramraj.Shankar@xxxxxxxx> ha scritto:

    Thank you for your suggestion.
    Since Im using Mac, Im not able to run OpenShift and I am not create a partition.
    Thus, I would like to know generate a client to extract data.
    
    
    
    
    Thank you,
    Ram. 
    ________________________________________
    From: kapua-dev-bounces@xxxxxxxxxxx [kapua-dev-bounces@xxxxxxxxxxx] on behalf of Mezzasalma, Claudio [Claudio.Mezzasalma@xxxxxxxxxxxx]
    Sent: 12 March 2020 09:33
    To: kapua developer discussions
    Subject: Re: [kapua-dev] Error in generating client
    
    The generate-client-java.sh makes the assumption that Kapua is running in an OpenShift cluster, and that such cluster is being administrated in the current machine (i.e. the cluster may be running everywhere, but you have to be logged with the OpenShift CLI). As you can see from the log you posted, no address can be resolved since you're probably not deploying Kapua in OpenShift, but rather in Docker.
    
    --
    Claudio Mezzasalma | Eurotech
    
    Il giorno 12/03/20, 08:57 "kapua-dev-bounces@xxxxxxxxxxx per conto di Shankar, Ramraj" <kapua-dev-bounces@xxxxxxxxxxx per conto di Ramraj.Shankar@xxxxxxxx> ha scritto:
    
        Hello ,
    
        Could you please let me know how to sort out the error( in the attachment) which comes when I run the client generation code: ./generate-client-java.sh.
    
    
    
        Thank you,
        Ram
    
    _______________________________________________
    kapua-dev mailing list
    kapua-dev@xxxxxxxxxxx
    To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/kapua-dev
    _______________________________________________
    kapua-dev mailing list
    kapua-dev@xxxxxxxxxxx
    To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/kapua-dev
    


Back to the top