Skip to content

Commit

Permalink
feat: tslib
Browse files Browse the repository at this point in the history
  • Loading branch information
martin.mueller committed Oct 16, 2020
1 parent b4216ee commit 0fe7985
Show file tree
Hide file tree
Showing 9 changed files with 1,827 additions and 0 deletions.
671 changes: 671 additions & 0 deletions tslib/api.d.ts

Large diffs are not rendered by default.

820 changes: 820 additions & 0 deletions tslib/api.js

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions tslib/base.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/**
* The Alfresco Provisioner
* First of all. Thank you for joining the closed alpha. Your feedback will be much welcomed. The Alfresco Provisioner is a managed service to provide Alfresco backends with an awesome experience. For more details please look https://martinmueller.dev/alf-provisioner-eng. As the Alfresco Provisioner is a managed service to provide Alfresco backends it would be very great if you could get a roughly overview about what the Alfresco products are for. In my blog post mentioned above I give you a rough overview about the Alfresco products in the Closed Alpha section. As this is an alpha version, you will find for sure bugs. Please report them back to me under: damadden88@googlemail.com Notice: As this is an early version of the Alfresco Provisioner a lot features are not implemented yet. I decided not to bother much with the complexity of authorization and permission yet. I will add those as a layer. So for now it is possible to alter resources belonging to an other user than you. Please don\'t do that if not agreed and only use your username for instance creation. Anyway the endpoints themself are indeed secured with oauth2 and an implicit grant which is put in the Authorization header. SO USING THE AUTHORIZE POPUP IN THE UI ISN\'T NECESSARY. If you see returning a 401 with the message \"The incoming token has expired\" just refresh the page and a new token will be generated. For cost saving reasons per default the EC2 instance will stop themself after 45 minutes after creation or update. You can start the instance again with using the PUT endpoint. As well you are only allowed to create a maximum of 2 instances per user. Please terminate not used instances with the PUT endpoint and \"expectedStatus\" = \"terminated\". How to start?: Simply explore the provided endpoints in the next section. The endpoints in the tag group named instances are showing your / all existent Alfresco Instanzes. The group tag named instances-conf helps to request alfresco instances or alter them. For a starter you could use the POST Endpoint to request the creation of an Alfresco instanz. Than check your request with the GET endpoints in the instance-conf tag group. If your instance request was granted you will find your instanz in the instances tag group. Please regard that the alfresco url will be available after about 3 minutes as it takes a bit for ACS to boot successfully. After that /share /alfresco and ACA / will be reachable on the url similar looking to iab12.i.alfpro.net . Implemented features: * Start, Stopping and Terminating of Alfresco instances * Accessing ACA, Share and Alfresco Urls (more details look for the url property definition below) * Cost Saving feature for stopping the instances after 45 minutes * Asynchronacl communication with the Alfresco Provisioner server * using the authenticated username as userId for convenience Planned features in near future: * Status endpoint for instance creation progress * Adding an Auto Scaling in front of the ec2 image for autoself healing and a health check if ACS is finished booting and ready * SSL encryption. Currently there is no HTTPS configured with the Proxy in front of each Alfresco instanz provisioned by the Provisioner. So be cautious to not store sensible data! * Email notification. I plan to send an email when your Alfresco Instanz is ready. But for now you need to check the progress on the GET /instances-conf endpoint and the info property. Planned features in more distance future: * Stopping instances after inactivity and not the static 45 minutes. * Potentially Load Balancer in front to drive multiple instances for bigger use cases Again thank you so much for testing the Alfresco Provisioner. Any feedback is much welcomed! Please let me know on damadden88@googlemail.com .
*
* The version of the OpenAPI document: 1.0.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Configuration } from "./configuration";
import { AxiosInstance } from 'axios';
export declare const BASE_PATH: string;
/**
*
* @export
*/
export declare const COLLECTION_FORMATS: {
csv: string;
ssv: string;
tsv: string;
pipes: string;
};
/**
*
* @export
* @interface RequestArgs
*/
export interface RequestArgs {
url: string;
options: any;
}
/**
*
* @export
* @class BaseAPI
*/
export declare class BaseAPI {
protected basePath: string;
protected axios: AxiosInstance;
protected configuration: Configuration | undefined;
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
}
/**
*
* @export
* @class RequiredError
* @extends {Error}
*/
export declare class RequiredError extends Error {
field: string;
name: "RequiredError";
constructor(field: string, msg?: string);
}
62 changes: 62 additions & 0 deletions tslib/base.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0fe7985

Please sign in to comment.