All materials:
https://drive.google.com/drive/folders/0Bz5GSV_C1MFTTDNubXhvUlcwUk0?usp=sharing
Exercises:
import grails.compiler.GrailsCompileStatic | |
import groovy.transform.SelfType | |
import grails.artefact.Controller | |
import org.springframework.http.HttpStatus | |
import static org.springframework.http.HttpStatus.* | |
@SelfType(Controller) | |
trait ResponseTrait { |
09:29:54: Executing task 'bootRun'... | |
Connected to the target VM, address: '127.0.0.1:54374', transport: 'socket' | |
> Task :server:compileJava NO-SOURCE | |
> Task :server:compileGroovy | |
> Task :server:buildProperties UP-TO-DATE | |
> Task :server:processResources | |
> Task :server:classes | |
> Task :server:findMainClass | |
Connected to the VM started by ':server:bootRun' (localhost:54387). Open the debugger session tab |
// Compiled by Igor Shults | |
// Last Updated: Dec 8, 2017 | |
GRAILS GROOVY SOURCE | |
3.3.2 2.4.13 https://github.com/grails/grails-core/blob/3.3.x/build.gradle | |
3.3.1 2.4.11 | |
3.3.0 2.4.11 | |
3.2.11 2.4.11 https://github.com/grails/grails-core/blob/d85666969f3ef38386115d206f63dda552f94cbd/build.gradle | |
3.2.10 2.4.10 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.3/vue.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.3/axios.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | |
crossorigin="anonymous"> |
class Movie { | |
String title | |
} | |
class User { | |
String name | |
} | |
class Rating { | |
Movie movie |
<html> | |
<head> | |
<meta http-equiv="Content-Security-Policy" | |
content="default-src 'self' 'unsafe-inline' https://* https://api.stripe.com; | |
img-src 'self' https://www.google-analytics.com; | |
font-src 'self' http://fonts.gstatic.com; | |
frame-src https://js.stripe.com; | |
script-src 'self' 'unsafe-inline' https://* https://js.stripe.com https://www.google-analytics.com; | |
connect-src 'self' https://api.stripe.com;"> | |
<script src="https://js.stripe.com/v3/"></script> |
-- Thanks to Patrick Lightbody for submitting this... | |
-- | |
-- In your Quartz properties file, you'll need to set | |
-- org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate | |
drop table if exists qrtz_fired_triggers; | |
DROP TABLE if exists QRTZ_PAUSED_TRIGGER_GRPS; | |
DROP TABLE if exists QRTZ_SCHEDULER_STATE; | |
DROP TABLE if exists QRTZ_LOCKS; | |
drop table if exists qrtz_simple_triggers; |