description: Profile for REST API applications
features:
  defaults:
  - hibernate
  - events
  required:
  - json-views
build:
  plugins:
  - war
  - org.graceframework.grace-web
  excludes:
  - org.graceframework.grace-core
dependencies:
- scope: compile
  coords: org.springframework.boot:spring-boot-starter-actuator
- scope: compile
  coords: org.springframework.boot:spring-boot-starter-logging
- scope: compile
  coords: org.springframework.boot:spring-boot-starter-validation
- scope: compile
  coords: org.springframework.boot:spring-boot-starter-web
- scope: compile
  coords: org.graceframework:grace-boot
- scope: compile
  coords: org.graceframework:grace-core
- scope: compile
  coords: org.graceframework:grace-logging
- scope: compile
  coords: org.graceframework:grace-plugin-codecs
- scope: compile
  coords: org.graceframework:grace-plugin-controllers
- scope: compile
  coords: org.graceframework:grace-plugin-converters
- scope: compile
  coords: org.graceframework:grace-plugin-databinding
- scope: compile
  coords: org.graceframework:grace-plugin-datasource
- scope: compile
  coords: org.graceframework:grace-plugin-domain-class
- scope: compile
  coords: org.graceframework:grace-plugin-i18n
- scope: compile
  coords: org.graceframework:grace-plugin-interceptors
- scope: compile
  coords: org.graceframework:grace-plugin-management
- scope: compile
  coords: org.graceframework:grace-plugin-rest
- scope: compile
  coords: org.graceframework:grace-plugin-services
- scope: compile
  coords: org.graceframework:grace-plugin-url-mappings
- scope: compile
  coords: org.graceframework.plugins:async
- scope: compile
  coords: org.graceframework.plugins:cache
- scope: testCompile
  coords: org.graceframework:grace-test-support
- scope: testCompile
  coords: org.graceframework:views-json-testing-support
name: rest-api
extends: org.graceframework.profiles:base:2023.1.0-RC1
commands:
  generate-controller: generate-controller.groovy
  generate-views: generate-views.groovy
  generate-unit-test: generate-unit-test.groovy
  generate-all: generate-all.groovy
  generate-functional-test: generate-functional-test.groovy
  create-domain-resource: create-domain-resource.yml
  create-integration-test: create-integration-test.yml
  create-service: create-service.yml
  create-controller: create-controller.yml
  create-functional-test: create-functional-test.yml
  create-interceptor: create-interceptor.yml
  create-restful-controller: create-restful-controller.yml
templates:
- testing/Resource.groovy
- testing/Functional.groovy
- testing/Controller.groovy
- testing/Service.groovy
- testing/Interceptor.groovy
- testing/Integration.groovy
- artifacts/scaffolding/Spec.groovy
- artifacts/scaffolding/ServiceSpec.groovy
- artifacts/scaffolding/_domain.gson
- artifacts/scaffolding/FunctionalSpec.groovy
- artifacts/scaffolding/show.gson
- artifacts/scaffolding/Controller.groovy
- artifacts/scaffolding/Service.groovy
- artifacts/scaffolding/index.gson
- artifacts/Resource.groovy
- artifacts/RestfulController.groovy
- artifacts/Controller.groovy
- artifacts/Service.groovy
- artifacts/Interceptor.groovy
