Index

A B C D E G H J L M N P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AssetPath - Class in com.artipie.npm.proxy.http
Asset path helper.
AssetPath(String) - Constructor for class com.artipie.npm.proxy.http.AssetPath
Ctor.

B

ByJson(JsonObject) - Constructor for class com.artipie.npm.MetaUpdate.ByJson
Ctor.
bytes() - Method in class com.artipie.npm.TgzArchive
Obtain an archive in form of byte array.
ByTgz(TgzArchive) - Constructor for class com.artipie.npm.MetaUpdate.ByTgz
Ctor.

C

CachedContent - Class in com.artipie.npm.proxy.json
Cached package content representation.
CachedContent(String, String) - Constructor for class com.artipie.npm.proxy.json.CachedContent
Ctor.
CircuitBreakerNpmRemote - Class in com.artipie.npm.proxy
Decorate a NpmRemote with a CircuitBreaker.
CircuitBreakerNpmRemote(NpmRemote, CircuitBreaker) - Constructor for class com.artipie.npm.proxy.CircuitBreakerNpmRemote
Ctor.
ClientContent - Class in com.artipie.npm.proxy.json
Client package content representation.
ClientContent(String, String) - Constructor for class com.artipie.npm.proxy.json.ClientContent
Ctor.
CliPublish - Class in com.artipie.npm.http
The NPM publish front.
CliPublish(Storage) - Constructor for class com.artipie.npm.http.CliPublish
Constructor.
close() - Method in class com.artipie.npm.proxy.CircuitBreakerNpmRemote
 
close() - Method in class com.artipie.npm.proxy.HttpNpmRemote
 
close() - Method in class com.artipie.npm.proxy.NpmProxy
Close NPM Proxy adapter and underlying remote client.
com.artipie.npm - package com.artipie.npm
Npm files.
com.artipie.npm.events - package com.artipie.npm.events
Repository events processing.
com.artipie.npm.http - package com.artipie.npm.http
Misc.
com.artipie.npm.misc - package com.artipie.npm.misc
Misc.
com.artipie.npm.proxy - package com.artipie.npm.proxy
NPM Proxy files.
com.artipie.npm.proxy.http - package com.artipie.npm.proxy.http
NPM Proxy HTTP files.
com.artipie.npm.proxy.json - package com.artipie.npm.proxy.json
NPM Proxy JSON transformers.
com.artipie.npm.proxy.model - package com.artipie.npm.proxy.model
NPM Proxy models.
content() - Method in class com.artipie.npm.proxy.model.NpmPackage
Get package JSON.
contentType() - Method in class com.artipie.npm.proxy.model.NpmAsset.Metadata
Get original content type.

D

dataPublisher() - Method in class com.artipie.npm.proxy.model.NpmAsset
Get reactive data publisher.
DateTimeNowStr - Class in com.artipie.npm.misc
Provides current date and time.
DateTimeNowStr() - Constructor for class com.artipie.npm.misc.DateTimeNowStr
Ctor.
DeleteDistTagsSlice - Class in com.artipie.npm.http
Slice that removes dist-tag to meta.json.
DeleteDistTagsSlice(Storage) - Constructor for class com.artipie.npm.http.DeleteDistTagsSlice
Ctor.
DeprecateSlice - Class in com.artipie.npm.http
Slice to handle `npm deprecate` command requests.
DeprecateSlice(Storage) - Constructor for class com.artipie.npm.http.DeprecateSlice
Ctor.
DescSortedVersions - Class in com.artipie.npm.misc
DescSortedVersions.
DescSortedVersions(JsonObject) - Constructor for class com.artipie.npm.misc.DescSortedVersions
Ctor.
DownloadAssetSlice - Class in com.artipie.npm.proxy.http
HTTP slice for download asset requests.
DownloadAssetSlice(NpmProxy, AssetPath, Optional<Queue<ProxyArtifactEvent>>, String) - Constructor for class com.artipie.npm.proxy.http.DownloadAssetSlice
Ctor.
DownloadPackageSlice - Class in com.artipie.npm.http
Download package endpoint.
DownloadPackageSlice - Class in com.artipie.npm.proxy.http
HTTP slice for download package requests.
DownloadPackageSlice(NpmProxy, PackagePath) - Constructor for class com.artipie.npm.proxy.http.DownloadPackageSlice
Ctor.
DownloadPackageSlice(URL, Storage) - Constructor for class com.artipie.npm.http.DownloadPackageSlice
Ctor.

E

execute(JobExecutionContext) - Method in class com.artipie.npm.events.NpmProxyPackageProcessor
 

G

getAsset(String) - Method in class com.artipie.npm.proxy.NpmProxy
Retrieve asset.
getAsset(String) - Method in interface com.artipie.npm.proxy.NpmProxyStorage
Retrieve NPM asset by path.
getAsset(String) - Method in class com.artipie.npm.proxy.RxNpmProxyStorage
 
GetDistTagsSlice - Class in com.artipie.npm.http
Returns value of the `dist-tags` field from package `meta.json`.
GetDistTagsSlice(Storage) - Constructor for class com.artipie.npm.http.GetDistTagsSlice
Ctor.
getPackage(String) - Method in class com.artipie.npm.proxy.NpmProxy
Retrieve package metadata.
getPackage(String) - Method in interface com.artipie.npm.proxy.NpmProxyStorage
Retrieve NPM package by name.
getPackage(String) - Method in class com.artipie.npm.proxy.RxNpmProxyStorage
 

H

HEADER - Static variable in class com.artipie.npm.http.CliPublish
Pattern for `referer` header value.
HttpNpmRemote - Class in com.artipie.npm.proxy
Base NPM Remote client implementation.
HttpNpmRemote(Slice) - Constructor for class com.artipie.npm.proxy.HttpNpmRemote
Ctor.

J

json() - Method in class com.artipie.npm.misc.JsonFromPublisher
Gets json from publisher.
json() - Method in class com.artipie.npm.proxy.model.NpmAsset.Metadata
Get JSON representation of metadata.
json() - Method in class com.artipie.npm.proxy.model.NpmPackage.Metadata
Get JSON representation of metadata.
json() - Method in class com.artipie.npm.TgzArchive.JsonFromStream
Read json from tgz input stream.
JsonFromPublisher - Class in com.artipie.npm.misc
JsonFromPublisher.
JsonFromPublisher(Publisher<ByteBuffer>) - Constructor for class com.artipie.npm.misc.JsonFromPublisher
Ctor.
JsonFromStream(InputStream) - Constructor for class com.artipie.npm.TgzArchive.JsonFromStream
Ctor.
jsonRx() - Method in class com.artipie.npm.misc.JsonFromPublisher
Gets json from publisher.

L

lastModified() - Method in class com.artipie.npm.proxy.model.NpmAsset.Metadata
Get last modified date.
lastModified() - Method in class com.artipie.npm.proxy.model.NpmPackage.Metadata
Get last modified date.
lastRefreshed() - Method in class com.artipie.npm.proxy.model.NpmPackage.Metadata
Get last refreshed date.
loadAsset(String, Path) - Method in class com.artipie.npm.proxy.CircuitBreakerNpmRemote
 
loadAsset(String, Path) - Method in class com.artipie.npm.proxy.HttpNpmRemote
 
loadAsset(String, Path) - Method in interface com.artipie.npm.proxy.NpmRemote
Loads asset from remote repository.
loadPackage(String) - Method in class com.artipie.npm.proxy.CircuitBreakerNpmRemote
 
loadPackage(String) - Method in class com.artipie.npm.proxy.HttpNpmRemote
 
loadPackage(String) - Method in interface com.artipie.npm.proxy.NpmRemote
Loads package from remote repository.

M

meta() - Method in class com.artipie.npm.proxy.model.NpmAsset
Get asset metadata.
meta() - Method in class com.artipie.npm.proxy.model.NpmPackage
Get package metadata.
Metadata(JsonObject) - Constructor for class com.artipie.npm.proxy.model.NpmAsset.Metadata
Ctor.
Metadata(JsonObject) - Constructor for class com.artipie.npm.proxy.model.NpmPackage.Metadata
Ctor.
MetaUpdate - Interface in com.artipie.npm
Updating `meta.json` file.
MetaUpdate.ByJson - Class in com.artipie.npm
Update `meta.json` by adding information from the uploaded json.
MetaUpdate.ByTgz - Class in com.artipie.npm
Update `meta.json` by adding information from the package file from uploaded archive.

N

name() - Method in class com.artipie.npm.proxy.model.NpmPackage
Get package name.
NextSafeAvailablePort - Class in com.artipie.npm.misc
NextSafeAvailablePort.
NextSafeAvailablePort() - Constructor for class com.artipie.npm.misc.NextSafeAvailablePort
Ctor.
NextSafeAvailablePort(int) - Constructor for class com.artipie.npm.misc.NextSafeAvailablePort
Ctor.
Npm - Class in com.artipie.npm
Deprecated.
Use Publish implementations from `http` package.
Npm(Storage) - Constructor for class com.artipie.npm.Npm
Deprecated.
Constructor.
Npm(Storage, Optional<String>) - Constructor for class com.artipie.npm.Npm
Deprecated.
Use Npm(Storage) instead
NpmAsset - Class in com.artipie.npm.proxy.model
NPM Asset.
NpmAsset(String, Publisher<ByteBuffer>, NpmAsset.Metadata) - Constructor for class com.artipie.npm.proxy.model.NpmAsset
Ctor.
NpmAsset(String, Publisher<ByteBuffer>, String, String) - Constructor for class com.artipie.npm.proxy.model.NpmAsset
Ctor.
NpmAsset.Metadata - Class in com.artipie.npm.proxy.model
NPM asset metadata.
NpmPackage - Class in com.artipie.npm.proxy.model
NPM Package.
NpmPackage(String, String, NpmPackage.Metadata) - Constructor for class com.artipie.npm.proxy.model.NpmPackage
Ctor.
NpmPackage(String, String, String, OffsetDateTime) - Constructor for class com.artipie.npm.proxy.model.NpmPackage
Ctor.
NpmPackage.Metadata - Class in com.artipie.npm.proxy.model
NPM Package metadata.
NpmPath - Class in com.artipie.npm.proxy.http
Base path helper class NPM Proxy.
NpmPath(String) - Constructor for class com.artipie.npm.proxy.http.NpmPath
Ctor.
NpmProxy - Class in com.artipie.npm.proxy
NPM Proxy.
NpmProxy(Storage, Slice) - Constructor for class com.artipie.npm.proxy.NpmProxy
Ctor.
NpmProxy(URI, Storage, ClientSlices) - Constructor for class com.artipie.npm.proxy.NpmProxy
Ctor.
NpmProxyPackageProcessor - Class in com.artipie.npm.events
We can assume that repository actually contains some package, if:
1) tgz archive is valid and we obtained package id and version from it
2) repository has corresponding package json metadata file with such version and path to tgz
When both conditions a met, we can add package record into database.
NpmProxyPackageProcessor() - Constructor for class com.artipie.npm.events.NpmProxyPackageProcessor
 
NpmProxySlice - Class in com.artipie.npm.proxy.http
Main HTTP slice NPM Proxy adapter.
NpmProxySlice(String, NpmProxy, Optional<Queue<ProxyArtifactEvent>>) - Constructor for class com.artipie.npm.proxy.http.NpmProxySlice
Ctor.
NpmProxyStorage - Interface in com.artipie.npm.proxy
NPM Proxy storage interface.
NpmRemote - Interface in com.artipie.npm.proxy
NPM Remote client interface.
NpmSlice - Class in com.artipie.npm.http
NpmSlice is a http layer in npm adapter.
NpmSlice(URL, Storage) - Constructor for class com.artipie.npm.http.NpmSlice
Ctor with existing front and default parameters for free access.
NpmSlice(URL, Storage, Policy<?>, TokenAuthentication, String, Optional<Queue<ArtifactEvent>>) - Constructor for class com.artipie.npm.http.NpmSlice
Ctor.
NpmSlice(URL, Storage, Queue<ArtifactEvent>) - Constructor for class com.artipie.npm.http.NpmSlice
Ctor with existing front and default parameters for free access.

P

PackageInfo(String, String, long) - Constructor for class com.artipie.npm.Publish.PackageInfo
Ctor.
packageJson() - Method in class com.artipie.npm.TgzArchive
Obtains package.json from archive.
packageName() - Method in class com.artipie.npm.Publish.PackageInfo
Package name (unique id).
PackageNameFromUrl - Class in com.artipie.npm
Get package name (can be scoped) from request url.
PackageNameFromUrl(String) - Constructor for class com.artipie.npm.PackageNameFromUrl
Ctor.
PackagePath - Class in com.artipie.npm.proxy.http
Package path helper.
PackagePath(String) - Constructor for class com.artipie.npm.proxy.http.PackagePath
Ctor.
packageVersion() - Method in class com.artipie.npm.Publish.PackageInfo
Package version.
path() - Method in class com.artipie.npm.proxy.model.NpmAsset
Return asset path.
pattern() - Method in class com.artipie.npm.proxy.http.AssetPath
 
pattern() - Method in class com.artipie.npm.proxy.http.NpmPath
Gets pattern to match handled paths.
pattern() - Method in class com.artipie.npm.proxy.http.PackagePath
 
prefix() - Method in class com.artipie.npm.proxy.http.NpmPath
Gets base path prefix.
publish(Key, Key) - Method in class com.artipie.npm.http.CliPublish
 
publish(Key, Key) - Method in class com.artipie.npm.Npm
Deprecated.
Publish file.
publish(Key, Key) - Method in interface com.artipie.npm.Publish
Publish a new version of a npm package.
Publish - Interface in com.artipie.npm
The NPM publish front.
Publish.PackageInfo - Class in com.artipie.npm
Package info.
publishWithInfo(Key, Key) - Method in class com.artipie.npm.http.CliPublish
 
publishWithInfo(Key, Key) - Method in interface com.artipie.npm.Publish
Publish a new version of a npm package and returned published package info.

R

relative() - Method in class com.artipie.npm.TgzRelativePath
Extract the relative path.
relative(boolean) - Method in class com.artipie.npm.TgzRelativePath
Extract the relative path.
ReplacePathSlice - Class in com.artipie.npm.http
Slice handles routing paths.
ReplacePathSlice(String, Slice) - Constructor for class com.artipie.npm.http.ReplacePathSlice
Ctor.
REPO_TYPE - Static variable in class com.artipie.npm.http.UploadSlice
Repository type.
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.DeleteDistTagsSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.DeprecateSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.DownloadPackageSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.GetDistTagsSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.NpmSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.ReplacePathSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.http.UploadSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.proxy.http.DownloadAssetSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.proxy.http.DownloadPackageSlice
 
response(String, Iterable<Map.Entry<String, String>>, Publisher<ByteBuffer>) - Method in class com.artipie.npm.proxy.http.NpmProxySlice
 
RsNotFound - Class in com.artipie.npm.proxy.http
Standard HTTP 404 response for NPM adapter.
RsNotFound() - Constructor for class com.artipie.npm.proxy.http.RsNotFound
 
RxNpmProxyStorage - Class in com.artipie.npm.proxy
Base NPM Proxy storage implementation.
RxNpmProxyStorage(RxStorage) - Constructor for class com.artipie.npm.proxy.RxNpmProxyStorage
Ctor.

S

save(NpmAsset) - Method in interface com.artipie.npm.proxy.NpmProxyStorage
Persist NPM Asset.
save(NpmAsset) - Method in class com.artipie.npm.proxy.RxNpmProxyStorage
 
save(NpmPackage) - Method in interface com.artipie.npm.proxy.NpmProxyStorage
Persist NPM Package.
save(NpmPackage) - Method in class com.artipie.npm.proxy.RxNpmProxyStorage
 
saveToFile(Path) - Method in class com.artipie.npm.TgzArchive
Save the archive to a file.
send(Connection) - Method in class com.artipie.npm.proxy.http.RsNotFound
 
setEvents(Queue<ArtifactEvent>) - Method in class com.artipie.npm.events.NpmProxyPackageProcessor
Setter for events queue.
setHost(String) - Method in class com.artipie.npm.events.NpmProxyPackageProcessor
Set repository host.
setPackages(Queue<ProxyArtifactEvent>) - Method in class com.artipie.npm.events.NpmProxyPackageProcessor
Packages queue setter.
setStorage(Storage) - Method in class com.artipie.npm.events.NpmProxyPackageProcessor
Repository storage setter.

T

Tarballs - Class in com.artipie.npm
Prepends all tarball references in the package metadata json with the prefix to build absolute URL: /@scope/package-name -> http://host:port/base-path/@scope/package-name.
Tarballs(Content, URL) - Constructor for class com.artipie.npm.Tarballs
Ctor.
tarSize() - Method in class com.artipie.npm.Publish.PackageInfo
Package tar archive size.
TgzArchive - Class in com.artipie.npm
A .tgz archive.
TgzArchive(String) - Constructor for class com.artipie.npm.TgzArchive
Ctor.
TgzArchive(String, boolean) - Constructor for class com.artipie.npm.TgzArchive
Ctor.
TgzArchive.JsonFromStream - Class in com.artipie.npm
Json input stream.
TgzRelativePath - Class in com.artipie.npm
The relative path of a .tgz uploaded archive.
TgzRelativePath(String) - Constructor for class com.artipie.npm.TgzRelativePath
Ctor.
TransformedContent - Class in com.artipie.npm.proxy.json
Abstract package content representation that supports JSON transformation.
TransformedContent(String) - Constructor for class com.artipie.npm.proxy.json.TransformedContent
Ctor.

U

update(Key, Storage) - Method in class com.artipie.npm.MetaUpdate.ByJson
 
update(Key, Storage) - Method in class com.artipie.npm.MetaUpdate.ByTgz
 
update(Key, Storage) - Method in interface com.artipie.npm.MetaUpdate
Update `meta.json` file by the specified prefix.
updateMetaFile(Key, TgzArchive) - Method in class com.artipie.npm.Npm
Deprecated.
Updates the meta.json file based on tgz package file.
UploadSlice - Class in com.artipie.npm.http
UploadSlice.
UploadSlice(Publish, Storage, Optional<Queue<ArtifactEvent>>, String) - Constructor for class com.artipie.npm.http.UploadSlice
Ctor.

V

value() - Method in class com.artipie.npm.misc.DateTimeNowStr
Current date and time.
value() - Method in class com.artipie.npm.misc.DescSortedVersions
Get desc sorted versions.
value() - Method in class com.artipie.npm.misc.NextSafeAvailablePort
Gets the next available port starting at a port.
value() - Method in class com.artipie.npm.PackageNameFromUrl
Gets package name from url.
value() - Method in class com.artipie.npm.proxy.json.TransformedContent
Returns transformed package content as String.
value() - Method in class com.artipie.npm.Tarballs
Return modified content with prepended URLs.
value(String) - Method in class com.artipie.npm.proxy.http.NpmPath
Gets relative path from absolute.
A B C D E G H J L M N P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values