Parse groovy scripts
Create closure objects
Cast to SAM Find SAMs in classpath
SAMs map
Cast to Closure
Execute
Slide 42
Slide 42 text
Show me
the code!
Slide 43
Slide 43 text
No content
Slide 44
Slide 44 text
Public API Design
_____________
Slide 45
Slide 45 text
Public API Design
–Papi is contract
_____________
Slide 46
Slide 46 text
Public API Design
–Papi is contract
–Maintain backwards
compatibility at all costs
_____________
Slide 47
Slide 47 text
Public API Design
–Papi is contract
–Maintain backwards
compatibility at all costs
– Breaking API might crash the
server!
_____________
Slide 48
Slide 48 text
Public API Design
–Papi is contract
–Maintain backwards
compatibility at all costs
– Breaking API might crash the
server!
– Start small
_____________
Slide 49
Slide 49 text
Public API Design
–Maintain backwards
compatibility at all costs
– Breaking API might crash the
server!
– Start small
– Listen to users
_____________
Slide 50
Slide 50 text
Public API Design
compatibility at all costs
– Breaking API might crash the
server!
– Start small
– Listen to users
– Fluent API is your friend
_____________
Slide 51
Slide 51 text
Public API Design
– Breaking API might crash the
server!
– Start small
– Listen to users
– Fluent API is your friend
– Strong Java Types, compatibility
_____________
Slide 52
Slide 52 text
Show me
the code!
Slide 53
Slide 53 text
No content
Slide 54
Slide 54 text
No content
Slide 55
Slide 55 text
No content
Slide 56
Slide 56 text
No content
Slide 57
Slide 57 text
No content
Slide 58
Slide 58 text
No content
Slide 59
Slide 59 text
The conflict
__________
Slide 60
Slide 60 text
The conflict
– Need to access Artifactory jars
(PAPI)
__________
Slide 61
Slide 61 text
The conflict
– Need to access Artifactory jars
(PAPI)
– Need to be isolated from
Artifactory jars (3rd party)
__________
Slide 62
Slide 62 text
No content
Slide 63
Slide 63 text
No content
Slide 64
Slide 64 text
No content
Slide 65
Slide 65 text
No content
Slide 66
Slide 66 text
We’ll do it ourselves!
________________
Slide 67
Slide 67 text
No content
Slide 68
Slide 68 text
We’ll do it ourselves!
1. Pull up what’s common
________________
Slide 69
Slide 69 text
We’ll do it ourselves!
1. Pull up what’s common
2. isolate the rest
________________
Slide 70
Slide 70 text
We’ll do it ourselves!
1. Pull up what’s common
2. isolate the rest
________________