- ES5: 62 + 683 + 6.2 + 176 + 8500
- ES2015: 50 + 264 + 6.2 + 174 + 7100
With AOT:
- ES5: 781 + 123 + 1.5 = 905.5
- ES2015: 664 + 36 + 1.5 = 701.5
@RestController | |
class HomeController { | |
@GetMapping("/") | |
public String hello(@AuthenticationPrincipal OidcUser user) { | |
return "Hello, " + user.getFullName(); | |
} | |
} |
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
import { SearchComponent } from './search.component'; | |
import { MockSearchService } from '../shared/search/mocks/search.service.mock'; | |
import { MockActivatedRoute } from '../shared/search/mocks/routes'; | |
import { SearchService } from '../shared'; | |
import { ActivatedRoute } from '@angular/router'; | |
import { FormsModule } from '@angular/forms'; | |
import { RouterTestingModule } from '@angular/router/testing'; |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous"> | |
<title>Simple Web Page</title> | |
<style> | |
h1 { | |
margin: 2em 0; |
Sponsored by @oktadev - follow @mraible to join in
2019-04-14 14:23:21.362 9919-9962/com.okta.developer D/NetworkSecurityConfig: No Network Security Config specified, using platform default | |
2019-04-14 14:23:21.540 9919-9994/com.okta.developer V/Capacitor/Plugin: To native (Cordova plugin): callbackId: SecureStorage1589709940, service: SecureStorage, action: init, actionArgs: ["SecretStore"] | |
2019-04-14 14:23:21.541 9919-9994/com.okta.developer E/SecureStorage: Device is not secure | |
2019-04-14 14:23:21.545 9919-9994/com.okta.developer V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 23778496, pluginId: Browser, methodName: open | |
2019-04-14 14:23:21.545 9919-9994/com.okta.developer V/Capacitor: callback: 23778496, pluginId: Browser, methodName: open, methodData: {"url":"https:\/\/dev-737523.oktapreview.com\/oauth2\/default\/v1\/authorize?redirect_uri=com.okta.developer%3A%2Fcallback&client_id=0oak8qpmhim2MmwF20h7&response_type=code&state=hfYUg5lbP5&scope=openid%20profile%20offline_access&code_challenge=K4jgoVyT7ckRpar6rZ2AfJ9hVY18b3H5IYX38JbMtsg&code_ |
okta: | |
oauth2: | |
issuer: https://{yourOktaDomain}/oauth2/default | |
client-id: {clientId} | |
client-secret: {clientSecret} |
units = { | |
right30 = { x = 0.70, y = 0.00, w = 0.30, h = 1.00 }, | |
right70 = { x = 0.30, y = 0.00, w = 0.70, h = 1.00 }, | |
left70 = { x = 0.00, y = 0.00, w = 0.70, h = 1.00 }, | |
left30 = { x = 0.00, y = 0.00, w = 0.30, h = 1.00 }, | |
top50 = { x = 0.00, y = 0.00, w = 1.00, h = 0.50 }, | |
bot50 = { x = 0.00, y = 0.50, w = 1.00, h = 0.50 }, | |
upright30 = { x = 0.70, y = 0.00, w = 0.30, h = 0.50 }, | |
botright30 = { x = 0.70, y = 0.50, w = 0.30, h = 0.50 }, | |
upleft70 = { x = 0.00, y = 0.00, w = 0.70, h = 0.50 }, |
application { | |
config { | |
baseName gateway, | |
packageName com.okta.developer.gateway, | |
applicationType gateway, | |
authenticationType oauth2, | |
prodDatabaseType postgresql, | |
searchEngine elasticsearch, | |
serviceDiscoveryType eureka, | |
testFrameworks [protractor] |
2018-08-20 15:12:22.992 WARN 2203 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityConfiguration': Unsatisfied dependency expressed through method 'setContentNegotationStrategy' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' |