diff options
author | Branden Phillips | 2019-08-06 18:45:20 +0000 |
---|---|---|
committer | David W. Miller | 2019-08-21 20:31:27 +0000 |
commit | 1803e003d5b5fe818a9b56b5b186634ef1c324c9 (patch) | |
tree | ecff8c38bd5f7dc21fb93502336e69427b84ab61 | |
parent | 0d67037317245d28ec3643095d84f8aea0e1284e (diff) | |
download | org.eclipse.osee-1803e003d5b5fe818a9b56b5b186634ef1c324c9.tar.gz org.eclipse.osee-1803e003d5b5fe818a9b56b5b186634ef1c324c9.tar.xz org.eclipse.osee-1803e003d5b5fe818a9b56b5b186634ef1c324c9.zip |
feature: Change import rest calls to individual branch and settings
Change-Id: Icb883f9928c55e35f3cea735f47d8a963f9dd0cf
Signed-off-by: Branden Phillips <branden.w.phillips@boeing.com>
4 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportEndpoint.java b/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportEndpoint.java index 810f430c17a..19effbdc38b 100644 --- a/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportEndpoint.java +++ b/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportEndpoint.java @@ -38,5 +38,5 @@ public interface ImportEndpoint { @Path("{branch}/all") @Consumes(MediaType.TEXT_PLAIN) @Produces(MediaType.APPLICATION_JSON) - XResultData importSetup(@PathParam("branch") BranchId branch, @QueryParam("baseDir") String baseDir); + XResultData importSetup(@PathParam("branch") BranchId branch, @QueryParam("baseDir") String baseDir, @QueryParam("startBranch") Integer startBranch, @QueryParam("handleRelations") boolean handleRelations, @QueryParam("singleBranch") boolean singleBranch); }
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportOperations.java b/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportOperations.java index e252318306d..206cecae7eb 100644 --- a/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportOperations.java +++ b/plugins/org.eclipse.osee.define.api/src/org/eclipse/osee/define/api/ImportOperations.java @@ -21,6 +21,6 @@ public interface ImportOperations { public XResultData importWord(BranchId branch, String wordURI, ArtifactId parent, Integer tier); - public XResultData importSetup(BranchId branch, String baseDir); + public XResultData importSetup(BranchId branch, String baseDir, Integer startBranch, boolean handleRelations, boolean singleBranch); } diff --git a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportEndpointImpl.java b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportEndpointImpl.java index 92670314418..a1674c49330 100644 --- a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportEndpointImpl.java +++ b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportEndpointImpl.java @@ -32,7 +32,7 @@ public class ImportEndpointImpl implements ImportEndpoint { } @Override - public XResultData importSetup(BranchId branch, String baseDir) { - return defineApi.getImportOperations().importSetup(branch, baseDir); + public XResultData importSetup(BranchId branch, String baseDir, Integer startBranch, boolean handleRelations, boolean singleBranch) { + return defineApi.getImportOperations().importSetup(branch, baseDir, startBranch, handleRelations, singleBranch); } }
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportOperationsImpl.java b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportOperationsImpl.java index 8efcdd1dc5d..5f4f8ef5cb3 100644 --- a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportOperationsImpl.java +++ b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/ImportOperationsImpl.java @@ -77,7 +77,7 @@ public class ImportOperationsImpl implements ImportOperations { } @Override - public XResultData importSetup(BranchId branch, String baseDir) { + public XResultData importSetup(BranchId branch, String baseDir, Integer startBranch, boolean handleRelations, boolean singleBranch) { return null; } |