Commit 40fa8e85 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

removed app-enablement js packages

parent 6a371803
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
{
  "plugins": [
    ["babel-plugin-transform-builtin-extend", {
      "globals": ["Error", "Array"]
    }]
  ],
  "presets": ["env", "stage-0"]
}
+0 −23
Original line number Diff line number Diff line
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
+0 −1
Original line number Diff line number Diff line
3.0.22
 No newline at end of file
+0 −7
Original line number Diff line number Diff line
language: node_js
node_js:
  - "6"
  - "6.1"
  - "5"
  - "5.11"
+0 −167
Original line number Diff line number Diff line
# advant_edge_mec_application_support_api

AdvantEdgeMecApplicationSupportApi - JavaScript client for advant_edge_mec_application_support_api
MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about applications in the network <p>**Note**<br>AdvantEDGE supports a selected subset of Application Support API endpoints (see below).
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 2.1.1
- Package version: 2.1.1
- Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

To publish the library as a [npm](https://www.npmjs.com/),
please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).

Then install it via:

```shell
npm install advant_edge_mec_application_support_api --save
```

##### Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing 
into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:

```shell
npm install
```

Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:

```shell
npm link
```

Finally, switch to the directory you want to use your advant_edge_mec_application_support_api from, and run:

```shell
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
```

You should now be able to `require('advant_edge_mec_application_support_api')` in javascript files from the directory you ran the last 
command above from.

#### git
#
If the library is hosted at a git repository, e.g.
https://github.com/GIT_USER_ID/GIT_REPO_ID
then install it via:

```shell
    npm install GIT_USER_ID/GIT_REPO_ID --save
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
the above steps with Node.js and installing browserify with `npm install -g browserify`,
perform the following (assuming *main.js* is your entry file, that's to say your javascript file where you actually 
use this library):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

### Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error:
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
the following section to your webpack config:

```javascript
module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
var AdvantEdgeMecApplicationSupportApi = require('advant_edge_mec_application_support_api');

var api = new AdvantEdgeMecApplicationSupportApi.MecAppSupportApi()

var body = new AdvantEdgeMecApplicationSupportApi.AppReadyConfirmation(); // {AppReadyConfirmation} 

var appInstanceId = "appInstanceId_example"; // {String} Represents a MEC application instance. Note that the appInstanceId is allocated by the MEC platform manager.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.applicationsConfirmReadyPOST(body, appInstanceId, callback);

```

## Documentation for API Endpoints

All URIs are relative to *https://localhost/sandboxname/mec_app_support/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**applicationsConfirmReadyPOST**](docs/MecAppSupportApi.md#applicationsConfirmReadyPOST) | **POST** /applications/{appInstanceId}/confirm_ready | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**applicationsConfirmTerminationPOST**](docs/MecAppSupportApi.md#applicationsConfirmTerminationPOST) | **POST** /applications/{appInstanceId}/confirm_termination | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**applicationsSubscriptionDELETE**](docs/MecAppSupportApi.md#applicationsSubscriptionDELETE) | **DELETE** /applications/{appInstanceId}/subscriptions/{subscriptionId} | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**applicationsSubscriptionGET**](docs/MecAppSupportApi.md#applicationsSubscriptionGET) | **GET** /applications/{appInstanceId}/subscriptions/{subscriptionId} | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**applicationsSubscriptionsGET**](docs/MecAppSupportApi.md#applicationsSubscriptionsGET) | **GET** /applications/{appInstanceId}/subscriptions | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**applicationsSubscriptionsPOST**](docs/MecAppSupportApi.md#applicationsSubscriptionsPOST) | **POST** /applications/{appInstanceId}/subscriptions | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**timingCapsGET**](docs/MecAppSupportApi.md#timingCapsGET) | **GET** /timing/timing_caps | 
*AdvantEdgeMecApplicationSupportApi.MecAppSupportApi* | [**timingCurrentTimeGET**](docs/MecAppSupportApi.md#timingCurrentTimeGET) | **GET** /timing/current_time | 
*AdvantEdgeMecApplicationSupportApi.UnsupportedApi* | [**applicationsDnsRuleGET**](docs/UnsupportedApi.md#applicationsDnsRuleGET) | **GET** /applications/{appInstanceId}/dns_rules/{dnsRuleId} | 
*AdvantEdgeMecApplicationSupportApi.UnsupportedApi* | [**applicationsDnsRulePUT**](docs/UnsupportedApi.md#applicationsDnsRulePUT) | **PUT** /applications/{appInstanceId}/dns_rules/{dnsRuleId} | 
*AdvantEdgeMecApplicationSupportApi.UnsupportedApi* | [**applicationsDnsRulesGET**](docs/UnsupportedApi.md#applicationsDnsRulesGET) | **GET** /applications/{appInstanceId}/dns_rules | 
*AdvantEdgeMecApplicationSupportApi.UnsupportedApi* | [**applicationsTrafficRuleGET**](docs/UnsupportedApi.md#applicationsTrafficRuleGET) | **GET** /applications/{appInstanceId}/traffic_rules/{trafficRuleId} | 
*AdvantEdgeMecApplicationSupportApi.UnsupportedApi* | [**applicationsTrafficRulePUT**](docs/UnsupportedApi.md#applicationsTrafficRulePUT) | **PUT** /applications/{appInstanceId}/traffic_rules/{trafficRuleId} | 
*AdvantEdgeMecApplicationSupportApi.UnsupportedApi* | [**applicationsTrafficRulesGET**](docs/UnsupportedApi.md#applicationsTrafficRulesGET) | **GET** /applications/{appInstanceId}/traffic_rules | 


## Documentation for Models

 - [AdvantEdgeMecApplicationSupportApi.AppReadyConfirmation](docs/AppReadyConfirmation.md)
 - [AdvantEdgeMecApplicationSupportApi.AppTerminationConfirmation](docs/AppTerminationConfirmation.md)
 - [AdvantEdgeMecApplicationSupportApi.AppTerminationNotification](docs/AppTerminationNotification.md)
 - [AdvantEdgeMecApplicationSupportApi.AppTerminationNotificationLinks](docs/AppTerminationNotificationLinks.md)
 - [AdvantEdgeMecApplicationSupportApi.AppTerminationNotificationSubscription](docs/AppTerminationNotificationSubscription.md)
 - [AdvantEdgeMecApplicationSupportApi.AppTerminationNotificationSubscriptionLinks](docs/AppTerminationNotificationSubscriptionLinks.md)
 - [AdvantEdgeMecApplicationSupportApi.CurrentTime](docs/CurrentTime.md)
 - [AdvantEdgeMecApplicationSupportApi.DestinationInterface](docs/DestinationInterface.md)
 - [AdvantEdgeMecApplicationSupportApi.DnsRule](docs/DnsRule.md)
 - [AdvantEdgeMecApplicationSupportApi.LinkType](docs/LinkType.md)
 - [AdvantEdgeMecApplicationSupportApi.OperationActionType](docs/OperationActionType.md)
 - [AdvantEdgeMecApplicationSupportApi.ProblemDetails](docs/ProblemDetails.md)
 - [AdvantEdgeMecApplicationSupportApi.SubscriptionLinkList](docs/SubscriptionLinkList.md)
 - [AdvantEdgeMecApplicationSupportApi.SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md)
 - [AdvantEdgeMecApplicationSupportApi.SubscriptionLinkListLinksSubscriptions](docs/SubscriptionLinkListLinksSubscriptions.md)
 - [AdvantEdgeMecApplicationSupportApi.TimingCaps](docs/TimingCaps.md)
 - [AdvantEdgeMecApplicationSupportApi.TimingCapsNtpServers](docs/TimingCapsNtpServers.md)
 - [AdvantEdgeMecApplicationSupportApi.TimingCapsPtpMasters](docs/TimingCapsPtpMasters.md)
 - [AdvantEdgeMecApplicationSupportApi.TimingCapsTimeStamp](docs/TimingCapsTimeStamp.md)
 - [AdvantEdgeMecApplicationSupportApi.TrafficFilter](docs/TrafficFilter.md)
 - [AdvantEdgeMecApplicationSupportApi.TrafficRule](docs/TrafficRule.md)
 - [AdvantEdgeMecApplicationSupportApi.TunnelInfo](docs/TunnelInfo.md)


## Documentation for Authorization

 All endpoints do not require authorization.
Loading