Class InternalProjectInitializer
java.lang.Object
com.linecorp.centraldogma.server.storage.project.InternalProjectInitializer
Initializes the internal project and repositories.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInternalProjectInitializer
(CommandExecutor executor, ProjectManager projectManager) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates an internal project and repositories and a token storage todogma/dogma/tokens.json
.void
initialize
(String projectName) Creates the specified internal project and its internal repositories.void
initialize0
(String projectName) Creates an internal project and repositories such as a token storage.Returns aCompletableFuture
which is completed when the internal project and repositories are ready.
-
Field Details
-
INTERNAL_PROJECT_DOGMA
- See Also:
-
-
Constructor Details
-
InternalProjectInitializer
Creates a new instance.
-
-
Method Details
-
initialize
public void initialize()Creates an internal project and repositories and a token storage todogma/dogma/tokens.json
. -
initialize
Creates the specified internal project and its internal repositories. -
initialize0
Creates an internal project and repositories such as a token storage. -
whenInitialized
Returns aCompletableFuture
which is completed when the internal project and repositories are ready.
-