Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
ed0ebb6d
Unverified
Commit
ed0ebb6d
authored
Apr 12, 2024
by
schott89
Committed by
GitHub
Apr 12, 2024
Browse files
Add name attribute to overide params (#1108)
Co-authored-by:
to5671sc
<
tom.schott@fh-erfurt.de
>
parent
5c891fe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/ImportExportApi.java
View file @
ed0ebb6d
...
...
@@ -239,7 +239,8 @@ public class ImportExportApi extends AbstractApi {
.
withParam
(
"packages_enabled"
,
overrideParams
.
getPackagesEnabled
())
.
withParam
(
"build_git_strategy"
,
overrideParams
.
getBuildGitStrategy
())
.
withParam
(
"build_coverage_regex"
,
overrideParams
.
getBuildCoverageRegex
())
.
withParam
(
"squash_option"
,
overrideParams
.
getSquashOption
());
.
withParam
(
"squash_option"
,
overrideParams
.
getSquashOption
())
.
withParam
(
"name"
,
overrideParams
.
getName
());
}
Response
response
=
upload
(
Response
.
Status
.
CREATED
,
"file"
,
exportFile
,
null
,
formData
,
url
);
...
...
@@ -251,7 +252,7 @@ public class ImportExportApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/import</code></pre>
*
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @return an ImportStatus instance holding information on the import status
* @throws GitLabApiException if any exception occurs
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment