forked from apache/nifi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NIFI-12898 Follow on updates from initial implementation
- Remove AssetRequestReplicator and use existing UploadRequestReplicator - Remove AssetManagerFactoryBean and expose AssetManager from Java based Spring config - Switch multi-part form upload to direct octect-stream upload - Adding CLI commands creating and referencing assets - Add REST end-point for listing assets in a given param context - Fix param context update merger - Add REST end-point for retrieving content of an asset
- Loading branch information
Showing
36 changed files
with
911 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
nifi-framework-api/src/main/java/org/apache/nifi/asset/AssetRequestReplicator.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
...ework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/AssetUploadEntity.java
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
...-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/AssetsEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.nifi.web.api.entity; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.xml.bind.annotation.XmlRootElement; | ||
|
||
import java.util.Collection; | ||
|
||
@XmlRootElement(name = "assetEntity") | ||
public class AssetsEntity extends Entity { | ||
|
||
private Collection<AssetEntity> assets; | ||
|
||
@Schema(description = "The asset entities") | ||
public Collection<AssetEntity> getAssets() { | ||
return assets; | ||
} | ||
|
||
public void setAssets(final Collection<AssetEntity> assets) { | ||
this.assets = assets; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.