NOTE: THIS EXTENSION IS COMMUNITY-TESTED AND IS NOT PART OF OUR REGULAR RELEASE CYCLE. THIS EXTENSION IS FOR THE LATEST VERSION OF APPRENDA. IF YOU ENCOUNTER AN ISSUE OR REQUIRE A PREVIOUS VERSION, PLEASE LEAVE A COMMENT AND WE'LL ADDRESS IT ASAP.
The following extension provides a simple approval system for promoting applications to the published stage. The application is three-tiered with a UI for managing the applications, a service layer to handle the business logic and implement the extension hook points, and a database to store the data.
Implementing the Extension
Note: The UI for this application uses the MVC 3 Framework. You will need to have it installed in your development workstation.
- Download the Visual Studio Solution for the extension.
- Open the solution.
- Compile the solution.
- Prepare an Archive manually or using the Apprenda Archive Builder.
- Create a new Application in Apprenda (no Apprenda services selected).
- Upload the Archive.
- Promote the Application.
- Access the SOC for your Apprenda Instance.
- Go to the Platform Registry and add the following settings:
- Setting Name: @DeveloperPortalExtServices
- Setting Value for all three settings: {alias of your application}/ApprovalService
Note: if your extension application is not in the Published stage, you will have to append the version alias (v1,v2, etc).
The extension service will automatically get deployed when a request is detected or when the application is launched.
Using the Extension
The extension provides a UI that allows you to manage the applications (create a record, edit, delete and approve or not). In order to block an application from being published, simply add the alias and do not mark it as approved.
NOTE: This extension will return as approved any application that has not been explicitely set as blocked. If an app is being published and a record of it does not exist in the extension it will be approved by default.
Downloading the Extension
To download the Visual Studio Solution for this extension, click on the link below.
Comments