Fix issue #6867 : The apiPackage option was ignored (#7316)

* Fix issue #6867 : The apiPackage option is ignored in the template for Java Play Framework.

* use openjdk7 in travis to ensure it works with jdk7
This commit is contained in:
Jean-François Côté
2018-01-10 00:15:49 -05:00
committed by William Cheng
parent 16e3226c8a
commit ebf4efe3ea
45 changed files with 3301 additions and 14 deletions

View File

@@ -0,0 +1,36 @@
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET /api com.puppies.store.apis.ApiDocController.api
#Functions for Pet API
POST /v2/pet com.puppies.store.apis.PetApiController.addPet()
DELETE /v2/pet/:petId com.puppies.store.apis.PetApiController.deletePet(petId: Long)
GET /v2/pet/findByStatus com.puppies.store.apis.PetApiController.findPetsByStatus()
GET /v2/pet/findByTags com.puppies.store.apis.PetApiController.findPetsByTags()
GET /v2/pet/:petId com.puppies.store.apis.PetApiController.getPetById(petId: Long)
PUT /v2/pet com.puppies.store.apis.PetApiController.updatePet()
POST /v2/pet/:petId com.puppies.store.apis.PetApiController.updatePetWithForm(petId: Long)
POST /v2/pet/:petId/uploadImage com.puppies.store.apis.PetApiController.uploadFile(petId: Long)
#Functions for Store API
DELETE /v2/store/order/:orderId com.puppies.store.apis.StoreApiController.deleteOrder(orderId: String)
GET /v2/store/inventory com.puppies.store.apis.StoreApiController.getInventory()
GET /v2/store/order/:orderId com.puppies.store.apis.StoreApiController.getOrderById(orderId: Long)
POST /v2/store/order com.puppies.store.apis.StoreApiController.placeOrder()
#Functions for User API
POST /v2/user com.puppies.store.apis.UserApiController.createUser()
POST /v2/user/createWithArray com.puppies.store.apis.UserApiController.createUsersWithArrayInput()
POST /v2/user/createWithList com.puppies.store.apis.UserApiController.createUsersWithListInput()
DELETE /v2/user/:username com.puppies.store.apis.UserApiController.deleteUser(username: String)
GET /v2/user/:username com.puppies.store.apis.UserApiController.getUserByName(username: String)
GET /v2/user/login com.puppies.store.apis.UserApiController.loginUser()
GET /v2/user/logout com.puppies.store.apis.UserApiController.logoutUser()
PUT /v2/user/:username com.puppies.store.apis.UserApiController.updateUser(username: String)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(file)
GET /versionedAssets/*file controllers.Assets.versioned(file)