GithubHelp home page GithubHelp logo

muhammadharis / registry-experimental Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apigee/registry-experimental

0.0 1.0 0.0 654 KB

Experimental code associated with the Registry API.

License: Apache License 2.0

Python 0.38% JavaScript 93.50% Makefile 0.02% Go 3.21% CSS 1.86% HTML 0.27% Shell 0.42% Dockerfile 0.34%

registry-experimental's Introduction

Go Actions Status

Registry Experiments

The Apigee Registry API allows teams to upload and share machine-readable descriptions of APIs that are in use and development.

This repository holds experimental code that builds on the Registry API: new projects, suspended projects, and work that might be useful in future projects.

registry-experimental

cmd/registry-experimental contains a command-line tool that is structurally identical to the registry tool but containing experimental capabilities, some of which might eventually be migrated to the registry tool.

Running the registry-graphql proxy

cmd/registry-graphql contains a simple proxy that provides a read-only GraphQL interface to the Registry API. It can be run with a local or remote registry-server.

Running the registry-server and viewer using docker

We publish the Registry Server, Registry Viewer and Registry Envoy proxy docker images to GitHub Packages. We have published a sample docker-compose.yml file to make is easier to set this up on your local environment.

Steps to run this setup:

  1. Create a Google oAuth Client ID.

    Use the following values for the form:

  2. Update the GOOGLE_SIGNIN_CLIENTID value, in docker-compose.yml file, with the client ID from previous step.

  3. Run the docker compose up command to start the server

  4. Setup environment variables to use registry tools

        export APG_REGISTRY_ADDRESS="localhost:9999"
        export APG_ADMIN_ADDRESS=$APG_REGISTRY_ADDRESS
        export APG_ADMIN_INSECURE=1
        export APG_REGISTRY_INSECURE=1
  5. Sample commands to create a project and api.

        apg admin create-project --project_id=project1
        apg registry create-api --api_id=api1 --parent=projects/project1/locations/global
        apg registry list-apis --parent=projects/project1/locations/global --json
  6. To wipe out the local setup run docker compose down -v

License

This software is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Disclaimer

This is not an official Google product. Issues filed on Github are not subject to service level agreements (SLAs) and responses should be assumed to be on an ad-hoc volunteer basis.

Contributing

Contributions are welcome! Please see CONTRIBUTING for notes on how to contribute to this project.

registry-experimental's People

Contributors

muhammadharis avatar timburks avatar giteshk avatar shrutiparabgoogle avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.