Class CreateRepoSlice

  • All Implemented Interfaces:
    com.artipie.http.Slice

    public final class CreateRepoSlice
    extends Object
    implements com.artipie.http.Slice
    Artifactory create repo API slice, it accepts json and create new docker repository by creating corresponding YAML configuration.
    Since:
    0.1
    • Constructor Detail

      • CreateRepoSlice

        public CreateRepoSlice​(com.artipie.asto.Storage storage,
                               ConfigFiles configfile)
        Ctor.
        Parameters:
        storage - Artipie settings storage
        configfile - Config file to support `yaml` and `.yml` extensions
    • Method Detail

      • response

        public com.artipie.http.Response response​(String line,
                                                  Iterable<Map.Entry<String,​String>> headers,
                                                  org.reactivestreams.Publisher<ByteBuffer> body)
        Specified by:
        response in interface com.artipie.http.Slice