p632-sp-2017/microservice-catalog-frontend

View on GitHub
src/main/app/fixtures/catalog.json

Summary

Maintainability
Test Coverage
{
  "_embedded": {
    "catalog": [
      {
        "title": "TEST title 12234",
        "description": "UPDATED",
        "url": "http://google.com",
        "email": "abc@gmail.com",
        "_links": {
          "self": {
            "href": "http://ms-catalog.herokuapp.com/catalog/58b201896a0d9170dbb7768e"
          },
          "microServiceEntity": {
            "href": "http://ms-catalog.herokuapp.com/catalog/58b201896a0d9170dbb7768e"
          }
        }
      },
      {
        "title": "Title19",
        "description": "Sample Description",
        "url": "http://sample.com",
        "email": "abc@sdf.com",
        "_links": {
          "self": {
            "href": "http://ms-catalog.herokuapp.com/catalog/58d3251c6ded282190606ed9"
          },
          "microServiceEntity": {
            "href": "http://ms-catalog.herokuapp.com/catalog/58d3251c6ded282190606ed9"
          }
        }
      }
    ]
  },
  "_links": {
    "first": {
      "href": "http://ms-catalog.herokuapp.com/catalog?page=0&size=20"
    },
    "self": {
      "href": "http://ms-catalog.herokuapp.com/catalog"
    },
    "next": {
      "href": "http://ms-catalog.herokuapp.com/catalog?page=1&size=20"
    },
    "last": {
      "href": "http://ms-catalog.herokuapp.com/catalog?page=2&size=20"
    },
    "profile": {
      "href": "http://ms-catalog.herokuapp.com/profile/catalog"
    },
    "search": {
      "href": "http://ms-catalog.herokuapp.com/catalog/search"
    }
  },
  "page": {
    "size": 20,
    "totalElements": 57,
    "totalPages": 3,
    "number": 0
  }
}