25 |
School classes
26 |
27 |
28 |
29 |
30 | Course |
31 | Teacher |
32 | Year |
33 | Number of students |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/school-ui/src/test/java/com/okta/developer/docker_microservices/ui/UIWebApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.okta.developer.docker_microservices.ui;
2 |
3 | import org.junit.Test;
4 | import org.junit.runner.RunWith;
5 | import org.springframework.boot.test.context.SpringBootTest;
6 | import org.springframework.test.context.TestPropertySource;
7 | import org.springframework.test.context.junit4.SpringRunner;
8 |
9 | @RunWith(SpringRunner.class)
10 | @SpringBootTest
11 | @TestPropertySource(locations="classpath:test.properties")
12 | public class UIWebApplicationTests {
13 |
14 | @Test
15 | public void contextLoads() {
16 | }
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/school-ui/src/test/resources/test.properties:
--------------------------------------------------------------------------------
1 | okta.oauth2.issuer=https://dev-737523.oktapreview.com/oauth2/default
2 | okta.oauth2.clientId=TEST
3 | spring.cloud.discovery.enabled=false
4 | spring.cloud.config.discovery.enabled = false
5 | spring.cloud.config.enabled = false
--------------------------------------------------------------------------------