Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated according to "scheme+hostname" format #112

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2e9cde5
Merge pull request #111 from OpenLiberty/staging
gkwan-ibm Oct 13, 2023
9216cef
added scheme
saumyapandyaa Oct 19, 2023
ac7b219
test cases
saumyapandyaa Oct 23, 2023
c1d4d3c
test cases
saumyapandyaa Oct 23, 2023
c95c6ea
test cases
saumyapandyaa Oct 23, 2023
41d257d
reverting changes to check there's no other issues
saumyapandyaa Oct 23, 2023
8d488cc
changed formatting
saumyapandyaa Oct 24, 2023
d15cbf3
changed copyright formatting
saumyapandyaa Oct 24, 2023
0cd46d5
changed type from static to final
saumyapandyaa Oct 24, 2023
77c30e9
changed type from static to final
saumyapandyaa Oct 24, 2023
c9ec411
changed type from static to final
saumyapandyaa Oct 24, 2023
bbe2f26
changed lines' lengths
saumyapandyaa Oct 24, 2023
e1562c4
changed lines' lengths
saumyapandyaa Oct 24, 2023
8ba1f4c
changed lines' lengths
saumyapandyaa Oct 24, 2023
c872412
fixed copyright and equal sign issues
saumyapandyaa Oct 24, 2023
0f9078a
added prefix variable
saumyapandyaa Oct 24, 2023
16586a7
added prefix variable in start
saumyapandyaa Oct 24, 2023
df1cc09
updated corsIT to use final
saumyapandyaa Oct 24, 2023
21e8ec2
removed static from org.junit.jupiter.api.Assertions.assertEqual
saumyapandyaa Oct 24, 2023
b2d1ac2
switched static and final
saumyapandyaa Oct 25, 2023
3193995
switched to static final
saumyapandyaa Oct 25, 2023
8b35582
switched to static final in start
saumyapandyaa Oct 25, 2023
14bf1b8
fixed syntax after changing to static
saumyapandyaa Oct 25, 2023
aa0fece
changed prefix to uppercase
saumyapandyaa Oct 25, 2023
ed304a5
changed to static + changed case
saumyapandyaa Oct 25, 2023
e495483
testing valid name for static var
saumyapandyaa Oct 25, 2023
0ba95b6
convert to camel case
saumyapandyaa Oct 25, 2023
cc12654
convert to camel case
saumyapandyaa Oct 25, 2023
cbbaa2b
constructor -> static
saumyapandyaa Oct 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion finish/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- tag::simple-config[] -->
<cors domain="/configurations/simple"
allowedOrigins="openliberty.io"
allowedOrigins="http://openliberty.io"
allowedMethods="GET"
allowCredentials="true"
exposeHeaders="MyHeader"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public class TestData {
public static Map<String, String> preflightResponseHeaders = new HashMap<String, String>();

static {
simpleRequestHeaders.put(REQUEST_HEADER_ORIGIN, "openliberty.io");
simpleRequestHeaders.put(REQUEST_HEADER_ORIGIN, "http://openliberty.io");

simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, "openliberty.io");
simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, "http://openliberty.io");
simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS, "true");
simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS, "MyHeader");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public class TestData {
public static Map<String, String> preflightResponseHeaders = new HashMap<String, String>();

static {
simpleRequestHeaders.put(REQUEST_HEADER_ORIGIN, "openliberty.io");
simpleRequestHeaders.put(REQUEST_HEADER_ORIGIN, "http://openliberty.io");

simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, "openliberty.io");
simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, "http://openliberty.io");
simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS, "true");
simpleResponseHeaders.put(RESPONSE_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS, "MyHeader");

Expand Down
Loading