private String tags;
private long createdAt;
private long updatedAt;
+ private String initialPermSync;
public long getCreatedAt() {
return createdAt;
this.qualifier = qualifier;
return this;
}
+
+ public String getInitialPermSync() {
+ return initialPermSync;
+ }
+
+ public ProjectDto setInitialPermSync(@Nullable String initialPermSync) {
+ this.initialPermSync = initialPermSync;
+ return this;
+ }
}
p.tags as tagsString,
p.private as isPrivate,
p.created_at as createdAt,
- p.updated_at as updatedAt
+ p.updated_at as updatedAt,
+ p.initial_perm_sync as initialPermSync
</sql>
<select id="selectAllProjectUuids" resultType="String">
private,
tags,
created_at,
- updated_at
+ updated_at,
+ initial_perm_sync
)
VALUES (
#{kee,jdbcType=VARCHAR},
#{isPrivate,jdbcType=BOOLEAN},
#{tagsString, jdbcType=VARCHAR},
#{createdAt,jdbcType=BIGINT},
- #{updatedAt,jdbcType=BIGINT}
+ #{updatedAt,jdbcType=BIGINT},
+ #{initialPermSync,jdbcType=VARCHAR}
)
</insert>
.setName("Java Markdown")
.setDescription("Java Markdown Project")
.setQualifier(Qualifiers.PROJECT),
- p -> p.setTagsString("language, plugin"));
+ p -> p.setTagsString("language, plugin")
+ .setInitialPermSync("FINISHED"));
ComponentDto mainBranch = projectData.getMainBranchComponent();
userSession.addProjectPermission(USER, projectData.getProjectDto())
.registerBranches(projectData.getMainBranchDto());
.setQualifier(project.getQualifier());
ofNullable(emptyToNull(project.getDescription())).ifPresent(wsComponent::setDescription);
+ ofNullable(emptyToNull(project.getInitialPermSync())).ifPresent(wsComponent::setInitialPermSync);
ofNullable(lastAnalysis).ifPresent(
analysis -> {
wsComponent.setAnalysisDate(formatDateTime(analysis.getCreatedAt()));
"language",
"plugin"
],
- "visibility": "private"
+ "visibility": "private",
+ "initialPermSync": "FINISHED"
}
]
}
optional string version = 19;
optional string pullRequest = 20;
optional bool needIssueSync = 21;
+ optional string initialPermSync = 22;
message Tags {
repeated string tags = 1;