Git Product home page Git Product logo

refapis's Introduction

Deploy Instructions

Deploying the proxy

For Deploying proxy run the following command through Command line or Invoke from Jekins Goal

$ cd {Proxy_to_be_deployed}
$ mvn apigee-enterprise:deploy -P{env-name} -Dusername={username} -Dpassword={password} -Dorg={org-name}

or

$ cd {Proxy_to_be_deployed}
 mvn install -P{env-name} -Dusername={username} -Dpassword={password} -Dorg={orgname} -Doptions=validate,update

Response from server if successful

Response returned by the server
 **************************
200  OK
accept-encoding: gzip
content-length: 717
content-type: application/json
date: Mon, 08 Jan 2018 21:16:41 GMT
server: [Apigee LB]
access-control-allow-origin: [*]
access-control-allow-methods: [GET, PUT, POST, DELETE]
connection: [keep-alive]
access-control-max-age: [3628800]
access-control-allow-headers: [origin, x-requested-with, accept]
{
  "aPIProxy": "*****",
  "configuration": {
    "basePath": "/",
    "steps": []
  },
  "environment": "***",
  "name": "2",
  "organization": "****",
  "revision": "2",
  "state": "deployed",
  "server": [
    {
      "status": "deployed",
      "type": [
        "message-processor"
      ],
      "uUID": "ecdd4c96-b563-4c7b-86b5-c3522c271fd0"
    },
    {
      "status": "deployed",
      "type": [
        "message-processor"
      ],
      "uUID": "8f3e1cdb-cb8c-4126-a457-e0d99ff80a7f"
    },
    {
      "status": "deployed",
      "type": [
        "router"
      ],
      "uUID": "02a2ab5b-6dfb-47a3-bc11-48759cd108b5"
    },
    {
      "status": "deployed",
      "type": [
        "router"
      ],
      "uUID": "51304f9d-892b-4a65-a905-b1555f7bb197"
    }
  ]
}

Deploying Configuration

$ cd {Proxy_to_be_deployed}
$ mvn apigee-config:kvms  -P{env-name} -Dusername={username} -Dpassword={password} -Dorg={org-name} -Dapigee.config.options=create

or

$ cd {Proxy_to_be_deployed}
 mvn install -P{env-name} -Dusername={username} -Dpassword={password} -Dorg={orgname} -Dapigee.config.options=create

refapis's People

Watchers

 avatar  avatar

Forkers

rmistry75

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.