Skip to content

Commit

Permalink
fix: app hub access as simple proxy service [DHIS2-15867] (2.40) (#15827
Browse files Browse the repository at this point in the history
)

* fix: app hub access as simple proxy service [DHIS2-15867] (#15214)

* fix: compile error
  • Loading branch information
jbee authored Dec 4, 2023
1 parent f3853d5 commit 9195ec7
Show file tree
Hide file tree
Showing 14 changed files with 133 additions and 767 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import java.util.Collection;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;
import org.springframework.core.io.Resource;

Expand Down Expand Up @@ -151,10 +152,18 @@ public interface AppManager {
*
* @param file the app file.
* @param fileName the name of the app file.
* @throws IOException if the app manifest file could not be read.
* @return outcome of the installation
*/
AppStatus installApp(File file, String fileName);

/**
* Installs an app from the AppHub with the given ID.
*
* @param appHubId A unqiue ID for a specific app version
* @return outcome of the installation
*/
AppStatus installApp(UUID appHubId);

/**
* Indicates whether the app with the given name exist.
*
Expand Down
5 changes: 1 addition & 4 deletions dhis-2/dhis-services/dhis-service-administration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,12 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9195ec7

Please sign in to comment.