This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from kml27/migrate-package
Migrating to unique namespace(s), classes jar
- Loading branch information
Showing
19 changed files
with
74 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
docker build --tag hapiproject/hapi:latest --tag hapiproject/hapi:4.1 -m 4g . | ||
docker build --tag uwcirg/hapi-fhir-oauth2-starter:latest -m 4g . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../fhir/jpa/starter/ApplicationContext.java → .../fhir/jpa/starter/ApplicationContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ir/jpa/starter/FhirServerConfigDstu2.java → ...ir/jpa/starter/FhirServerConfigDstu2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ir/jpa/starter/FhirServerConfigDstu3.java → ...ir/jpa/starter/FhirServerConfigDstu3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../fhir/jpa/starter/FhirServerConfigR4.java → .../fhir/jpa/starter/FhirServerConfigR4.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../fhir/jpa/starter/FhirServerConfigR5.java → .../fhir/jpa/starter/FhirServerConfigR5.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hn/fhir/jpa/starter/FhirTesterConfig.java → ...rg/fhir/jpa/starter/FhirTesterConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../uhn/fhir/jpa/starter/HapiProperties.java → ...cirg/fhir/jpa/starter/HapiProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hn/fhir/jpa/starter/JpaRestfulServer.java → ...rg/fhir/jpa/starter/JpaRestfulServer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...hir/jpa/starter/ExampleServerDstu2IT.java → ...hir/jpa/starter/ExampleServerDstu2IT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 35 additions & 35 deletions
70
...jpa/starter/RandomServerPortProvider.java → ...jpa/starter/RandomServerPortProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
package ca.uhn.fhir.jpa.starter; | ||
|
||
import java.io.IOException; | ||
import java.net.ServerSocket; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
/** | ||
* Provides server ports | ||
*/ | ||
public class RandomServerPortProvider { | ||
|
||
private static List<Integer> ourPorts = new ArrayList<Integer>(); | ||
|
||
public static int findFreePort() { | ||
ServerSocket server; | ||
try { | ||
server = new ServerSocket(0); | ||
int port = server.getLocalPort(); | ||
ourPorts.add(port); | ||
server.close(); | ||
Thread.sleep(500); | ||
return port; | ||
} catch (IOException e) { | ||
throw new Error(e); | ||
} catch (InterruptedException e) { | ||
throw new Error(e); | ||
} | ||
} | ||
|
||
public static List<Integer> list() { | ||
return ourPorts; | ||
} | ||
|
||
} | ||
package edu.washington.cirg.fhir.jpa.starter; | ||
|
||
import java.io.IOException; | ||
import java.net.ServerSocket; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
/** | ||
* Provides server ports | ||
*/ | ||
public class RandomServerPortProvider { | ||
|
||
private static List<Integer> ourPorts = new ArrayList<Integer>(); | ||
|
||
public static int findFreePort() { | ||
ServerSocket server; | ||
try { | ||
server = new ServerSocket(0); | ||
int port = server.getLocalPort(); | ||
ourPorts.add(port); | ||
server.close(); | ||
Thread.sleep(500); | ||
return port; | ||
} catch (IOException e) { | ||
throw new Error(e); | ||
} catch (InterruptedException e) { | ||
throw new Error(e); | ||
} | ||
} | ||
|
||
public static List<Integer> list() { | ||
return ourPorts; | ||
} | ||
|
||
} | ||
|
2 changes: 1 addition & 1 deletion
2
...hir/jpa/starter/SocketImplementation.java → ...hir/jpa/starter/SocketImplementation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters