From 3e771aa649d05c293c238979b88fd40b7a2c7cff Mon Sep 17 00:00:00 2001 From: fu351 <122320084+fu351@users.noreply.github.com> Date: Mon, 11 Dec 2023 10:47:50 -0500 Subject: [PATCH] Test fixes --- .env => .gitignore/.env | 2 +- cli_storage/461-G12-P2 | 1 + javascript-client-generated.zip | Bin 58509 -> 0 bytes javascript-client-generated/.babelrc | 33 - .../.swagger-codegen-ignore | 23 - .../.swagger-codegen/VERSION | 1 - javascript-client-generated/.travis.yml | 7 - javascript-client-generated/README.md | 126 ---- .../docs/AuthenticationRequest.md | 7 - .../docs/AuthenticationToken.md | 5 - .../docs/DefaultApi.md | 510 --------------- .../docs/EnumerateOffset.md | 5 - .../docs/ModelPackage.md | 7 - .../docs/PackageData.md | 8 - .../docs/PackageHistoryEntry.md | 18 - javascript-client-generated/docs/PackageID.md | 5 - .../docs/PackageMetadata.md | 8 - .../docs/PackageName.md | 5 - .../docs/PackageQuery.md | 7 - .../docs/PackageRating.md | 13 - .../docs/PackageRegEx.md | 6 - .../docs/SemverRange.md | 5 - javascript-client-generated/docs/User.md | 7 - .../docs/UserAuthenticationInfo.md | 6 - javascript-client-generated/git_push.sh | 52 -- javascript-client-generated/mocha.opts | 1 - javascript-client-generated/package.json | 41 -- javascript-client-generated/src/ApiClient.js | 585 ----------------- .../src/api/DefaultApi.js | 613 ------------------ javascript-client-generated/src/index.js | 167 ----- .../src/model/AuthenticationRequest.js | 66 -- .../src/model/AuthenticationToken.js | 46 -- .../src/model/EnumerateOffset.js | 46 -- .../src/model/ModelPackage.js | 66 -- .../src/model/PackageData.js | 71 -- .../src/model/PackageHistoryEntry.js | 116 ---- .../src/model/PackageID.js | 45 -- .../src/model/PackageMetadata.js | 77 --- .../src/model/PackageName.js | 46 -- .../src/model/PackageQuery.js | 64 -- .../src/model/PackageRating.js | 122 ---- .../src/model/PackageRegEx.js | 56 -- .../src/model/SemverRange.js | 45 -- javascript-client-generated/src/model/User.js | 65 -- .../src/model/UserAuthenticationInfo.js | 57 -- .../test/api/DefaultApi.spec.js | 272 -------- .../test/assert-equals.js | 81 --- .../test/model/AuthenticationRequest.spec.js | 58 -- .../test/model/AuthenticationToken.spec.js | 46 -- .../test/model/EnumerateOffset.spec.js | 46 -- .../test/model/ModelPackage.spec.js | 58 -- .../test/model/PackageData.spec.js | 64 -- .../test/model/PackageHistoryEntry.spec.js | 70 -- .../test/model/PackageID.spec.js | 46 -- .../test/model/PackageMetadata.spec.js | 64 -- .../test/model/PackageName.spec.js | 46 -- .../test/model/PackageQuery.spec.js | 58 -- .../test/model/PackageRating.spec.js | 94 --- .../test/model/PackageRegEx.spec.js | 52 -- .../test/model/SemverRange.spec.js | 46 -- .../test/model/User.spec.js | 58 -- .../test/model/UserAuthenticationInfo.spec.js | 52 -- logger.js | 2 +- npm-github-netscore.js | 14 +- npm-github-netscore.ts | 1 - upload_update_download_rate.js | 2 +- upload_update_download_rate.test.js | 2 +- 67 files changed, 12 insertions(+), 4482 deletions(-) rename .env => .gitignore/.env (85%) create mode 160000 cli_storage/461-G12-P2 delete mode 100644 javascript-client-generated.zip delete mode 100644 javascript-client-generated/.babelrc delete mode 100644 javascript-client-generated/.swagger-codegen-ignore delete mode 100644 javascript-client-generated/.swagger-codegen/VERSION delete mode 100644 javascript-client-generated/.travis.yml delete mode 100644 javascript-client-generated/README.md delete mode 100644 javascript-client-generated/docs/AuthenticationRequest.md delete mode 100644 javascript-client-generated/docs/AuthenticationToken.md delete mode 100644 javascript-client-generated/docs/DefaultApi.md delete mode 100644 javascript-client-generated/docs/EnumerateOffset.md delete mode 100644 javascript-client-generated/docs/ModelPackage.md delete mode 100644 javascript-client-generated/docs/PackageData.md delete mode 100644 javascript-client-generated/docs/PackageHistoryEntry.md delete mode 100644 javascript-client-generated/docs/PackageID.md delete mode 100644 javascript-client-generated/docs/PackageMetadata.md delete mode 100644 javascript-client-generated/docs/PackageName.md delete mode 100644 javascript-client-generated/docs/PackageQuery.md delete mode 100644 javascript-client-generated/docs/PackageRating.md delete mode 100644 javascript-client-generated/docs/PackageRegEx.md delete mode 100644 javascript-client-generated/docs/SemverRange.md delete mode 100644 javascript-client-generated/docs/User.md delete mode 100644 javascript-client-generated/docs/UserAuthenticationInfo.md delete mode 100644 javascript-client-generated/git_push.sh delete mode 100644 javascript-client-generated/mocha.opts delete mode 100644 javascript-client-generated/package.json delete mode 100644 javascript-client-generated/src/ApiClient.js delete mode 100644 javascript-client-generated/src/api/DefaultApi.js delete mode 100644 javascript-client-generated/src/index.js delete mode 100644 javascript-client-generated/src/model/AuthenticationRequest.js delete mode 100644 javascript-client-generated/src/model/AuthenticationToken.js delete mode 100644 javascript-client-generated/src/model/EnumerateOffset.js delete mode 100644 javascript-client-generated/src/model/ModelPackage.js delete mode 100644 javascript-client-generated/src/model/PackageData.js delete mode 100644 javascript-client-generated/src/model/PackageHistoryEntry.js delete mode 100644 javascript-client-generated/src/model/PackageID.js delete mode 100644 javascript-client-generated/src/model/PackageMetadata.js delete mode 100644 javascript-client-generated/src/model/PackageName.js delete mode 100644 javascript-client-generated/src/model/PackageQuery.js delete mode 100644 javascript-client-generated/src/model/PackageRating.js delete mode 100644 javascript-client-generated/src/model/PackageRegEx.js delete mode 100644 javascript-client-generated/src/model/SemverRange.js delete mode 100644 javascript-client-generated/src/model/User.js delete mode 100644 javascript-client-generated/src/model/UserAuthenticationInfo.js delete mode 100644 javascript-client-generated/test/api/DefaultApi.spec.js delete mode 100644 javascript-client-generated/test/assert-equals.js delete mode 100644 javascript-client-generated/test/model/AuthenticationRequest.spec.js delete mode 100644 javascript-client-generated/test/model/AuthenticationToken.spec.js delete mode 100644 javascript-client-generated/test/model/EnumerateOffset.spec.js delete mode 100644 javascript-client-generated/test/model/ModelPackage.spec.js delete mode 100644 javascript-client-generated/test/model/PackageData.spec.js delete mode 100644 javascript-client-generated/test/model/PackageHistoryEntry.spec.js delete mode 100644 javascript-client-generated/test/model/PackageID.spec.js delete mode 100644 javascript-client-generated/test/model/PackageMetadata.spec.js delete mode 100644 javascript-client-generated/test/model/PackageName.spec.js delete mode 100644 javascript-client-generated/test/model/PackageQuery.spec.js delete mode 100644 javascript-client-generated/test/model/PackageRating.spec.js delete mode 100644 javascript-client-generated/test/model/PackageRegEx.spec.js delete mode 100644 javascript-client-generated/test/model/SemverRange.spec.js delete mode 100644 javascript-client-generated/test/model/User.spec.js delete mode 100644 javascript-client-generated/test/model/UserAuthenticationInfo.spec.js diff --git a/.env b/.gitignore/.env similarity index 85% rename from .env rename to .gitignore/.env index 08a5ebb2f..858c20d8b 100644 --- a/.env +++ b/.gitignore/.env @@ -1,4 +1,4 @@ -LOG_FILE=logile.log +LOG_FILE= logile.log AWS_ACCESS_KEY_ID = AKIASRQLZFHMYVC5MGG3 AWS_SECRET_ACCESS_KEY = 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 GITHUB_TOKEN = \ No newline at end of file diff --git a/cli_storage/461-G12-P2 b/cli_storage/461-G12-P2 new file mode 160000 index 000000000..cbb8269f7 --- /dev/null +++ b/cli_storage/461-G12-P2 @@ -0,0 +1 @@ +Subproject commit cbb8269f798f1293ddff8483b63d3887f8c1b2ff diff --git a/javascript-client-generated.zip b/javascript-client-generated.zip deleted file mode 100644 index 1d1380b6b521c0ad1755e5b70b8d30a8b0ca2e63..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 58509 zcmaI7Q+TEAwym91Y}>YN+qSI{+fK!{ZQH20;#ACvE4GuJnscse?|J>}|HjdKG|pOk z?%sOqiZURes6ddAkU(ZV!5TpS&yV=)+u6y4!Oq^)%$7mO)y2{b;9_NBAW#^SjEQi(dph|Zdj#G)XQIz*H7e)$S|M1h%T1I#+{h# zD=X<(LF{(Rx1KHUnmOT_^MiRX@?Z%`YBJ#riQ}Ej_g*}o^R!;nh{lt}*dTW4`EAG@ z)WO^$v{){oGvSNb-$PaHtvEubex*ew7Ip=uVw9ux{*2NeAge^K4Ru0G`-HrEG_ZNK zV95(wh^a6VKIJX0p3azVe!L5J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J=4tg6FE|zQv5j1Ck(*y8ta0pB=OfWb&I53lz0QHso@p^s0H<<>U9!P-y zzxy~j8vSRHHA|=8@zR%#ML>7fqX3UbdWI6HV&8$%0>I@ zIRx;3q5ZBn{1Zt(+;XV~KoSAk`QR4}@S7RnGJhf6kp%t;lWFZJi~*>~bAgvY-T&(` zx_2Aqr|jcKiuWgqu7fP!1<)NFD8F}7GZ1b6Wz0{MJJPN{(Xbe?&ar@|c>$e-{mUTW zHyGT1Km!Cze`4HQ;?~dxEW!rbb+@DS0Hy687X7U&`V)!r0$S1sutp3Rpu0T;4SZjJ zAl=Az{zMt(aj>rg4LtDO-W{$!K)?S7$`5(XpD<~(OKQkKw^#z*3iQRTrw6#Z`3KBT z5zC)Al%xn0ZGbsaf0%>M^iMb@W}@!@(93W02-5KZming6`__qz|gT_KC&4(g`m zf1uu}TK7BV?czRn{dB199n9Zd;lJ2;yMzcRHPEkz)bS499f$ZYV7E&UfD|3S9%R=$ zV7J}kzhK=?On$fXa6SJC>yC5$7tGrkmhXBu1)qPy{FUJR_hGo5o%QZ8%s=}lq`w{I zzgTuVyX4)T+X(t6yxSRGf4A*+;<~#->Jjo!Sa-5h{tk9KsTA?A@dSRe1Qh9i=7hhS z`R;eL+nH?cnuZ5xg#H2T#)1AzpWV*EaktNo;_iUmcBB7-b^D$_X!HH+c@EsqxMkSw z93H>7?)L3rU|G5K*romfa@UjGh@Ae#w%a$>Kx*$_k8b8q*xwxMzX097QFGTp3+4X> z^xJi}-*!V2i>&97(k%})i_-G=?;B5jO+hq`^4+V5}OW(Mv~(zdaG p<&J&_xlIWCzoGU+-d)Bt1U94);LQqbqBAg9gCMZ2ZF2?00{}RCl?(s? diff --git a/javascript-client-generated/.babelrc b/javascript-client-generated/.babelrc deleted file mode 100644 index c73df9d50..000000000 --- a/javascript-client-generated/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/javascript-client-generated/.swagger-codegen-ignore b/javascript-client-generated/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/javascript-client-generated/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# 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 diff --git a/javascript-client-generated/.swagger-codegen/VERSION b/javascript-client-generated/.swagger-codegen/VERSION deleted file mode 100644 index 48e698941..000000000 --- a/javascript-client-generated/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -3.0.50 \ No newline at end of file diff --git a/javascript-client-generated/.travis.yml b/javascript-client-generated/.travis.yml deleted file mode 100644 index e49f4692f..000000000 --- a/javascript-client-generated/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - "6" - - "6.1" - - "5" - - "5.11" - diff --git a/javascript-client-generated/README.md b/javascript-client-generated/README.md deleted file mode 100644 index 48bb2b3de..000000000 --- a/javascript-client-generated/README.md +++ /dev/null @@ -1,126 +0,0 @@ -# ece_461___fall_2023___project_phase_2 - -Ece461Fall2023ProjectPhase2 - JavaScript client for ece_461___fall_2023___project_phase_2 -API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 -This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: 2.4.1 -- Package version: 2.4.1 -- Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen -For more information, please visit [http://davisjam.github.io](http://davisjam.github.io) - -## 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 ece_461___fall_2023___project_phase_2 --save -``` - -#### 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): - -```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 Ece461Fall2023ProjectPhase2 = require('ece_461___fall_2023___project_phase_2'); - -var api = new Ece461Fall2023ProjectPhase2.DefaultApi() -var body = new Ece461Fall2023ProjectPhase2.AuthenticationRequest(); // {AuthenticationRequest} - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.createAuthToken(body, callback); -``` - -## Documentation for API Endpoints - -All URIs are relative to */* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**createAuthToken**](docs/DefaultApi.md#createAuthToken) | **PUT** /authenticate | (NON-BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageByNameDelete**](docs/DefaultApi.md#packageByNameDelete) | **DELETE** /package/byName/{name} | Delete all versions of this package. (NON-BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageByNameGet**](docs/DefaultApi.md#packageByNameGet) | **GET** /package/byName/{name} | (NON-BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageByRegExGet**](docs/DefaultApi.md#packageByRegExGet) | **POST** /package/byRegEx | Get any packages fitting the regular expression (BASELINE). -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageCreate**](docs/DefaultApi.md#packageCreate) | **POST** /package | Upload or Ingest a new package. (BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageDelete**](docs/DefaultApi.md#packageDelete) | **DELETE** /package/{id} | Delete this version of the package. (NON-BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageRate**](docs/DefaultApi.md#packageRate) | **GET** /package/{id}/rate | Get ratings for this package. (BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageRetrieve**](docs/DefaultApi.md#packageRetrieve) | **GET** /package/{id} | Interact with the package with this ID. (BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packageUpdate**](docs/DefaultApi.md#packageUpdate) | **PUT** /package/{id} | Update this content of the package. (BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**packagesList**](docs/DefaultApi.md#packagesList) | **POST** /packages | Get the packages from the registry. (BASELINE) -*Ece461Fall2023ProjectPhase2.DefaultApi* | [**registryReset**](docs/DefaultApi.md#registryReset) | **DELETE** /reset | Reset the registry. (BASELINE) - -## Documentation for Models - - - [Ece461Fall2023ProjectPhase2.AuthenticationRequest](docs/AuthenticationRequest.md) - - [Ece461Fall2023ProjectPhase2.AuthenticationToken](docs/AuthenticationToken.md) - - [Ece461Fall2023ProjectPhase2.EnumerateOffset](docs/EnumerateOffset.md) - - [Ece461Fall2023ProjectPhase2.ModelPackage](docs/ModelPackage.md) - - [Ece461Fall2023ProjectPhase2.PackageData](docs/PackageData.md) - - [Ece461Fall2023ProjectPhase2.PackageHistoryEntry](docs/PackageHistoryEntry.md) - - [Ece461Fall2023ProjectPhase2.PackageID](docs/PackageID.md) - - [Ece461Fall2023ProjectPhase2.PackageMetadata](docs/PackageMetadata.md) - - [Ece461Fall2023ProjectPhase2.PackageName](docs/PackageName.md) - - [Ece461Fall2023ProjectPhase2.PackageQuery](docs/PackageQuery.md) - - [Ece461Fall2023ProjectPhase2.PackageRating](docs/PackageRating.md) - - [Ece461Fall2023ProjectPhase2.PackageRegEx](docs/PackageRegEx.md) - - [Ece461Fall2023ProjectPhase2.SemverRange](docs/SemverRange.md) - - [Ece461Fall2023ProjectPhase2.User](docs/User.md) - - [Ece461Fall2023ProjectPhase2.UserAuthenticationInfo](docs/UserAuthenticationInfo.md) - -## Documentation for Authorization - - All endpoints do not require authorization. - diff --git a/javascript-client-generated/docs/AuthenticationRequest.md b/javascript-client-generated/docs/AuthenticationRequest.md deleted file mode 100644 index 05b70161f..000000000 --- a/javascript-client-generated/docs/AuthenticationRequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# Ece461Fall2023ProjectPhase2.AuthenticationRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user** | [**User**](User.md) | | -**secret** | [**UserAuthenticationInfo**](UserAuthenticationInfo.md) | | diff --git a/javascript-client-generated/docs/AuthenticationToken.md b/javascript-client-generated/docs/AuthenticationToken.md deleted file mode 100644 index 5406121c3..000000000 --- a/javascript-client-generated/docs/AuthenticationToken.md +++ /dev/null @@ -1,5 +0,0 @@ -# Ece461Fall2023ProjectPhase2.AuthenticationToken - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- diff --git a/javascript-client-generated/docs/DefaultApi.md b/javascript-client-generated/docs/DefaultApi.md deleted file mode 100644 index 1ff740b2b..000000000 --- a/javascript-client-generated/docs/DefaultApi.md +++ /dev/null @@ -1,510 +0,0 @@ -# Ece461Fall2023ProjectPhase2.DefaultApi - -All URIs are relative to */* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**createAuthToken**](DefaultApi.md#createAuthToken) | **PUT** /authenticate | (NON-BASELINE) -[**packageByNameDelete**](DefaultApi.md#packageByNameDelete) | **DELETE** /package/byName/{name} | Delete all versions of this package. (NON-BASELINE) -[**packageByNameGet**](DefaultApi.md#packageByNameGet) | **GET** /package/byName/{name} | (NON-BASELINE) -[**packageByRegExGet**](DefaultApi.md#packageByRegExGet) | **POST** /package/byRegEx | Get any packages fitting the regular expression (BASELINE). -[**packageCreate**](DefaultApi.md#packageCreate) | **POST** /package | Upload or Ingest a new package. (BASELINE) -[**packageDelete**](DefaultApi.md#packageDelete) | **DELETE** /package/{id} | Delete this version of the package. (NON-BASELINE) -[**packageRate**](DefaultApi.md#packageRate) | **GET** /package/{id}/rate | Get ratings for this package. (BASELINE) -[**packageRetrieve**](DefaultApi.md#packageRetrieve) | **GET** /package/{id} | Interact with the package with this ID. (BASELINE) -[**packageUpdate**](DefaultApi.md#packageUpdate) | **PUT** /package/{id} | Update this content of the package. (BASELINE) -[**packagesList**](DefaultApi.md#packagesList) | **POST** /packages | Get the packages from the registry. (BASELINE) -[**registryReset**](DefaultApi.md#registryReset) | **DELETE** /reset | Reset the registry. (BASELINE) - - -# **createAuthToken** -> AuthenticationToken createAuthToken(body) - -(NON-BASELINE) - -Create an access token. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let body = new Ece461Fall2023ProjectPhase2.AuthenticationRequest(); // AuthenticationRequest | - -apiInstance.createAuthToken(body, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**AuthenticationRequest**](AuthenticationRequest.md)| | - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **packageByNameDelete** -> packageByNameDelete(xAuthorization, name) - -Delete all versions of this package. (NON-BASELINE) - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | -let name = new Ece461Fall2023ProjectPhase2.PackageName(); // PackageName | - -apiInstance.packageByNameDelete(xAuthorization, name, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xAuthorization** | [**AuthenticationToken**](.md)| | - **name** | [**PackageName**](.md)| | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -# **packageByNameGet** -> [PackageHistoryEntry] packageByNameGet(name, xAuthorization) - -(NON-BASELINE) - -Return the history of this package (all versions). - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let name = new Ece461Fall2023ProjectPhase2.PackageName(); // PackageName | -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | - -apiInstance.packageByNameGet(name, xAuthorization, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | [**PackageName**](.md)| | - **xAuthorization** | [**AuthenticationToken**](.md)| | - -### Return type - -[**[PackageHistoryEntry]**](PackageHistoryEntry.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -# **packageByRegExGet** -> [PackageMetadata] packageByRegExGet(body, xAuthorization) - -Get any packages fitting the regular expression (BASELINE). - -Search for a package using regular expression over package names and READMEs. This is similar to search by name. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let body = new Ece461Fall2023ProjectPhase2.PackageRegEx(); // PackageRegEx | -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | - -apiInstance.packageByRegExGet(body, xAuthorization, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**PackageRegEx**](PackageRegEx.md)| | - **xAuthorization** | [**AuthenticationToken**](.md)| | - -### Return type - -[**[PackageMetadata]**](PackageMetadata.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **packageCreate** -> ModelPackage packageCreate(body, xAuthorization) - -Upload or Ingest a new package. (BASELINE) - -Upload or Ingest a new package. Packages that are uploaded may have the same name but a new version. Refer to the description above to see how an id is formed for a pacakge. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let body = new Ece461Fall2023ProjectPhase2.PackageData(); // PackageData | -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | - -apiInstance.packageCreate(body, xAuthorization, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**PackageData**](PackageData.md)| | - **xAuthorization** | [**AuthenticationToken**](.md)| | - -### Return type - -[**ModelPackage**](ModelPackage.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **packageDelete** -> packageDelete(xAuthorization, id) - -Delete this version of the package. (NON-BASELINE) - -Delete only the package that matches \"id\". (id is a unique identifier for a packge) - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | -let id = new Ece461Fall2023ProjectPhase2.PackageID(); // PackageID | Package ID - -apiInstance.packageDelete(xAuthorization, id, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xAuthorization** | [**AuthenticationToken**](.md)| | - **id** | [**PackageID**](.md)| Package ID | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -# **packageRate** -> PackageRating packageRate(id, xAuthorization) - -Get ratings for this package. (BASELINE) - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let id = new Ece461Fall2023ProjectPhase2.PackageID(); // PackageID | -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | - -apiInstance.packageRate(id, xAuthorization, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | [**PackageID**](.md)| | - **xAuthorization** | [**AuthenticationToken**](.md)| | - -### Return type - -[**PackageRating**](PackageRating.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -# **packageRetrieve** -> ModelPackage packageRetrieve(xAuthorization, id) - -Interact with the package with this ID. (BASELINE) - -Return this package. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | -let id = new Ece461Fall2023ProjectPhase2.PackageID(); // PackageID | ID of package to fetch - -apiInstance.packageRetrieve(xAuthorization, id, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xAuthorization** | [**AuthenticationToken**](.md)| | - **id** | [**PackageID**](.md)| ID of package to fetch | - -### Return type - -[**ModelPackage**](ModelPackage.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -# **packageUpdate** -> packageUpdate(body, xAuthorization, id) - -Update this content of the package. (BASELINE) - -The name, version, and ID must match. The package contents (from PackageData) will replace the previous contents. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let body = new Ece461Fall2023ProjectPhase2.ModelPackage(); // ModelPackage | -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | -let id = new Ece461Fall2023ProjectPhase2.PackageID(); // PackageID | - -apiInstance.packageUpdate(body, xAuthorization, id, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ModelPackage**](ModelPackage.md)| | - **xAuthorization** | [**AuthenticationToken**](.md)| | - **id** | [**PackageID**](.md)| | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -# **packagesList** -> [PackageMetadata] packagesList(body, xAuthorization, opts) - -Get the packages from the registry. (BASELINE) - -Get any packages fitting the query. Search for packages satisfying the indicated query. If you want to enumerate all packages, provide an array with a single PackageQuery whose name is \"*\". The response is paginated; the response header includes the offset to use in the next query. In the Request Body below, \"Version\" has all the possible inputs. The \"Version\" cannot be a combinaiton fo the all the possibilities. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let body = [new Ece461Fall2023ProjectPhase2.PackageQuery()]; // [PackageQuery] | -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | -let opts = { - 'offset': new Ece461Fall2023ProjectPhase2.EnumerateOffset() // EnumerateOffset | Provide this for pagination. If not provided, returns the first page of results. -}; -apiInstance.packagesList(body, xAuthorization, opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**[PackageQuery]**](PackageQuery.md)| | - **xAuthorization** | [**AuthenticationToken**](.md)| | - **offset** | [**EnumerateOffset**](.md)| Provide this for pagination. If not provided, returns the first page of results. | [optional] - -### Return type - -[**[PackageMetadata]**](PackageMetadata.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **registryReset** -> registryReset(xAuthorization) - -Reset the registry. (BASELINE) - -Reset the registry to a system default state. - -### Example -```javascript -import {Ece461Fall2023ProjectPhase2} from 'ece_461___fall_2023___project_phase_2'; - -let apiInstance = new Ece461Fall2023ProjectPhase2.DefaultApi(); -let xAuthorization = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); // AuthenticationToken | - -apiInstance.registryReset(xAuthorization, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xAuthorization** | [**AuthenticationToken**](.md)| | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - diff --git a/javascript-client-generated/docs/EnumerateOffset.md b/javascript-client-generated/docs/EnumerateOffset.md deleted file mode 100644 index ff46659f1..000000000 --- a/javascript-client-generated/docs/EnumerateOffset.md +++ /dev/null @@ -1,5 +0,0 @@ -# Ece461Fall2023ProjectPhase2.EnumerateOffset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- diff --git a/javascript-client-generated/docs/ModelPackage.md b/javascript-client-generated/docs/ModelPackage.md deleted file mode 100644 index d3f3d8cc3..000000000 --- a/javascript-client-generated/docs/ModelPackage.md +++ /dev/null @@ -1,7 +0,0 @@ -# Ece461Fall2023ProjectPhase2.ModelPackage - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metadata** | [**PackageMetadata**](PackageMetadata.md) | | -**data** | [**PackageData**](PackageData.md) | | diff --git a/javascript-client-generated/docs/PackageData.md b/javascript-client-generated/docs/PackageData.md deleted file mode 100644 index 987f61530..000000000 --- a/javascript-client-generated/docs/PackageData.md +++ /dev/null @@ -1,8 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**content** | **String** | Package contents. This is the zip file uploaded by the user. (Encoded as text using a Base64 encoding). This will be a zipped version of an npm package's GitHub repository, minus the \".git/\" directory.\" It will, for example, include the \"package.json\" file that can be used to retrieve the project homepage. See https://docs.npmjs.com/cli/v7/configuring-npm/package-json#homepage. | [optional] -**URL** | **String** | Package URL (for use in public ingest). | [optional] -**jSProgram** | **String** | A JavaScript program (for use with sensitive modules). | [optional] diff --git a/javascript-client-generated/docs/PackageHistoryEntry.md b/javascript-client-generated/docs/PackageHistoryEntry.md deleted file mode 100644 index 5b30ff400..000000000 --- a/javascript-client-generated/docs/PackageHistoryEntry.md +++ /dev/null @@ -1,18 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageHistoryEntry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user** | [**User**](User.md) | | -**_date** | **Date** | Date of activity using ISO-8601 Datetime standard in UTC format. | -**packageMetadata** | [**PackageMetadata**](PackageMetadata.md) | | -**action** | **String** | | - - -## Enum: ActionEnum - -* `CREATE` (value: `"CREATE"`) -* `UPDATE` (value: `"UPDATE"`) -* `DOWNLOAD` (value: `"DOWNLOAD"`) -* `RATE` (value: `"RATE"`) - diff --git a/javascript-client-generated/docs/PackageID.md b/javascript-client-generated/docs/PackageID.md deleted file mode 100644 index 64b944165..000000000 --- a/javascript-client-generated/docs/PackageID.md +++ /dev/null @@ -1,5 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageID - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- diff --git a/javascript-client-generated/docs/PackageMetadata.md b/javascript-client-generated/docs/PackageMetadata.md deleted file mode 100644 index bbaf572ef..000000000 --- a/javascript-client-generated/docs/PackageMetadata.md +++ /dev/null @@ -1,8 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | [**PackageName**](PackageName.md) | | -**version** | **String** | Package version | -**ID** | [**PackageID**](PackageID.md) | | diff --git a/javascript-client-generated/docs/PackageName.md b/javascript-client-generated/docs/PackageName.md deleted file mode 100644 index 20ed452b0..000000000 --- a/javascript-client-generated/docs/PackageName.md +++ /dev/null @@ -1,5 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageName - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- diff --git a/javascript-client-generated/docs/PackageQuery.md b/javascript-client-generated/docs/PackageQuery.md deleted file mode 100644 index 3af3a7a4c..000000000 --- a/javascript-client-generated/docs/PackageQuery.md +++ /dev/null @@ -1,7 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageQuery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | [**SemverRange**](SemverRange.md) | | [optional] -**name** | [**PackageName**](PackageName.md) | | diff --git a/javascript-client-generated/docs/PackageRating.md b/javascript-client-generated/docs/PackageRating.md deleted file mode 100644 index f0345bc2e..000000000 --- a/javascript-client-generated/docs/PackageRating.md +++ /dev/null @@ -1,13 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageRating - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**busFactor** | **Number** | | -**correctness** | **Number** | | -**rampUp** | **Number** | | -**responsiveMaintainer** | **Number** | | -**licenseScore** | **Number** | | -**goodPinningPractice** | **Number** | The fraction of its dependencies that are pinned to at least a specific major+minor version, e.g. version 2.3.X of a package. (If there are zero dependencies, they should receive a 1.0 rating. If there are two dependencies, one pinned to this degree, then they should receive a ½ = 0.5 rating). | -**pullRequest** | **Number** | The fraction of project code that was introduced through pull requests with a code review. | -**netScore** | **Number** | Scores calculated from other seven metrics. | diff --git a/javascript-client-generated/docs/PackageRegEx.md b/javascript-client-generated/docs/PackageRegEx.md deleted file mode 100644 index 0fa86ede6..000000000 --- a/javascript-client-generated/docs/PackageRegEx.md +++ /dev/null @@ -1,6 +0,0 @@ -# Ece461Fall2023ProjectPhase2.PackageRegEx - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**regEx** | **String** | A regular expression over package names and READMEs that is used for searching for a package | diff --git a/javascript-client-generated/docs/SemverRange.md b/javascript-client-generated/docs/SemverRange.md deleted file mode 100644 index 395a14733..000000000 --- a/javascript-client-generated/docs/SemverRange.md +++ /dev/null @@ -1,5 +0,0 @@ -# Ece461Fall2023ProjectPhase2.SemverRange - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- diff --git a/javascript-client-generated/docs/User.md b/javascript-client-generated/docs/User.md deleted file mode 100644 index bcc7bd4be..000000000 --- a/javascript-client-generated/docs/User.md +++ /dev/null @@ -1,7 +0,0 @@ -# Ece461Fall2023ProjectPhase2.User - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | | -**isAdmin** | **Boolean** | Is this user an admin? | diff --git a/javascript-client-generated/docs/UserAuthenticationInfo.md b/javascript-client-generated/docs/UserAuthenticationInfo.md deleted file mode 100644 index abe4e2b57..000000000 --- a/javascript-client-generated/docs/UserAuthenticationInfo.md +++ /dev/null @@ -1,6 +0,0 @@ -# Ece461Fall2023ProjectPhase2.UserAuthenticationInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**password** | **String** | Password for a user. Per the spec, this should be a \"strong\" password. | diff --git a/javascript-client-generated/git_push.sh b/javascript-client-generated/git_push.sh deleted file mode 100644 index 0d041ad0b..000000000 --- a/javascript-client-generated/git_push.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=`git remote` -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the Git credential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/javascript-client-generated/mocha.opts b/javascript-client-generated/mocha.opts deleted file mode 100644 index 907011807..000000000 --- a/javascript-client-generated/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/javascript-client-generated/package.json b/javascript-client-generated/package.json deleted file mode 100644 index 05c7865f2..000000000 --- a/javascript-client-generated/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "ece_461___fall_2023___project_phase_2", - "version": "2.4.1", - "description": "API_for_ECE_461Fall_2023Project_Phase_2_A_Trustworthy_Module_RegistryAll_endpoints_have_BASELINE_or_NON_BASELINE_listed__Please_read_through_all_descriptions_before_raising_questions__A_package_ID_is_unique_identifier_for_Package_and_Version___Key_idea___id_is_unique_for_all_pacakges_Eg______PacakgeName_Alpha_PackageVersion_1_1_1___PackageID_988645763_______PacakgeName_Alpha_PackageVersion_1_3_2___PackageID_357898765", - "license": "Apache 2.0", - "main": "src/index.js", - "scripts": { - "test": "mocha --require @babel/register --recursive" - }, - "browser": { - "fs": false - }, - "dependencies": { - "@babel/cli": "^7.0.0", - "superagent": "^5.3.0" - }, - "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/plugin-proposal-class-properties": "^7.0.0", - "@babel/plugin-proposal-decorators": "^7.0.0", - "@babel/plugin-proposal-do-expressions": "^7.0.0", - "@babel/plugin-proposal-export-default-from": "^7.0.0", - "@babel/plugin-proposal-export-namespace-from": "^7.0.0", - "@babel/plugin-proposal-function-bind": "^7.0.0", - "@babel/plugin-proposal-function-sent": "^7.0.0", - "@babel/plugin-proposal-json-strings": "^7.0.0", - "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0", - "@babel/plugin-proposal-numeric-separator": "^7.0.0", - "@babel/plugin-proposal-optional-chaining": "^7.0.0", - "@babel/plugin-proposal-pipeline-operator": "^7.0.0", - "@babel/plugin-proposal-throw-expressions": "^7.0.0", - "@babel/plugin-syntax-dynamic-import": "^7.0.0", - "@babel/plugin-syntax-import-meta": "^7.0.0", - "@babel/preset-env": "^7.0.0", - "@babel/register": "^7.0.0", - "expect.js": "^0.3.1", - "mocha": "^8.0.1", - "sinon": "^7.2.0" - } -} diff --git a/javascript-client-generated/src/ApiClient.js b/javascript-client-generated/src/ApiClient.js deleted file mode 100644 index 23f5a9047..000000000 --- a/javascript-client-generated/src/ApiClient.js +++ /dev/null @@ -1,585 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import superagent from "superagent"; -import querystring from "querystring"; - -/** -* @module ApiClient -* @version 2.4.1 -*/ - -/** -* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an -* application to use this class directly - the *Api and model classes provide the public API for the service. The -* contents of this file should be regarded as internal but are documented for completeness. -* @alias module:ApiClient -* @class -*/ -export class ApiClient { - constructor() { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default / - */ - this.basePath = '/'.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = {}; - - /** - * The default HTTP timeout for all API calls. - * @type {Number} - * @default 60000 - */ - this.timeout = 60000; - - /** - * If set to false an additional timestamp parameter is added to all API GET calls to - * prevent browser caching - * @type {Boolean} - * @default true - */ - this.cache = true; - - /** - * If set to true, the client will save the cookies from each server - * response, and return them in the next request. - * @default false - */ - this.enableCookies = false; - - /* - * Used to save and return cookies in a node.js (non-browser) setting, - * if this.enableCookies is set to true. - */ - if (typeof window === 'undefined') { - this.agent = new superagent.agent(); - } - - /* - * Allow user to override superagent agent - */ - this.requestAgent = null; - - } - - /** - * Returns a string representation for an actual parameter. - * @param param The actual parameter. - * @returns {String} The string representation of param. - */ - paramToString(param) { - if (param == undefined || param == null) { - return ''; - } - if (param instanceof Date) { - return param.toJSON(); - } - - return param.toString(); - } - - /** - * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values. - * NOTE: query parameters are not handled here. - * @param {String} path The path to append to the base URL. - * @param {Object} pathParams The parameter values to append. - * @returns {String} The encoded path with parameter values substituted. - */ - buildUrl(path, pathParams) { - if (!path.match(/^\//)) { - path = '/' + path; - } - - var url = this.basePath + path; - url = url.replace(/\{([\w-]+)\}/g, (fullMatch, key) => { - var value; - if (pathParams.hasOwnProperty(key)) { - value = this.paramToString(pathParams[key]); - } else { - value = fullMatch; - } - - return encodeURIComponent(value); - }); - - return url; - } - - /** - * Checks whether the given content type represents JSON.
- * JSON content type examples:
- *
    - *
  • application/json
  • - *
  • application/json; charset=UTF8
  • - *
  • APPLICATION/JSON
  • - *
- * @param {String} contentType The MIME content type to check. - * @returns {Boolean} true if contentType represents JSON, otherwise false. - */ - isJsonMime(contentType) { - return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i)); - } - - /** - * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first. - * @param {Array.} contentTypes - * @returns {String} The chosen content type, preferring JSON. - */ - jsonPreferredMime(contentTypes) { - for (var i = 0; i < contentTypes.length; i++) { - if (this.isJsonMime(contentTypes[i])) { - return contentTypes[i]; - } - } - - return contentTypes[0]; - } - - /** - * Checks whether the given parameter value represents file-like content. - * @param param The parameter to check. - * @returns {Boolean} true if param represents a file. - */ - isFileParam(param) { - // fs.ReadStream in Node.js and Electron (but not in runtime like browserify) - if (typeof require === 'function') { - let fs; - try { - fs = require('fs'); - } catch (err) {} - if (fs && fs.ReadStream && param instanceof fs.ReadStream) { - return true; - } - } - - // Buffer in Node.js - if (typeof Buffer === 'function' && param instanceof Buffer) { - return true; - } - - // Blob in browser - if (typeof Blob === 'function' && param instanceof Blob) { - return true; - } - - // File in browser (it seems File object is also instance of Blob, but keep this for safe) - if (typeof File === 'function' && param instanceof File) { - return true; - } - - return false; - } - - /** - * Normalizes parameter values: - *
    - *
  • remove nils
  • - *
  • keep files and arrays
  • - *
  • format to string with `paramToString` for other cases
  • - *
- * @param {Object.} params The parameters as object properties. - * @returns {Object.} normalized parameters. - */ - normalizeParams(params) { - var newParams = {}; - for (var key in params) { - if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) { - var value = params[key]; - if (this.isFileParam(value) || Array.isArray(value)) { - newParams[key] = value; - } else { - newParams[key] = this.paramToString(value); - } - } - } - - return newParams; - } - - /** - * Enumeration of collection format separator strategies. - * @enum {String} - * @readonly - */ - static CollectionFormatEnum = { - /** - * Comma-separated values. Value: csv - * @const - */ - CSV: ',', - - /** - * Space-separated values. Value: ssv - * @const - */ - SSV: ' ', - - /** - * Tab-separated values. Value: tsv - * @const - */ - TSV: '\t', - - /** - * Pipe(|)-separated values. Value: pipes - * @const - */ - PIPES: '|', - - /** - * Native array. Value: multi - * @const - */ - MULTI: 'multi' - }; - - /** - * Builds a string representation of an array-type actual parameter, according to the given collection format. - * @param {Array} param An array parameter. - * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy. - * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns - * param as is if collectionFormat is multi. - */ - buildCollectionParam(param, collectionFormat) { - if (param == null) { - return null; - } - switch (collectionFormat) { - case 'csv': - return param.map(this.paramToString).join(','); - case 'ssv': - return param.map(this.paramToString).join(' '); - case 'tsv': - return param.map(this.paramToString).join('\t'); - case 'pipes': - return param.map(this.paramToString).join('|'); - case 'multi': - //return the array directly as SuperAgent will handle it as expected - return param.map(this.paramToString); - default: - throw new Error('Unknown collection format: ' + collectionFormat); - } - } - - /** - * Applies authentication headers to the request. - * @param {Object} request The request object created by a superagent() call. - * @param {Array.} authNames An array of authentication method names. - */ - applyAuthToRequest(request, authNames) { - authNames.forEach((authName) => { - var auth = this.authentications[authName]; - switch (auth.type) { - case 'basic': - if (auth.username || auth.password) { - request.auth(auth.username || '', auth.password || ''); - } - - break; - case 'apiKey': - if (auth.apiKey) { - var data = {}; - if (auth.apiKeyPrefix) { - data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey; - } else { - data[auth.name] = auth.apiKey; - } - - if (auth['in'] === 'header') { - request.set(data); - } else { - request.query(data); - } - } - - break; - case 'oauth2': - if (auth.accessToken) { - request.set({'Authorization': 'Bearer ' + auth.accessToken}); - } - - break; - default: - throw new Error('Unknown authentication type: ' + auth.type); - } - }); - } - - /** - * Deserializes an HTTP response body into a value of the specified type. - * @param {Object} response A SuperAgent response object. - * @param {(String|Array.|Object.|Function)} returnType The type to return. Pass a string for simple types - * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To - * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type: - * all properties on data will be converted to this type. - * @returns A value of the specified type. - */ - deserialize(response, returnType) { - if (response == null || returnType == null || response.status == 204) { - return null; - } - - // Rely on SuperAgent for parsing response body. - // See http://visionmedia.github.io/superagent/#parsing-response-bodies - var data = response.body; - if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) { - // SuperAgent does not always produce a body; use the unparsed response as a fallback - data = response.text; - } - - return ApiClient.convertToType(data, returnType); - } - - /** - * Callback function to receive the result of the operation. - * @callback module:ApiClient~callApiCallback - * @param {String} error Error message, if any. - * @param data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Invokes the REST service using the supplied settings and parameters. - * @param {String} path The base URL to invoke. - * @param {String} httpMethod The HTTP method to use. - * @param {Object.} pathParams A map of path parameters and their values. - * @param {Object.} queryParams A map of query parameters and their values. - * @param {Object.} headerParams A map of header parameters and their values. - * @param {Object.} formParams A map of form parameters and their values. - * @param {Object} bodyParam The value to pass as the request body. - * @param {Array.} authNames An array of authentication type names. - * @param {Array.} contentTypes An array of request MIME types. - * @param {Array.} accepts An array of acceptable response MIME types. - * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the - * constructor for a complex type. - * @param {module:ApiClient~callApiCallback} callback The callback function. - * @returns {Object} The SuperAgent request object. - */ - callApi(path, httpMethod, pathParams, - queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, - returnType, callback) { - - var url = this.buildUrl(path, pathParams); - var request = superagent(httpMethod, url); - - // apply authentications - this.applyAuthToRequest(request, authNames); - - // set query parameters - if (httpMethod.toUpperCase() === 'GET' && this.cache === false) { - queryParams['_'] = new Date().getTime(); - } - - request.query(this.normalizeParams(queryParams)); - - // set header parameters - request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); - - // set requestAgent if it is set by user - if (this.requestAgent) { - request.agent(this.requestAgent); - } - - // set request timeout - request.timeout(this.timeout); - - var contentType = this.jsonPreferredMime(contentTypes); - if (contentType) { - // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746) - if(contentType != 'multipart/form-data') { - request.type(contentType); - } - } else if (!request.header['Content-Type']) { - request.type('application/json'); - } - - if (contentType === 'application/x-www-form-urlencoded') { - request.send(querystring.stringify(this.normalizeParams(formParams))); - } else if (contentType == 'multipart/form-data') { - var _formParams = this.normalizeParams(formParams); - for (var key in _formParams) { - if (_formParams.hasOwnProperty(key)) { - if (this.isFileParam(_formParams[key])) { - // file field - request.attach(key, _formParams[key]); - } else { - request.field(key, _formParams[key]); - } - } - } - } else if (bodyParam) { - request.send(bodyParam); - } - - var accept = this.jsonPreferredMime(accepts); - if (accept) { - request.accept(accept); - } - - if (returnType === 'Blob') { - request.responseType('blob'); - } else if (returnType === 'String') { - request.responseType('string'); - } - - // Attach previously saved cookies, if enabled - if (this.enableCookies){ - if (typeof window === 'undefined') { - this.agent.attachCookies(request); - } - else { - request.withCredentials(); - } - } - - - - request.end((error, response) => { - if (callback) { - var data = null; - if (!error) { - try { - data = this.deserialize(response, returnType); - if (this.enableCookies && typeof window === 'undefined'){ - this.agent.saveCookies(response); - } - } catch (err) { - error = err; - } - } - - callback(error, data, response); - } - }); - - return request; - } - - /** - * Parses an ISO-8601 string representation of a date value. - * @param {String} str The date value as a string. - * @returns {Date} The parsed date object. - */ - static parseDate(str) { - return new Date(str); - } - - /** - * Converts a value to the specified type. - * @param {(String|Object)} data The data to convert, as a string or object. - * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types - * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To - * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type: - * all properties on data will be converted to this type. - * @returns An instance of the specified type or null or undefined if data is null or undefined. - */ - static convertToType(data, type) { - if (data === null || data === undefined) - return data - - switch (type) { - case 'Boolean': - return Boolean(data); - case 'Integer': - return parseInt(data, 10); - case 'Number': - return parseFloat(data); - case 'String': - return String(data); - case 'Date': - return ApiClient.parseDate(String(data)); - case 'Blob': - return data; - default: - if (type === Object) { - // generic object, return directly - return data; - } else if (typeof type === 'function') { - // for model type like: User - return type.constructFromObject(data); - } else if (Array.isArray(type)) { - // for array type like: ['String'] - var itemType = type[0]; - - return data.map((item) => { - return ApiClient.convertToType(item, itemType); - }); - } else if (typeof type === 'object') { - // for plain object type like: {'String': 'Integer'} - var keyType, valueType; - for (var k in type) { - if (type.hasOwnProperty(k)) { - keyType = k; - valueType = type[k]; - break; - } - } - - var result = {}; - for (var k in data) { - if (data.hasOwnProperty(k)) { - var key = ApiClient.convertToType(k, keyType); - var value = ApiClient.convertToType(data[k], valueType); - result[key] = value; - } - } - - return result; - } else { - // for unknown type, return the data directly - return data; - } - } - } - - /** - * Constructs a new map or array model from REST data. - * @param data {Object|Array} The REST data. - * @param obj {Object|Array} The target object or array. - */ - static constructFromObject(data, obj, itemType) { - if (Array.isArray(data)) { - for (var i = 0; i < data.length; i++) { - if (data.hasOwnProperty(i)) - obj[i] = ApiClient.convertToType(data[i], itemType); - } - } else { - for (var k in data) { - if (data.hasOwnProperty(k)) - obj[k] = ApiClient.convertToType(data[k], itemType); - } - } - }; -} - -/** -* The default API client implementation. -* @type {module:ApiClient} -*/ -ApiClient.instance = new ApiClient(); diff --git a/javascript-client-generated/src/api/DefaultApi.js b/javascript-client-generated/src/api/DefaultApi.js deleted file mode 100644 index 0a860fa27..000000000 --- a/javascript-client-generated/src/api/DefaultApi.js +++ /dev/null @@ -1,613 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from "../ApiClient"; -import {AuthenticationRequest} from '../model/AuthenticationRequest'; -import {AuthenticationToken} from '../model/AuthenticationToken'; -import {EnumerateOffset} from '../model/EnumerateOffset'; -import {ModelPackage} from '../model/ModelPackage'; -import {PackageData} from '../model/PackageData'; -import {PackageHistoryEntry} from '../model/PackageHistoryEntry'; -import {PackageID} from '../model/PackageID'; -import {PackageMetadata} from '../model/PackageMetadata'; -import {PackageName} from '../model/PackageName'; -import {PackageQuery} from '../model/PackageQuery'; -import {PackageRating} from '../model/PackageRating'; -import {PackageRegEx} from '../model/PackageRegEx'; - -/** -* Default service. -* @module api/DefaultApi -* @version 2.4.1 -*/ -export class DefaultApi { - - /** - * Constructs a new DefaultApi. - * @alias module:api/DefaultApi - * @class - * @param {module:ApiClient} [apiClient] Optional API client implementation to use, - * default to {@link module:ApiClient#instanc - e} if unspecified. - */ - constructor(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - } - - /** - * Callback function to receive the result of the createAuthToken operation. - * @callback moduleapi/DefaultApi~createAuthTokenCallback - * @param {String} error Error message, if any. - * @param {module:model/AuthenticationToken{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * (NON-BASELINE) - * Create an access token. - * @param {module:model/AuthenticationRequest} body - * @param {module:api/DefaultApi~createAuthTokenCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - createAuthToken(body, callback) { - - let postBody = body; - // verify the required parameter 'body' is set - if (body === undefined || body === null) { - throw new Error("Missing the required parameter 'body' when calling createAuthToken"); - } - - let pathParams = { - - }; - let queryParams = { - - }; - let headerParams = { - - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AuthenticationToken; - - return this.apiClient.callApi( - '/authenticate', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageByNameDelete operation. - * @callback moduleapi/DefaultApi~packageByNameDeleteCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete all versions of this package. (NON-BASELINE) - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:model/PackageName} name - * @param {module:api/DefaultApi~packageByNameDeleteCallback} callback The callback function, accepting three arguments: error, data, response - */ - packageByNameDelete(xAuthorization, name, callback) { - - let postBody = null; - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageByNameDelete"); - } - // verify the required parameter 'name' is set - if (name === undefined || name === null) { - throw new Error("Missing the required parameter 'name' when calling packageByNameDelete"); - } - - let pathParams = { - 'name': name - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - - return this.apiClient.callApi( - '/package/byName/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageByNameGet operation. - * @callback moduleapi/DefaultApi~packageByNameGetCallback - * @param {String} error Error message, if any. - * @param {Array.{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * (NON-BASELINE) - * Return the history of this package (all versions). - * @param {module:model/PackageName} name - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:api/DefaultApi~packageByNameGetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - packageByNameGet(name, xAuthorization, callback) { - - let postBody = null; - // verify the required parameter 'name' is set - if (name === undefined || name === null) { - throw new Error("Missing the required parameter 'name' when calling packageByNameGet"); - } - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageByNameGet"); - } - - let pathParams = { - 'name': name - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [PackageHistoryEntry]; - - return this.apiClient.callApi( - '/package/byName/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageByRegExGet operation. - * @callback moduleapi/DefaultApi~packageByRegExGetCallback - * @param {String} error Error message, if any. - * @param {Array.{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get any packages fitting the regular expression (BASELINE). - * Search for a package using regular expression over package names and READMEs. This is similar to search by name. - * @param {module:model/PackageRegEx} body - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:api/DefaultApi~packageByRegExGetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - packageByRegExGet(body, xAuthorization, callback) { - - let postBody = body; - // verify the required parameter 'body' is set - if (body === undefined || body === null) { - throw new Error("Missing the required parameter 'body' when calling packageByRegExGet"); - } - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageByRegExGet"); - } - - let pathParams = { - - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = [PackageMetadata]; - - return this.apiClient.callApi( - '/package/byRegEx', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageCreate operation. - * @callback moduleapi/DefaultApi~packageCreateCallback - * @param {String} error Error message, if any. - * @param {module:model/ModelPackage{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Upload or Ingest a new package. (BASELINE) - * Upload or Ingest a new package. Packages that are uploaded may have the same name but a new version. Refer to the description above to see how an id is formed for a pacakge. - * @param {module:model/PackageData} body - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:api/DefaultApi~packageCreateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - packageCreate(body, xAuthorization, callback) { - - let postBody = body; - // verify the required parameter 'body' is set - if (body === undefined || body === null) { - throw new Error("Missing the required parameter 'body' when calling packageCreate"); - } - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageCreate"); - } - - let pathParams = { - - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ModelPackage; - - return this.apiClient.callApi( - '/package', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageDelete operation. - * @callback moduleapi/DefaultApi~packageDeleteCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete this version of the package. (NON-BASELINE) - * Delete only the package that matches \"id\". (id is a unique identifier for a packge) - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:model/PackageID} id Package ID - * @param {module:api/DefaultApi~packageDeleteCallback} callback The callback function, accepting three arguments: error, data, response - */ - packageDelete(xAuthorization, id, callback) { - - let postBody = null; - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageDelete"); - } - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling packageDelete"); - } - - let pathParams = { - 'id': id - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - - return this.apiClient.callApi( - '/package/{id}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageRate operation. - * @callback moduleapi/DefaultApi~packageRateCallback - * @param {String} error Error message, if any. - * @param {module:model/PackageRating{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get ratings for this package. (BASELINE) - * @param {module:model/PackageID} id - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:api/DefaultApi~packageRateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - packageRate(id, xAuthorization, callback) { - - let postBody = null; - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling packageRate"); - } - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageRate"); - } - - let pathParams = { - 'id': id - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = PackageRating; - - return this.apiClient.callApi( - '/package/{id}/rate', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageRetrieve operation. - * @callback moduleapi/DefaultApi~packageRetrieveCallback - * @param {String} error Error message, if any. - * @param {module:model/ModelPackage{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Interact with the package with this ID. (BASELINE) - * Return this package. - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:model/PackageID} id ID of package to fetch - * @param {module:api/DefaultApi~packageRetrieveCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - packageRetrieve(xAuthorization, id, callback) { - - let postBody = null; - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageRetrieve"); - } - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling packageRetrieve"); - } - - let pathParams = { - 'id': id - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ModelPackage; - - return this.apiClient.callApi( - '/package/{id}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packageUpdate operation. - * @callback moduleapi/DefaultApi~packageUpdateCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Update this content of the package. (BASELINE) - * The name, version, and ID must match. The package contents (from PackageData) will replace the previous contents. - * @param {module:model/ModelPackage} body - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:model/PackageID} id - * @param {module:api/DefaultApi~packageUpdateCallback} callback The callback function, accepting three arguments: error, data, response - */ - packageUpdate(body, xAuthorization, id, callback) { - - let postBody = body; - // verify the required parameter 'body' is set - if (body === undefined || body === null) { - throw new Error("Missing the required parameter 'body' when calling packageUpdate"); - } - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packageUpdate"); - } - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling packageUpdate"); - } - - let pathParams = { - 'id': id - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = ['application/json']; - let accepts = []; - let returnType = null; - - return this.apiClient.callApi( - '/package/{id}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the packagesList operation. - * @callback moduleapi/DefaultApi~packagesListCallback - * @param {String} error Error message, if any. - * @param {Array.{ data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get the packages from the registry. (BASELINE) - * Get any packages fitting the query. Search for packages satisfying the indicated query. If you want to enumerate all packages, provide an array with a single PackageQuery whose name is \"*\". The response is paginated; the response header includes the offset to use in the next query. In the Request Body below, \"Version\" has all the possible inputs. The \"Version\" cannot be a combinaiton fo the all the possibilities. - * @param {Array.} body - * @param {module:model/AuthenticationToken} xAuthorization - * @param {Object} opts Optional parameters - * @param {module:model/EnumerateOffset} opts.offset Provide this for pagination. If not provided, returns the first page of results. - * @param {module:api/DefaultApi~packagesListCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link <&vendorExtensions.x-jsdoc-type>} - */ - packagesList(body, xAuthorization, opts, callback) { - opts = opts || {}; - let postBody = body; - // verify the required parameter 'body' is set - if (body === undefined || body === null) { - throw new Error("Missing the required parameter 'body' when calling packagesList"); - } - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling packagesList"); - } - - let pathParams = { - - }; - let queryParams = { - 'offset': opts['offset'] - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = [PackageMetadata]; - - return this.apiClient.callApi( - '/packages', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - /** - * Callback function to receive the result of the registryReset operation. - * @callback moduleapi/DefaultApi~registryResetCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Reset the registry. (BASELINE) - * Reset the registry to a system default state. - * @param {module:model/AuthenticationToken} xAuthorization - * @param {module:api/DefaultApi~registryResetCallback} callback The callback function, accepting three arguments: error, data, response - */ - registryReset(xAuthorization, callback) { - - let postBody = null; - // verify the required parameter 'xAuthorization' is set - if (xAuthorization === undefined || xAuthorization === null) { - throw new Error("Missing the required parameter 'xAuthorization' when calling registryReset"); - } - - let pathParams = { - - }; - let queryParams = { - - }; - let headerParams = { - 'X-Authorization': xAuthorization - }; - let formParams = { - - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - - return this.apiClient.callApi( - '/reset', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - -} \ No newline at end of file diff --git a/javascript-client-generated/src/index.js b/javascript-client-generated/src/index.js deleted file mode 100644 index e8768a033..000000000 --- a/javascript-client-generated/src/index.js +++ /dev/null @@ -1,167 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from './ApiClient'; -import {AuthenticationRequest} from './model/AuthenticationRequest'; -import {AuthenticationToken} from './model/AuthenticationToken'; -import {EnumerateOffset} from './model/EnumerateOffset'; -import {ModelPackage} from './model/ModelPackage'; -import {PackageData} from './model/PackageData'; -import {PackageHistoryEntry} from './model/PackageHistoryEntry'; -import {PackageID} from './model/PackageID'; -import {PackageMetadata} from './model/PackageMetadata'; -import {PackageName} from './model/PackageName'; -import {PackageQuery} from './model/PackageQuery'; -import {PackageRating} from './model/PackageRating'; -import {PackageRegEx} from './model/PackageRegEx'; -import {SemverRange} from './model/SemverRange'; -import {User} from './model/User'; -import {UserAuthenticationInfo} from './model/UserAuthenticationInfo'; -import {DefaultApi} from './api/DefaultApi'; - -/** -* API_for_ECE_461Fall_2023Project_Phase_2_A_Trustworthy_Module_RegistryAll_endpoints_have_BASELINE_or_NON_BASELINE_listed__Please_read_through_all_descriptions_before_raising_questions__A_package_ID_is_unique_identifier_for_Package_and_Version___Key_idea___id_is_unique_for_all_pacakges_Eg______PacakgeName_Alpha_PackageVersion_1_1_1___PackageID_988645763_______PacakgeName_Alpha_PackageVersion_1_3_2___PackageID_357898765.
-* The index module provides access to constructors for all the classes which comprise the public API. -*

-* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following: -*

-* var Ece461Fall2023ProjectPhase2 = require('index'); // See note below*.
-* var xxxSvc = new Ece461Fall2023ProjectPhase2.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Ece461Fall2023ProjectPhase2.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-* *NOTE: For a top-level AMD script, use require(['index'], function(){...}) -* and put the application logic within the callback function. -*

-*

-* A non-AMD browser application (discouraged) might do something like this: -*

-* var xxxSvc = new Ece461Fall2023ProjectPhase2.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Ece461Fall2023ProjectPhase2.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 2.4.1 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The AuthenticationRequest model constructor. - * @property {module:model/AuthenticationRequest} - */ - AuthenticationRequest, - - /** - * The AuthenticationToken model constructor. - * @property {module:model/AuthenticationToken} - */ - AuthenticationToken, - - /** - * The EnumerateOffset model constructor. - * @property {module:model/EnumerateOffset} - */ - EnumerateOffset, - - /** - * The ModelPackage model constructor. - * @property {module:model/ModelPackage} - */ - ModelPackage, - - /** - * The PackageData model constructor. - * @property {module:model/PackageData} - */ - PackageData, - - /** - * The PackageHistoryEntry model constructor. - * @property {module:model/PackageHistoryEntry} - */ - PackageHistoryEntry, - - /** - * The PackageID model constructor. - * @property {module:model/PackageID} - */ - PackageID, - - /** - * The PackageMetadata model constructor. - * @property {module:model/PackageMetadata} - */ - PackageMetadata, - - /** - * The PackageName model constructor. - * @property {module:model/PackageName} - */ - PackageName, - - /** - * The PackageQuery model constructor. - * @property {module:model/PackageQuery} - */ - PackageQuery, - - /** - * The PackageRating model constructor. - * @property {module:model/PackageRating} - */ - PackageRating, - - /** - * The PackageRegEx model constructor. - * @property {module:model/PackageRegEx} - */ - PackageRegEx, - - /** - * The SemverRange model constructor. - * @property {module:model/SemverRange} - */ - SemverRange, - - /** - * The User model constructor. - * @property {module:model/User} - */ - User, - - /** - * The UserAuthenticationInfo model constructor. - * @property {module:model/UserAuthenticationInfo} - */ - UserAuthenticationInfo, - - /** - * The DefaultApi service constructor. - * @property {module:api/DefaultApi} - */ - DefaultApi -}; diff --git a/javascript-client-generated/src/model/AuthenticationRequest.js b/javascript-client-generated/src/model/AuthenticationRequest.js deleted file mode 100644 index 988aa2e46..000000000 --- a/javascript-client-generated/src/model/AuthenticationRequest.js +++ /dev/null @@ -1,66 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; -import {User} from './User'; -import {UserAuthenticationInfo} from './UserAuthenticationInfo'; - -/** - * The AuthenticationRequest model module. - * @module model/AuthenticationRequest - * @version 2.4.1 - */ -export class AuthenticationRequest { - /** - * Constructs a new AuthenticationRequest. - * @alias module:model/AuthenticationRequest - * @class - * @param user {module:model/User} - * @param secret {module:model/UserAuthenticationInfo} - */ - constructor(user, secret) { - this.user = user; - this.secret = secret; - } - - /** - * Constructs a AuthenticationRequest from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AuthenticationRequest} obj Optional instance to populate. - * @return {module:model/AuthenticationRequest} The populated AuthenticationRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AuthenticationRequest(); - if (data.hasOwnProperty('User')) - obj.user = User.constructFromObject(data['User']); - if (data.hasOwnProperty('Secret')) - obj.secret = UserAuthenticationInfo.constructFromObject(data['Secret']); - } - return obj; - } -} - -/** - * @member {module:model/User} user - */ -AuthenticationRequest.prototype.user = undefined; - -/** - * @member {module:model/UserAuthenticationInfo} secret - */ -AuthenticationRequest.prototype.secret = undefined; - diff --git a/javascript-client-generated/src/model/AuthenticationToken.js b/javascript-client-generated/src/model/AuthenticationToken.js deleted file mode 100644 index f869248a9..000000000 --- a/javascript-client-generated/src/model/AuthenticationToken.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The AuthenticationToken model module. - * @module model/AuthenticationToken - * @version 2.4.1 - */ -export class AuthenticationToken { - /** - * Constructs a new AuthenticationToken. - * The spec permits you to use any token format you like. You could, for example, look into JSON Web Tokens (\"JWT\", pronounced \"jots\"): https://jwt.io. - * @alias module:model/AuthenticationToken - * @class - */ - constructor() { - } - - /** - * Constructs a AuthenticationToken from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AuthenticationToken} obj Optional instance to populate. - * @return {module:model/AuthenticationToken} The populated AuthenticationToken instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AuthenticationToken(); - } - return obj; - } -} diff --git a/javascript-client-generated/src/model/EnumerateOffset.js b/javascript-client-generated/src/model/EnumerateOffset.js deleted file mode 100644 index 73e7d0c46..000000000 --- a/javascript-client-generated/src/model/EnumerateOffset.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The EnumerateOffset model module. - * @module model/EnumerateOffset - * @version 2.4.1 - */ -export class EnumerateOffset { - /** - * Constructs a new EnumerateOffset. - * Offset in pagination. - * @alias module:model/EnumerateOffset - * @class - */ - constructor() { - } - - /** - * Constructs a EnumerateOffset from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/EnumerateOffset} obj Optional instance to populate. - * @return {module:model/EnumerateOffset} The populated EnumerateOffset instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new EnumerateOffset(); - } - return obj; - } -} diff --git a/javascript-client-generated/src/model/ModelPackage.js b/javascript-client-generated/src/model/ModelPackage.js deleted file mode 100644 index 36ecde266..000000000 --- a/javascript-client-generated/src/model/ModelPackage.js +++ /dev/null @@ -1,66 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; -import {PackageData} from './PackageData'; -import {PackageMetadata} from './PackageMetadata'; - -/** - * The ModelPackage model module. - * @module model/ModelPackage - * @version 2.4.1 - */ -export class ModelPackage { - /** - * Constructs a new ModelPackage. - * @alias module:model/ModelPackage - * @class - * @param metadata {module:model/PackageMetadata} - * @param data {module:model/PackageData} - */ - constructor(metadata, data) { - this.metadata = metadata; - this.data = data; - } - - /** - * Constructs a ModelPackage from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ModelPackage} obj Optional instance to populate. - * @return {module:model/ModelPackage} The populated ModelPackage instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ModelPackage(); - if (data.hasOwnProperty('metadata')) - obj.metadata = PackageMetadata.constructFromObject(data['metadata']); - if (data.hasOwnProperty('data')) - obj.data = PackageData.constructFromObject(data['data']); - } - return obj; - } -} - -/** - * @member {module:model/PackageMetadata} metadata - */ -ModelPackage.prototype.metadata = undefined; - -/** - * @member {module:model/PackageData} data - */ -ModelPackage.prototype.data = undefined; - diff --git a/javascript-client-generated/src/model/PackageData.js b/javascript-client-generated/src/model/PackageData.js deleted file mode 100644 index ebf5c782a..000000000 --- a/javascript-client-generated/src/model/PackageData.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The PackageData model module. - * @module model/PackageData - * @version 2.4.1 - */ -export class PackageData { - /** - * Constructs a new PackageData. - * This is a \"union\" type. - On package upload, either Content or URL should be set. If both are set, returns 400. - On package update, exactly one field should be set. - On download, the Content field should be set. - * @alias module:model/PackageData - * @class - */ - constructor() { - } - - /** - * Constructs a PackageData from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageData} obj Optional instance to populate. - * @return {module:model/PackageData} The populated PackageData instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageData(); - if (data.hasOwnProperty('Content')) - obj.content = ApiClient.convertToType(data['Content'], 'String'); - if (data.hasOwnProperty('URL')) - obj.URL = ApiClient.convertToType(data['URL'], 'String'); - if (data.hasOwnProperty('JSProgram')) - obj.jSProgram = ApiClient.convertToType(data['JSProgram'], 'String'); - } - return obj; - } -} - -/** - * Package contents. This is the zip file uploaded by the user. (Encoded as text using a Base64 encoding). This will be a zipped version of an npm package's GitHub repository, minus the \".git/\" directory.\" It will, for example, include the \"package.json\" file that can be used to retrieve the project homepage. See https://docs.npmjs.com/cli/v7/configuring-npm/package-json#homepage. - * @member {String} content - */ -PackageData.prototype.content = undefined; - -/** - * Package URL (for use in public ingest). - * @member {String} URL - */ -PackageData.prototype.URL = undefined; - -/** - * A JavaScript program (for use with sensitive modules). - * @member {String} jSProgram - */ -PackageData.prototype.jSProgram = undefined; - diff --git a/javascript-client-generated/src/model/PackageHistoryEntry.js b/javascript-client-generated/src/model/PackageHistoryEntry.js deleted file mode 100644 index e5f427a81..000000000 --- a/javascript-client-generated/src/model/PackageHistoryEntry.js +++ /dev/null @@ -1,116 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; -import {PackageMetadata} from './PackageMetadata'; -import {User} from './User'; - -/** - * The PackageHistoryEntry model module. - * @module model/PackageHistoryEntry - * @version 2.4.1 - */ -export class PackageHistoryEntry { - /** - * Constructs a new PackageHistoryEntry. - * One entry of the history of this package. - * @alias module:model/PackageHistoryEntry - * @class - * @param user {module:model/User} - * @param _date {Date} Date of activity using ISO-8601 Datetime standard in UTC format. - * @param packageMetadata {module:model/PackageMetadata} - * @param action {module:model/PackageHistoryEntry.ActionEnum} - */ - constructor(user, _date, packageMetadata, action) { - this.user = user; - this._date = _date; - this.packageMetadata = packageMetadata; - this.action = action; - } - - /** - * Constructs a PackageHistoryEntry from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageHistoryEntry} obj Optional instance to populate. - * @return {module:model/PackageHistoryEntry} The populated PackageHistoryEntry instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageHistoryEntry(); - if (data.hasOwnProperty('User')) - obj.user = User.constructFromObject(data['User']); - if (data.hasOwnProperty('Date')) - obj._date = ApiClient.convertToType(data['Date'], 'Date'); - if (data.hasOwnProperty('PackageMetadata')) - obj.packageMetadata = PackageMetadata.constructFromObject(data['PackageMetadata']); - if (data.hasOwnProperty('Action')) - obj.action = ApiClient.convertToType(data['Action'], 'String'); - } - return obj; - } -} - -/** - * @member {module:model/User} user - */ -PackageHistoryEntry.prototype.user = undefined; - -/** - * Date of activity using ISO-8601 Datetime standard in UTC format. - * @member {Date} _date - */ -PackageHistoryEntry.prototype._date = undefined; - -/** - * @member {module:model/PackageMetadata} packageMetadata - */ -PackageHistoryEntry.prototype.packageMetadata = undefined; - -/** - * Allowed values for the action property. - * @enum {String} - * @readonly - */ -PackageHistoryEntry.ActionEnum = { - /** - * value: "CREATE" - * @const - */ - CREATE: "CREATE", - - /** - * value: "UPDATE" - * @const - */ - UPDATE: "UPDATE", - - /** - * value: "DOWNLOAD" - * @const - */ - DOWNLOAD: "DOWNLOAD", - - /** - * value: "RATE" - * @const - */ - RATE: "RATE" -}; -/** - * @member {module:model/PackageHistoryEntry.ActionEnum} action - */ -PackageHistoryEntry.prototype.action = undefined; - diff --git a/javascript-client-generated/src/model/PackageID.js b/javascript-client-generated/src/model/PackageID.js deleted file mode 100644 index 35829fe24..000000000 --- a/javascript-client-generated/src/model/PackageID.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The PackageID model module. - * @module model/PackageID - * @version 2.4.1 - */ -export class PackageID { - /** - * Constructs a new PackageID. - * @alias module:model/PackageID - * @class - */ - constructor() { - } - - /** - * Constructs a PackageID from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageID} obj Optional instance to populate. - * @return {module:model/PackageID} The populated PackageID instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageID(); - } - return obj; - } -} diff --git a/javascript-client-generated/src/model/PackageMetadata.js b/javascript-client-generated/src/model/PackageMetadata.js deleted file mode 100644 index e721fe886..000000000 --- a/javascript-client-generated/src/model/PackageMetadata.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; -import {PackageID} from './PackageID'; -import {PackageName} from './PackageName'; - -/** - * The PackageMetadata model module. - * @module model/PackageMetadata - * @version 2.4.1 - */ -export class PackageMetadata { - /** - * Constructs a new PackageMetadata. - * The \"Name\" and \"Version\" are used as a unique identifier pair when uploading a package. The \"ID\" is used as an internal identifier for interacting with existing packages. - * @alias module:model/PackageMetadata - * @class - * @param name {module:model/PackageName} - * @param version {String} Package version - * @param ID {module:model/PackageID} - */ - constructor(name, version, ID) { - this.name = name; - this.version = version; - this.ID = ID; - } - - /** - * Constructs a PackageMetadata from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageMetadata} obj Optional instance to populate. - * @return {module:model/PackageMetadata} The populated PackageMetadata instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageMetadata(); - if (data.hasOwnProperty('Name')) - obj.name = PackageName.constructFromObject(data['Name']); - if (data.hasOwnProperty('Version')) - obj.version = ApiClient.convertToType(data['Version'], 'String'); - if (data.hasOwnProperty('ID')) - obj.ID = PackageID.constructFromObject(data['ID']); - } - return obj; - } -} - -/** - * @member {module:model/PackageName} name - */ -PackageMetadata.prototype.name = undefined; - -/** - * Package version - * @member {String} version - */ -PackageMetadata.prototype.version = undefined; - -/** - * @member {module:model/PackageID} ID - */ -PackageMetadata.prototype.ID = undefined; - diff --git a/javascript-client-generated/src/model/PackageName.js b/javascript-client-generated/src/model/PackageName.js deleted file mode 100644 index 027061303..000000000 --- a/javascript-client-generated/src/model/PackageName.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The PackageName model module. - * @module model/PackageName - * @version 2.4.1 - */ -export class PackageName { - /** - * Constructs a new PackageName. - * Name of a package. - Names should only use typical \"keyboard\" characters. - The name \"*\" is reserved. See the `/packages` API for its meaning. - * @alias module:model/PackageName - * @class - */ - constructor() { - } - - /** - * Constructs a PackageName from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageName} obj Optional instance to populate. - * @return {module:model/PackageName} The populated PackageName instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageName(); - } - return obj; - } -} diff --git a/javascript-client-generated/src/model/PackageQuery.js b/javascript-client-generated/src/model/PackageQuery.js deleted file mode 100644 index e8f9f063f..000000000 --- a/javascript-client-generated/src/model/PackageQuery.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; -import {PackageName} from './PackageName'; -import {SemverRange} from './SemverRange'; - -/** - * The PackageQuery model module. - * @module model/PackageQuery - * @version 2.4.1 - */ -export class PackageQuery { - /** - * Constructs a new PackageQuery. - * @alias module:model/PackageQuery - * @class - * @param name {module:model/PackageName} - */ - constructor(name) { - this.name = name; - } - - /** - * Constructs a PackageQuery from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageQuery} obj Optional instance to populate. - * @return {module:model/PackageQuery} The populated PackageQuery instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageQuery(); - if (data.hasOwnProperty('Version')) - obj.version = SemverRange.constructFromObject(data['Version']); - if (data.hasOwnProperty('Name')) - obj.name = PackageName.constructFromObject(data['Name']); - } - return obj; - } -} - -/** - * @member {module:model/SemverRange} version - */ -PackageQuery.prototype.version = undefined; - -/** - * @member {module:model/PackageName} name - */ -PackageQuery.prototype.name = undefined; - diff --git a/javascript-client-generated/src/model/PackageRating.js b/javascript-client-generated/src/model/PackageRating.js deleted file mode 100644 index 3eb781821..000000000 --- a/javascript-client-generated/src/model/PackageRating.js +++ /dev/null @@ -1,122 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The PackageRating model module. - * @module model/PackageRating - * @version 2.4.1 - */ -export class PackageRating { - /** - * Constructs a new PackageRating. - * Package rating (cf. Project 1). If the Project 1 that you inherited does not support one or more of the original properties, denote this with the value \"-1\". - * @alias module:model/PackageRating - * @class - * @param busFactor {Number} - * @param correctness {Number} - * @param rampUp {Number} - * @param responsiveMaintainer {Number} - * @param licenseScore {Number} - * @param goodPinningPractice {Number} The fraction of its dependencies that are pinned to at least a specific major+minor version, e.g. version 2.3.X of a package. (If there are zero dependencies, they should receive a 1.0 rating. If there are two dependencies, one pinned to this degree, then they should receive a ½ = 0.5 rating). - * @param pullRequest {Number} The fraction of project code that was introduced through pull requests with a code review. - * @param netScore {Number} Scores calculated from other seven metrics. - */ - constructor(busFactor, correctness, rampUp, responsiveMaintainer, licenseScore, goodPinningPractice, pullRequest, netScore) { - this.busFactor = busFactor; - this.correctness = correctness; - this.rampUp = rampUp; - this.responsiveMaintainer = responsiveMaintainer; - this.licenseScore = licenseScore; - this.goodPinningPractice = goodPinningPractice; - this.pullRequest = pullRequest; - this.netScore = netScore; - } - - /** - * Constructs a PackageRating from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageRating} obj Optional instance to populate. - * @return {module:model/PackageRating} The populated PackageRating instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageRating(); - if (data.hasOwnProperty('BusFactor')) - obj.busFactor = ApiClient.convertToType(data['BusFactor'], 'Number'); - if (data.hasOwnProperty('Correctness')) - obj.correctness = ApiClient.convertToType(data['Correctness'], 'Number'); - if (data.hasOwnProperty('RampUp')) - obj.rampUp = ApiClient.convertToType(data['RampUp'], 'Number'); - if (data.hasOwnProperty('ResponsiveMaintainer')) - obj.responsiveMaintainer = ApiClient.convertToType(data['ResponsiveMaintainer'], 'Number'); - if (data.hasOwnProperty('LicenseScore')) - obj.licenseScore = ApiClient.convertToType(data['LicenseScore'], 'Number'); - if (data.hasOwnProperty('GoodPinningPractice')) - obj.goodPinningPractice = ApiClient.convertToType(data['GoodPinningPractice'], 'Number'); - if (data.hasOwnProperty('PullRequest')) - obj.pullRequest = ApiClient.convertToType(data['PullRequest'], 'Number'); - if (data.hasOwnProperty('NetScore')) - obj.netScore = ApiClient.convertToType(data['NetScore'], 'Number'); - } - return obj; - } -} - -/** - * @member {Number} busFactor - */ -PackageRating.prototype.busFactor = undefined; - -/** - * @member {Number} correctness - */ -PackageRating.prototype.correctness = undefined; - -/** - * @member {Number} rampUp - */ -PackageRating.prototype.rampUp = undefined; - -/** - * @member {Number} responsiveMaintainer - */ -PackageRating.prototype.responsiveMaintainer = undefined; - -/** - * @member {Number} licenseScore - */ -PackageRating.prototype.licenseScore = undefined; - -/** - * The fraction of its dependencies that are pinned to at least a specific major+minor version, e.g. version 2.3.X of a package. (If there are zero dependencies, they should receive a 1.0 rating. If there are two dependencies, one pinned to this degree, then they should receive a ½ = 0.5 rating). - * @member {Number} goodPinningPractice - */ -PackageRating.prototype.goodPinningPractice = undefined; - -/** - * The fraction of project code that was introduced through pull requests with a code review. - * @member {Number} pullRequest - */ -PackageRating.prototype.pullRequest = undefined; - -/** - * Scores calculated from other seven metrics. - * @member {Number} netScore - */ -PackageRating.prototype.netScore = undefined; - diff --git a/javascript-client-generated/src/model/PackageRegEx.js b/javascript-client-generated/src/model/PackageRegEx.js deleted file mode 100644 index c33295e80..000000000 --- a/javascript-client-generated/src/model/PackageRegEx.js +++ /dev/null @@ -1,56 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The PackageRegEx model module. - * @module model/PackageRegEx - * @version 2.4.1 - */ -export class PackageRegEx { - /** - * Constructs a new PackageRegEx. - * @alias module:model/PackageRegEx - * @class - * @param regEx {String} A regular expression over package names and READMEs that is used for searching for a package - */ - constructor(regEx) { - this.regEx = regEx; - } - - /** - * Constructs a PackageRegEx from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/PackageRegEx} obj Optional instance to populate. - * @return {module:model/PackageRegEx} The populated PackageRegEx instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PackageRegEx(); - if (data.hasOwnProperty('RegEx')) - obj.regEx = ApiClient.convertToType(data['RegEx'], 'String'); - } - return obj; - } -} - -/** - * A regular expression over package names and READMEs that is used for searching for a package - * @member {String} regEx - */ -PackageRegEx.prototype.regEx = undefined; - diff --git a/javascript-client-generated/src/model/SemverRange.js b/javascript-client-generated/src/model/SemverRange.js deleted file mode 100644 index 65734c861..000000000 --- a/javascript-client-generated/src/model/SemverRange.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The SemverRange model module. - * @module model/SemverRange - * @version 2.4.1 - */ -export class SemverRange { - /** - * Constructs a new SemverRange. - * @alias module:model/SemverRange - * @class - */ - constructor() { - } - - /** - * Constructs a SemverRange from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/SemverRange} obj Optional instance to populate. - * @return {module:model/SemverRange} The populated SemverRange instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new SemverRange(); - } - return obj; - } -} diff --git a/javascript-client-generated/src/model/User.js b/javascript-client-generated/src/model/User.js deleted file mode 100644 index 879019804..000000000 --- a/javascript-client-generated/src/model/User.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The User model module. - * @module model/User - * @version 2.4.1 - */ -export class User { - /** - * Constructs a new User. - * @alias module:model/User - * @class - * @param name {String} - * @param isAdmin {Boolean} Is this user an admin? - */ - constructor(name, isAdmin) { - this.name = name; - this.isAdmin = isAdmin; - } - - /** - * Constructs a User from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/User} obj Optional instance to populate. - * @return {module:model/User} The populated User instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new User(); - if (data.hasOwnProperty('name')) - obj.name = ApiClient.convertToType(data['name'], 'String'); - if (data.hasOwnProperty('isAdmin')) - obj.isAdmin = ApiClient.convertToType(data['isAdmin'], 'Boolean'); - } - return obj; - } -} - -/** - * @member {String} name - */ -User.prototype.name = undefined; - -/** - * Is this user an admin? - * @member {Boolean} isAdmin - */ -User.prototype.isAdmin = undefined; - diff --git a/javascript-client-generated/src/model/UserAuthenticationInfo.js b/javascript-client-generated/src/model/UserAuthenticationInfo.js deleted file mode 100644 index 1e235e0d9..000000000 --- a/javascript-client-generated/src/model/UserAuthenticationInfo.js +++ /dev/null @@ -1,57 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -import {ApiClient} from '../ApiClient'; - -/** - * The UserAuthenticationInfo model module. - * @module model/UserAuthenticationInfo - * @version 2.4.1 - */ -export class UserAuthenticationInfo { - /** - * Constructs a new UserAuthenticationInfo. - * Authentication info for a user - * @alias module:model/UserAuthenticationInfo - * @class - * @param password {String} Password for a user. Per the spec, this should be a \"strong\" password. - */ - constructor(password) { - this.password = password; - } - - /** - * Constructs a UserAuthenticationInfo from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UserAuthenticationInfo} obj Optional instance to populate. - * @return {module:model/UserAuthenticationInfo} The populated UserAuthenticationInfo instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserAuthenticationInfo(); - if (data.hasOwnProperty('password')) - obj.password = ApiClient.convertToType(data['password'], 'String'); - } - return obj; - } -} - -/** - * Password for a user. Per the spec, this should be a \"strong\" password. - * @member {String} password - */ -UserAuthenticationInfo.prototype.password = undefined; - diff --git a/javascript-client-generated/test/api/DefaultApi.spec.js b/javascript-client-generated/test/api/DefaultApi.spec.js deleted file mode 100644 index 2e007a9cf..000000000 --- a/javascript-client-generated/test/api/DefaultApi.spec.js +++ /dev/null @@ -1,272 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.DefaultApi(); - }); - - describe('(package)', function() { - describe('DefaultApi', function() { - describe('createAuthToken', function() { - it('should call createAuthToken successfully', function(done) { - // TODO: uncomment, update parameter values for createAuthToken call and complete the assertions - /* - - instance.createAuthToken(body, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.AuthenticationToken); - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageByNameDelete', function() { - it('should call packageByNameDelete successfully', function(done) { - // TODO: uncomment, update parameter values for packageByNameDelete call - /* - - instance.packageByNameDelete(xAuthorization, name, function(error, data, response) { - if (error) { - done(error); - return; - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageByNameGet', function() { - it('should call packageByNameGet successfully', function(done) { - // TODO: uncomment, update parameter values for packageByNameGet call and complete the assertions - /* - - instance.packageByNameGet(name, xAuthorization, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - let dataCtr = data; - expect(dataCtr).to.be.an(Array); - expect(dataCtr).to.not.be.empty(); - for (let p in dataCtr) { - let data = dataCtr[p]; - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.PackageHistoryEntry); - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageByRegExGet', function() { - it('should call packageByRegExGet successfully', function(done) { - // TODO: uncomment, update parameter values for packageByRegExGet call and complete the assertions - /* - - instance.packageByRegExGet(body, xAuthorization, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - let dataCtr = data; - expect(dataCtr).to.be.an(Array); - expect(dataCtr).to.not.be.empty(); - for (let p in dataCtr) { - let data = dataCtr[p]; - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.PackageMetadata); - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageCreate', function() { - it('should call packageCreate successfully', function(done) { - // TODO: uncomment, update parameter values for packageCreate call and complete the assertions - /* - - instance.packageCreate(body, xAuthorization, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.ModelPackage); - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageDelete', function() { - it('should call packageDelete successfully', function(done) { - // TODO: uncomment, update parameter values for packageDelete call - /* - - instance.packageDelete(xAuthorization, id, function(error, data, response) { - if (error) { - done(error); - return; - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageRate', function() { - it('should call packageRate successfully', function(done) { - // TODO: uncomment, update parameter values for packageRate call and complete the assertions - /* - - instance.packageRate(id, xAuthorization, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.PackageRating); - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageRetrieve', function() { - it('should call packageRetrieve successfully', function(done) { - // TODO: uncomment, update parameter values for packageRetrieve call and complete the assertions - /* - - instance.packageRetrieve(xAuthorization, id, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.ModelPackage); - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packageUpdate', function() { - it('should call packageUpdate successfully', function(done) { - // TODO: uncomment, update parameter values for packageUpdate call - /* - - instance.packageUpdate(body, xAuthorization, id, function(error, data, response) { - if (error) { - done(error); - return; - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('packagesList', function() { - it('should call packagesList successfully', function(done) { - // TODO: uncomment, update parameter values for packagesList call and complete the assertions - /* - var opts = {}; - - instance.packagesList(body, xAuthorization, opts, function(error, data, response) { - if (error) { - done(error); - return; - } - // TODO: update response assertions - let dataCtr = data; - expect(dataCtr).to.be.an(Array); - expect(dataCtr).to.not.be.empty(); - for (let p in dataCtr) { - let data = dataCtr[p]; - expect(data).to.be.a(Ece461Fall2023ProjectPhase2.PackageMetadata); - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - describe('registryReset', function() { - it('should call registryReset successfully', function(done) { - // TODO: uncomment, update parameter values for registryReset call - /* - - instance.registryReset(xAuthorization, function(error, data, response) { - if (error) { - done(error); - return; - } - - done(); - }); - */ - // TODO: uncomment and complete method invocation above, then delete this line and the next: - done(); - }); - }); - }); - }); - -})); diff --git a/javascript-client-generated/test/assert-equals.js b/javascript-client-generated/test/assert-equals.js deleted file mode 100644 index b95cd5f03..000000000 --- a/javascript-client-generated/test/assert-equals.js +++ /dev/null @@ -1,81 +0,0 @@ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(); - } else { - // Browser globals (root is window) - root.assertEquals = factory(); - } -}(this, function() { - 'use strict'; - - var assertEquals = function(expected, actual, ptr) { - if (!ptr) - ptr = ""; - if (actual === expected) - return; - if (expected instanceof Date || actual instanceof Date) { - expected = toISODateString(expected); - actual = toISODateString(actual); - if (actual !== expected) - fail(expected, actual, ptr, "date value incorrect;"); - } - if (!expected || !actual || typeof expected != 'object' && typeof actual != 'object') { - if (typeof actual != typeof expected) - fail(typeof expected, typeof actual, ptr, "value type incorrect;"); - if (actual != expected) - fail(expected, actual, ptr, "value incorrect;"); - } - return checkObject(expected, actual, ptr); - } - - function toISODateString(value) { - if (value instanceof Date) { - // JavaScript's ISO string contains a milliseconds component that must be stripped out. - value = value.toISOString().replace('.000', ''); - } - return value; - } - - function checkObject(expected, actual, ptr) { - if (undefOrNull(expected) || undefOrNull(actual)) - fail(expected, actual, ptr, "missing value;"); - if (typeof expected !== typeof actual) - fail(typeof expected, typeof actual, ptr, "wrong type;"); - if (expected.prototype !== actual.prototype) - fail(expected.prototype, actual.prototype, ptr, "wrong prototype;"); - try { - var expectedKeys = Object.keys(expected); - var actualKeys = Object.keys(actual); - } catch (e) { - fail(expectedKeys, actualKeys, ptr, "wrong keys;"); - } - if (actualKeys.length != expectedKeys.length) - fail(expectedKeys.length, actualKeys.length, ptr, "key count incorrect;"); - expectedKeys.sort(); - actualKeys.sort(); - for (var i = 0; i < expectedKeys.length; i++) { - if (actualKeys[i] != expectedKeys[i]) - fail(expectedKeys, actualKeys, ptr, "wrong keys;"); - } - for (i = 0; i < expectedKeys.length; i++) { - var key = expectedKeys[i]; - assertEquals(expected[key], actual[key], ptr + '/' + key); - } - } - - function undefOrNull(v) { - return v === undefined || v === null; - } - - function fail(expected, actual, ptr, msg) { - var text = ptr + ' ' + msg + " expected: " + expected + ", actual: " + actual; - console.log(text); - throw new Error(text); - } - - return assertEquals; -})); diff --git a/javascript-client-generated/test/model/AuthenticationRequest.spec.js b/javascript-client-generated/test/model/AuthenticationRequest.spec.js deleted file mode 100644 index 66bec4e17..000000000 --- a/javascript-client-generated/test/model/AuthenticationRequest.spec.js +++ /dev/null @@ -1,58 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('AuthenticationRequest', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.AuthenticationRequest(); - }); - - it('should create an instance of AuthenticationRequest', function() { - // TODO: update the code to test AuthenticationRequest - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.AuthenticationRequest); - }); - - it('should have the property user (base name: "User")', function() { - // TODO: update the code to test the property user - expect(instance).to.have.property('user'); - // expect(instance.user).to.be(expectedValueLiteral); - }); - - it('should have the property secret (base name: "Secret")', function() { - // TODO: update the code to test the property secret - expect(instance).to.have.property('secret'); - // expect(instance.secret).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/AuthenticationToken.spec.js b/javascript-client-generated/test/model/AuthenticationToken.spec.js deleted file mode 100644 index 02ff6fbad..000000000 --- a/javascript-client-generated/test/model/AuthenticationToken.spec.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('AuthenticationToken', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.AuthenticationToken(); - }); - - it('should create an instance of AuthenticationToken', function() { - // TODO: update the code to test AuthenticationToken - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.AuthenticationToken); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/EnumerateOffset.spec.js b/javascript-client-generated/test/model/EnumerateOffset.spec.js deleted file mode 100644 index 118691264..000000000 --- a/javascript-client-generated/test/model/EnumerateOffset.spec.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('EnumerateOffset', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.EnumerateOffset(); - }); - - it('should create an instance of EnumerateOffset', function() { - // TODO: update the code to test EnumerateOffset - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.EnumerateOffset); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/ModelPackage.spec.js b/javascript-client-generated/test/model/ModelPackage.spec.js deleted file mode 100644 index e61a0616f..000000000 --- a/javascript-client-generated/test/model/ModelPackage.spec.js +++ /dev/null @@ -1,58 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('ModelPackage', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.ModelPackage(); - }); - - it('should create an instance of ModelPackage', function() { - // TODO: update the code to test ModelPackage - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.ModelPackage); - }); - - it('should have the property metadata (base name: "metadata")', function() { - // TODO: update the code to test the property metadata - expect(instance).to.have.property('metadata'); - // expect(instance.metadata).to.be(expectedValueLiteral); - }); - - it('should have the property data (base name: "data")', function() { - // TODO: update the code to test the property data - expect(instance).to.have.property('data'); - // expect(instance.data).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageData.spec.js b/javascript-client-generated/test/model/PackageData.spec.js deleted file mode 100644 index 41dba5fa5..000000000 --- a/javascript-client-generated/test/model/PackageData.spec.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageData', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageData(); - }); - - it('should create an instance of PackageData', function() { - // TODO: update the code to test PackageData - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageData); - }); - - it('should have the property content (base name: "Content")', function() { - // TODO: update the code to test the property content - expect(instance).to.have.property('content'); - // expect(instance.content).to.be(expectedValueLiteral); - }); - - it('should have the property URL (base name: "URL")', function() { - // TODO: update the code to test the property URL - expect(instance).to.have.property('URL'); - // expect(instance.URL).to.be(expectedValueLiteral); - }); - - it('should have the property jSProgram (base name: "JSProgram")', function() { - // TODO: update the code to test the property jSProgram - expect(instance).to.have.property('jSProgram'); - // expect(instance.jSProgram).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageHistoryEntry.spec.js b/javascript-client-generated/test/model/PackageHistoryEntry.spec.js deleted file mode 100644 index 2556ad77c..000000000 --- a/javascript-client-generated/test/model/PackageHistoryEntry.spec.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageHistoryEntry', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageHistoryEntry(); - }); - - it('should create an instance of PackageHistoryEntry', function() { - // TODO: update the code to test PackageHistoryEntry - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageHistoryEntry); - }); - - it('should have the property user (base name: "User")', function() { - // TODO: update the code to test the property user - expect(instance).to.have.property('user'); - // expect(instance.user).to.be(expectedValueLiteral); - }); - - it('should have the property _date (base name: "Date")', function() { - // TODO: update the code to test the property _date - expect(instance).to.have.property('_date'); - // expect(instance._date).to.be(expectedValueLiteral); - }); - - it('should have the property packageMetadata (base name: "PackageMetadata")', function() { - // TODO: update the code to test the property packageMetadata - expect(instance).to.have.property('packageMetadata'); - // expect(instance.packageMetadata).to.be(expectedValueLiteral); - }); - - it('should have the property action (base name: "Action")', function() { - // TODO: update the code to test the property action - expect(instance).to.have.property('action'); - // expect(instance.action).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageID.spec.js b/javascript-client-generated/test/model/PackageID.spec.js deleted file mode 100644 index 74607ebe9..000000000 --- a/javascript-client-generated/test/model/PackageID.spec.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageID', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageID(); - }); - - it('should create an instance of PackageID', function() { - // TODO: update the code to test PackageID - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageID); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageMetadata.spec.js b/javascript-client-generated/test/model/PackageMetadata.spec.js deleted file mode 100644 index 2ee492d65..000000000 --- a/javascript-client-generated/test/model/PackageMetadata.spec.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageMetadata', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageMetadata(); - }); - - it('should create an instance of PackageMetadata', function() { - // TODO: update the code to test PackageMetadata - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageMetadata); - }); - - it('should have the property name (base name: "Name")', function() { - // TODO: update the code to test the property name - expect(instance).to.have.property('name'); - // expect(instance.name).to.be(expectedValueLiteral); - }); - - it('should have the property version (base name: "Version")', function() { - // TODO: update the code to test the property version - expect(instance).to.have.property('version'); - // expect(instance.version).to.be(expectedValueLiteral); - }); - - it('should have the property ID (base name: "ID")', function() { - // TODO: update the code to test the property ID - expect(instance).to.have.property('ID'); - // expect(instance.ID).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageName.spec.js b/javascript-client-generated/test/model/PackageName.spec.js deleted file mode 100644 index f32b37b93..000000000 --- a/javascript-client-generated/test/model/PackageName.spec.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageName', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageName(); - }); - - it('should create an instance of PackageName', function() { - // TODO: update the code to test PackageName - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageName); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageQuery.spec.js b/javascript-client-generated/test/model/PackageQuery.spec.js deleted file mode 100644 index b99720639..000000000 --- a/javascript-client-generated/test/model/PackageQuery.spec.js +++ /dev/null @@ -1,58 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageQuery', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageQuery(); - }); - - it('should create an instance of PackageQuery', function() { - // TODO: update the code to test PackageQuery - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageQuery); - }); - - it('should have the property version (base name: "Version")', function() { - // TODO: update the code to test the property version - expect(instance).to.have.property('version'); - // expect(instance.version).to.be(expectedValueLiteral); - }); - - it('should have the property name (base name: "Name")', function() { - // TODO: update the code to test the property name - expect(instance).to.have.property('name'); - // expect(instance.name).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageRating.spec.js b/javascript-client-generated/test/model/PackageRating.spec.js deleted file mode 100644 index ab7a27779..000000000 --- a/javascript-client-generated/test/model/PackageRating.spec.js +++ /dev/null @@ -1,94 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageRating', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageRating(); - }); - - it('should create an instance of PackageRating', function() { - // TODO: update the code to test PackageRating - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageRating); - }); - - it('should have the property busFactor (base name: "BusFactor")', function() { - // TODO: update the code to test the property busFactor - expect(instance).to.have.property('busFactor'); - // expect(instance.busFactor).to.be(expectedValueLiteral); - }); - - it('should have the property correctness (base name: "Correctness")', function() { - // TODO: update the code to test the property correctness - expect(instance).to.have.property('correctness'); - // expect(instance.correctness).to.be(expectedValueLiteral); - }); - - it('should have the property rampUp (base name: "RampUp")', function() { - // TODO: update the code to test the property rampUp - expect(instance).to.have.property('rampUp'); - // expect(instance.rampUp).to.be(expectedValueLiteral); - }); - - it('should have the property responsiveMaintainer (base name: "ResponsiveMaintainer")', function() { - // TODO: update the code to test the property responsiveMaintainer - expect(instance).to.have.property('responsiveMaintainer'); - // expect(instance.responsiveMaintainer).to.be(expectedValueLiteral); - }); - - it('should have the property licenseScore (base name: "LicenseScore")', function() { - // TODO: update the code to test the property licenseScore - expect(instance).to.have.property('licenseScore'); - // expect(instance.licenseScore).to.be(expectedValueLiteral); - }); - - it('should have the property goodPinningPractice (base name: "GoodPinningPractice")', function() { - // TODO: update the code to test the property goodPinningPractice - expect(instance).to.have.property('goodPinningPractice'); - // expect(instance.goodPinningPractice).to.be(expectedValueLiteral); - }); - - it('should have the property pullRequest (base name: "PullRequest")', function() { - // TODO: update the code to test the property pullRequest - expect(instance).to.have.property('pullRequest'); - // expect(instance.pullRequest).to.be(expectedValueLiteral); - }); - - it('should have the property netScore (base name: "NetScore")', function() { - // TODO: update the code to test the property netScore - expect(instance).to.have.property('netScore'); - // expect(instance.netScore).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/PackageRegEx.spec.js b/javascript-client-generated/test/model/PackageRegEx.spec.js deleted file mode 100644 index 1f95cd877..000000000 --- a/javascript-client-generated/test/model/PackageRegEx.spec.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('PackageRegEx', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.PackageRegEx(); - }); - - it('should create an instance of PackageRegEx', function() { - // TODO: update the code to test PackageRegEx - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.PackageRegEx); - }); - - it('should have the property regEx (base name: "RegEx")', function() { - // TODO: update the code to test the property regEx - expect(instance).to.have.property('regEx'); - // expect(instance.regEx).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/SemverRange.spec.js b/javascript-client-generated/test/model/SemverRange.spec.js deleted file mode 100644 index 9c75fffb0..000000000 --- a/javascript-client-generated/test/model/SemverRange.spec.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('SemverRange', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.SemverRange(); - }); - - it('should create an instance of SemverRange', function() { - // TODO: update the code to test SemverRange - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.SemverRange); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/User.spec.js b/javascript-client-generated/test/model/User.spec.js deleted file mode 100644 index 11627e6e3..000000000 --- a/javascript-client-generated/test/model/User.spec.js +++ /dev/null @@ -1,58 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('User', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.User(); - }); - - it('should create an instance of User', function() { - // TODO: update the code to test User - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.User); - }); - - it('should have the property name (base name: "name")', function() { - // TODO: update the code to test the property name - expect(instance).to.have.property('name'); - // expect(instance.name).to.be(expectedValueLiteral); - }); - - it('should have the property isAdmin (base name: "isAdmin")', function() { - // TODO: update the code to test the property isAdmin - expect(instance).to.have.property('isAdmin'); - // expect(instance.isAdmin).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/javascript-client-generated/test/model/UserAuthenticationInfo.spec.js b/javascript-client-generated/test/model/UserAuthenticationInfo.spec.js deleted file mode 100644 index e370ad952..000000000 --- a/javascript-client-generated/test/model/UserAuthenticationInfo.spec.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * ECE 461 - Fall 2023 - Project Phase 2 - * API for ECE 461/Fall 2023/Project Phase 2: A Trustworthy Module Registry\" All endpoints have BASELINE or NON-BASELINE listed. Please read through all descriptions before raising questions. A package ID is unique identifier for Package and Version. (Key idea -> id is unique for all pacakges). Eg. PacakgeName: Alpha, PackageVersion: 1.1.1 -> PackageID: 988645763 PacakgeName: Alpha, PackageVersion: 1.3.2 -> PackageID: 357898765 - * - * OpenAPI spec version: 2.4.1 - * Contact: davisjam@purdue.edu - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 3.0.50 - * - * Do not edit the class manually. - * - */ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', '../../src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require('../../src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Ece461Fall2023ProjectPhase2); - } -}(this, function(expect, Ece461Fall2023ProjectPhase2) { - 'use strict'; - - var instance; - - describe('(package)', function() { - describe('UserAuthenticationInfo', function() { - beforeEach(function() { - instance = new Ece461Fall2023ProjectPhase2.UserAuthenticationInfo(); - }); - - it('should create an instance of UserAuthenticationInfo', function() { - // TODO: update the code to test UserAuthenticationInfo - expect(instance).to.be.a(Ece461Fall2023ProjectPhase2.UserAuthenticationInfo); - }); - - it('should have the property password (base name: "password")', function() { - // TODO: update the code to test the property password - expect(instance).to.have.property('password'); - // expect(instance.password).to.be(expectedValueLiteral); - }); - - }); - }); - -})); diff --git a/logger.js b/logger.js index 7b03b5def..14c76ea86 100644 --- a/logger.js +++ b/logger.js @@ -14,7 +14,7 @@ var createCustomLogger = function (labelStr, level) { transports: [ new winston_1.transports.Console(), new winston_1.transports.File({ - filename: process.env.LOG_FILE + filename: "logile.log" }), ] }); diff --git a/npm-github-netscore.js b/npm-github-netscore.js index 219ca5d7c..144508d5f 100644 --- a/npm-github-netscore.js +++ b/npm-github-netscore.js @@ -272,7 +272,7 @@ function extractGitHubInfo(npmPackageUrl) { case 4: error_4 = _c.sent(); logBasedOnVerbosity("Error extracting GitHub info: ".concat(error_4.message), 2); - process.exit(1); + //process.exit(1); return [3 /*break*/, 5]; case 5: return [2 /*return*/]; } @@ -296,7 +296,7 @@ function cloneREPO(username, repository) { case 2: error_5 = _b.sent(); logBasedOnVerbosity("Error cloning repository: ".concat(error_5.message), 2); - process.exit(1); + //process.exit(1); return [3 /*break*/, 3]; case 3: return [2 /*return*/]; } @@ -364,7 +364,7 @@ function countLines(filePath) { } catch (error) { logBasedOnVerbosity("Error reading file: ".concat(filePath), 2); - process.exit(1); + //process.exit(1); } } function getDependencyData(getUsername, repositoryName, personalAccessToken) { @@ -465,7 +465,7 @@ function fetchGitHubInfo(npmPackageUrl, personalAccessToken) { case 2: githubInfo = _b.sent(); if (!githubInfo) return [3 /*break*/, 13]; - console.log("123"); + //console.log("123"); headers = { Authorization: "Bearer ".concat(personalAccessToken) }; @@ -485,7 +485,7 @@ function fetchGitHubInfo(npmPackageUrl, personalAccessToken) { return [4 /*yield*/, getCommitsPerContributor(githubInfo.username, githubInfo.repository, personalAccessToken)]; case 5: contributor_commits = _b.sent(); - console.log(contributor_commits); + // console.log(contributor_commits); return [4 /*yield*/, getTimeSinceLastCommit(githubInfo.username, githubInfo.repository)]; case 6: days_since_last_commit = _b.sent(); @@ -500,7 +500,7 @@ function fetchGitHubInfo(npmPackageUrl, personalAccessToken) { case 9: totalLines = _b.sent(); total_lines = totalLines[1] - totalLines[0]; - console.log(githubInfo); + //console.log(githubInfo); return [4 /*yield*/, getDependencyData(githubInfo.username, githubInfo.repository, personalAccessToken)]; case 10: _a = _b.sent(), assigned_dependencies = _a[0], unassigned_dependencies = _a[1]; @@ -513,7 +513,7 @@ function fetchGitHubInfo(npmPackageUrl, personalAccessToken) { scores = _b.sent(); POPULARITY_rnd = Math.floor(popularity * 10000) / 10000; scores.push(POPULARITY_rnd); - console.log(scores); + //console.log(scores); //// //// //// I have troubleshooted the earlier problem of not being able to recieve output from the calculate_net_score function into the scores constant diff --git a/npm-github-netscore.ts b/npm-github-netscore.ts index e3dd83661..45d26946c 100644 --- a/npm-github-netscore.ts +++ b/npm-github-netscore.ts @@ -360,7 +360,6 @@ async function getRepoLicense(response: any): Promise { } async function fetchGitHubInfo(npmPackageUrl: string, personalAccessToken: string) { try { - personalAccessToken = process.env.GITHUB_PERSONAL_ACCESS_TOKEN || personalAccessToken; if (npmPackageUrl == "") { logBasedOnVerbosity("Empty line encountered", 1); return 0; diff --git a/upload_update_download_rate.js b/upload_update_download_rate.js index 1d4646ccb..1d642d35b 100644 --- a/upload_update_download_rate.js +++ b/upload_update_download_rate.js @@ -96,7 +96,7 @@ router.post('/package', upload.single('file'), async (req, res) => { //upload pa } console.log("test ---"); const scores = await fetchGitHubInfo(homepage, token); - console.log(scores); + //console.log(scores); if (scores == null) { console.log('Invalid Repository URL'); return res.status(400).json({ error: 'Invalid Repository URL'}); diff --git a/upload_update_download_rate.test.js b/upload_update_download_rate.test.js index 3d417da96..bb2387efd 100644 --- a/upload_update_download_rate.test.js +++ b/upload_update_download_rate.test.js @@ -8,7 +8,7 @@ const fs = require('fs'); describe('POST /package', () => { // test cases1 upload a file it('should upload a zip file', async () => { - const fileBuffer = fs.readFileSync('./cli_storage/461-G12-P2-main.zip'); // replace with your file path + const fileBuffer = fs.readFileSync('461-G12-P2-main.zip'); // replace with your file path const req = httpMocks.createRequest({ method: 'POST', url: '/package',