Skip to content

To provide example in not secure mode #45

@yustiks

Description

@yustiks

I found it useful to have an example of insecure server-client example.

E.g., to check the running services (e.g., orchestration, serviceregistry, authentication)

import requests
r=requests.get('http://127.0.0.1:8443/serviceregistry/echo')

and in quickstart_setup.py, change the ServiceInterface to be:

ServiceInterface('HTTP', 'INSECURE', 'JSON'),

Inaddition, add 'NOT_SECURE' instead of 'CERTIFICATE'

hello_form = ServiceRegistrationForm.make(
        Service(
                'hello-arrowhead',
                'hello',
                ServiceInterface.from_str('HTTP-INSECURE-JSON'),
                'NOT_SECURE',
        ),
        systems['provider'][0],
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions