Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • APIv2
  • Experiment/esbuild
  • Fix/xxxx-OpenAPI630
  • Fix/xxxx-migrateLogin
  • Hotfix/1917-vocabCheck
  • Hotfix/2258-saveButtonWorksAsExpected
  • Hotfix/2427-adminTrouble
  • Hotfix/2611-feedback
  • Hotfix/2681-validationErrors
  • Hotfix/xxxx-release
  • Issue/1172-uploadProgress
  • Issue/1321-pidEnquiryOverhaul
  • Issue/1740-ElasticSearchOnCoscineFrontend
  • Issue/1745-coscineConnection
  • Issue/1746-ApplicationProfileStoringMethod
  • Issue/1782-structualDataIntegration
  • Issue/1804-fixedValueFix
  • Issue/1833-newLogin
  • Issue/1861-searchMetadata
  • Issue/1863-paginationForSearch
  • Issue/1926-userProfile
  • Issue/1938-internalHandling
  • Issue/1951-quotaImplementation
  • Issue/1957-resourceAppMigrationNew
  • Issue/1971-projectEditCreateMigration
  • Issue/1972-homeDepot
  • Issue/2001-extendAnalyticsLogger
  • Issue/2008-quotaManagement
  • Issue/2072-wormResourceType
  • Issue/2101-gitLabResTypeUi
  • Issue/2228-userOrganization
  • Issue/2257-proofOfConceptTest
  • Issue/2262-frontendWorkspace
  • Issue/2264-sortSearchResults
  • Issue/2309-docs
  • Issue/2373-fixPagination
  • Issue/2401-advisoryServiceUI2
  • Issue/2414-resourceTypesAffilAndAllocQuota
  • Issue/2434-searchAPI
  • Issue/2435-userApi
  • Issue/2436-projectApi
  • Issue/2438-adminApi
  • Issue/2439-noticeApi
  • Issue/2440-migrateTokenApi
  • Issue/2445-extractedMetadata
  • Issue/2446-addingResponsibleOrganization
  • Issue/2449-GuidPidSlugToProjectSettings
  • Issue/2469-hideDotCoscine
  • Issue/2489-addNotificationManagement
  • Issue/2586-migrateBlob
  • Issue/2587-migrateTreeApi
  • Issue/2589-metadataOrganizationAPI
  • Issue/2627-addPidRecord
  • Issue/2665-extractLogger
  • Issue/2672-fixSfbPidPointing
  • Issue/2732-updatedApiClient
  • Issue/2739-outputCache
  • Issue/2782-correctUsageRights
  • Issue/2829-useHrefProperty
  • Issue/2875-devcontainer
  • Issue/2881-messageController
  • Issue/2900-removeInsituteField
  • Issue/2921-changesToDataPublicationFeature
  • Issue/2926-regAppLogin
  • Issue/2981-dataPubInDb
  • Issue/3011-maintenanceMode
  • Issue/3043-DataStorageNrwResource
  • Issue/3085-useNewApiClient
  • Issue/3133-subProjectsChanges
  • Issue/xxxx-configurableApiHostname
  • Issue/xxxx-excludeModuleAPs
  • Sprint/2021-2022
  • Sprint/2021-23
  • Sprint/2021-24
  • Sprint/2022-01
  • Sprint/2022-05
  • coscine/issues#2727
  • dev
  • main
  • main-testing
  • revert-3c6942bb
  • uiv2
  • x/setup
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.11.0
  • v2.12.0
  • v2.2.0
  • v2.3.0
  • v2.4.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.8.0
  • v2.8.1
  • v2.9.0
  • v2.9.1
  • v2.9.2
  • v3.0.0
  • v3.1.0
  • v3.10.0
  • v3.11.0
  • v3.12.0
  • v3.13.0
  • v3.14.0
  • v3.15.0
  • v3.16.0
  • v3.17.0
  • v3.18.0
  • v3.2.0
  • v3.2.1
  • v3.3.0
  • v3.3.1
  • v3.3.2-package.0
  • v3.4.0
  • v3.4.1
  • v3.4.2
  • v3.4.3
  • v3.5.0
  • v3.6.0
  • v3.7.0
  • v3.8.0
  • v3.9.0
133 results

Target

Select target project
  • coscine/frontend/libraries/api-client
1 result
Select Git revision
  • APIv2
  • Experiment/esbuild
  • Fix/xxxx-OpenAPI630
  • Fix/xxxx-migrateLogin
  • Hotfix/1917-vocabCheck
  • Hotfix/2258-saveButtonWorksAsExpected
  • Hotfix/2427-adminTrouble
  • Hotfix/2611-feedback
  • Hotfix/2681-validationErrors
  • Hotfix/xxxx-release
  • Issue/1172-uploadProgress
  • Issue/1321-pidEnquiryOverhaul
  • Issue/1740-ElasticSearchOnCoscineFrontend
  • Issue/1745-coscineConnection
  • Issue/1746-ApplicationProfileStoringMethod
  • Issue/1782-structualDataIntegration
  • Issue/1804-fixedValueFix
  • Issue/1833-newLogin
  • Issue/1861-searchMetadata
  • Issue/1863-paginationForSearch
  • Issue/1926-userProfile
  • Issue/1938-internalHandling
  • Issue/1951-quotaImplementation
  • Issue/1957-resourceAppMigrationNew
  • Issue/1971-projectEditCreateMigration
  • Issue/1972-homeDepot
  • Issue/2001-extendAnalyticsLogger
  • Issue/2008-quotaManagement
  • Issue/2072-wormResourceType
  • Issue/2101-gitLabResTypeUi
  • Issue/2228-userOrganization
  • Issue/2257-proofOfConceptTest
  • Issue/2262-frontendWorkspace
  • Issue/2264-sortSearchResults
  • Issue/2309-docs
  • Issue/2373-fixPagination
  • Issue/2401-advisoryServiceUI2
  • Issue/2414-resourceTypesAffilAndAllocQuota
  • Issue/2434-searchAPI
  • Issue/2435-userApi
  • Issue/2436-projectApi
  • Issue/2438-adminApi
  • Issue/2439-noticeApi
  • Issue/2440-migrateTokenApi
  • Issue/2445-extractedMetadata
  • Issue/2446-addingResponsibleOrganization
  • Issue/2449-GuidPidSlugToProjectSettings
  • Issue/2469-hideDotCoscine
  • Issue/2489-addNotificationManagement
  • Issue/2586-migrateBlob
  • Issue/2587-migrateTreeApi
  • Issue/2589-metadataOrganizationAPI
  • Issue/2627-addPidRecord
  • Issue/2665-extractLogger
  • Issue/2672-fixSfbPidPointing
  • Issue/2732-updatedApiClient
  • Issue/2739-outputCache
  • Issue/2782-correctUsageRights
  • Issue/2829-useHrefProperty
  • Issue/2875-devcontainer
  • Issue/2881-messageController
  • Issue/2900-removeInsituteField
  • Issue/2921-changesToDataPublicationFeature
  • Issue/2926-regAppLogin
  • Issue/2981-dataPubInDb
  • Issue/3011-maintenanceMode
  • Issue/3043-DataStorageNrwResource
  • Issue/3085-useNewApiClient
  • Issue/3133-subProjectsChanges
  • Issue/xxxx-configurableApiHostname
  • Issue/xxxx-excludeModuleAPs
  • Sprint/2021-2022
  • Sprint/2021-23
  • Sprint/2021-24
  • Sprint/2022-01
  • Sprint/2022-05
  • coscine/issues#2727
  • dev
  • main
  • main-testing
  • revert-3c6942bb
  • uiv2
  • x/setup
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.11.0
  • v2.12.0
  • v2.2.0
  • v2.3.0
  • v2.4.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.8.0
  • v2.8.1
  • v2.9.0
  • v2.9.1
  • v2.9.2
  • v3.0.0
  • v3.1.0
  • v3.10.0
  • v3.11.0
  • v3.12.0
  • v3.13.0
  • v3.14.0
  • v3.15.0
  • v3.16.0
  • v3.17.0
  • v3.18.0
  • v3.2.0
  • v3.2.1
  • v3.3.0
  • v3.3.1
  • v3.3.2-package.0
  • v3.4.0
  • v3.4.1
  • v3.4.2
  • v3.4.3
  • v3.5.0
  • v3.6.0
  • v3.7.0
  • v3.8.0
  • v3.9.0
133 results
Show changes
Showing
with 284 additions and 36 deletions
#!/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 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
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://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${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://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Organization * Coscine.Api.Organization
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 2.1.2 * The version of the OpenAPI document: 2.2.1
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Pid * Coscine.Api.Pid
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 2.4.0 * The version of the OpenAPI document: 2.4.1
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Pid * Coscine.Api.Pid
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 2.4.0 * The version of the OpenAPI document: 2.4.1
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration"; ...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore // @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, ""); export const BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
/** /**
* *
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Pid * Coscine.Api.Pid
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 2.4.0 * The version of the OpenAPI document: 2.4.1
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Pid * Coscine.Api.Pid
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 2.4.0 * The version of the OpenAPI document: 2.4.1
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Pid * Coscine.Api.Pid
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 2.4.0 * The version of the OpenAPI document: 2.4.1
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Project * Coscine.Api.Project
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 4.2.2 * The version of the OpenAPI document: 4.3.2
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
...@@ -987,7 +987,7 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati ...@@ -987,7 +987,7 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati
return { return {
/** /**
* *
* @summary Call to analytics logger. * @summary Creation of an Application Profile.
* @param {string} projectId Project id of the project * @param {string} projectId Project id of the project
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -1480,7 +1480,7 @@ export const ProjectApiFp = function(configuration?: Configuration) { ...@@ -1480,7 +1480,7 @@ export const ProjectApiFp = function(configuration?: Configuration) {
return { return {
/** /**
* *
* @summary Call to analytics logger. * @summary Creation of an Application Profile.
* @param {string} projectId Project id of the project * @param {string} projectId Project id of the project
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -1632,7 +1632,7 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa ...@@ -1632,7 +1632,7 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa
return { return {
/** /**
* *
* @summary Call to analytics logger. * @summary Creation of an Application Profile.
* @param {string} projectId Project id of the project * @param {string} projectId Project id of the project
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -1771,7 +1771,7 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa ...@@ -1771,7 +1771,7 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa
export class ProjectApi extends BaseAPI { export class ProjectApi extends BaseAPI {
/** /**
* *
* @summary Call to analytics logger. * @summary Creation of an Application Profile.
* @param {string} projectId Project id of the project * @param {string} projectId Project id of the project
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -2750,6 +2750,7 @@ export const SubProjectApiAxiosParamCreator = function (configuration?: Configur ...@@ -2750,6 +2750,7 @@ export const SubProjectApiAxiosParamCreator = function (configuration?: Configur
* @summary This method retrieves the accessible Parent * @summary This method retrieves the accessible Parent
* @param {string} childId Id of the child * @param {string} childId Id of the child
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError} * @throws {RequiredError}
*/ */
subProjectGetAccessibleParent: async (childId: string, options: any = {}): Promise<RequestArgs> => { subProjectGetAccessibleParent: async (childId: string, options: any = {}): Promise<RequestArgs> => {
...@@ -2808,6 +2809,7 @@ export const SubProjectApiFp = function(configuration?: Configuration) { ...@@ -2808,6 +2809,7 @@ export const SubProjectApiFp = function(configuration?: Configuration) {
* @summary This method retrieves the accessible Parent * @summary This method retrieves the accessible Parent
* @param {string} childId Id of the child * @param {string} childId Id of the child
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError} * @throws {RequiredError}
*/ */
async subProjectGetAccessibleParent(childId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> { async subProjectGetAccessibleParent(childId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
...@@ -2839,6 +2841,7 @@ export const SubProjectApiFactory = function (configuration?: Configuration, bas ...@@ -2839,6 +2841,7 @@ export const SubProjectApiFactory = function (configuration?: Configuration, bas
* @summary This method retrieves the accessible Parent * @summary This method retrieves the accessible Parent
* @param {string} childId Id of the child * @param {string} childId Id of the child
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError} * @throws {RequiredError}
*/ */
subProjectGetAccessibleParent(childId: string, options?: any): AxiosPromise<any> { subProjectGetAccessibleParent(childId: string, options?: any): AxiosPromise<any> {
...@@ -2871,6 +2874,7 @@ export class SubProjectApi extends BaseAPI { ...@@ -2871,6 +2874,7 @@ export class SubProjectApi extends BaseAPI {
* @summary This method retrieves the accessible Parent * @summary This method retrieves the accessible Parent
* @param {string} childId Id of the child * @param {string} childId Id of the child
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError} * @throws {RequiredError}
* @memberof SubProjectApi * @memberof SubProjectApi
*/ */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Project * Coscine.Api.Project
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 4.2.2 * The version of the OpenAPI document: 4.3.2
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration"; ...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore // @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, ""); export const BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
/** /**
* *
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Project * Coscine.Api.Project
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 4.2.2 * The version of the OpenAPI document: 4.3.2
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Project * Coscine.Api.Project
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 4.2.2 * The version of the OpenAPI document: 4.3.2
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
#!/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 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
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://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${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://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Project * Coscine.Api.Project
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 4.2.2 * The version of the OpenAPI document: 4.3.2
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Resources * Coscine.Api.Resources
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 3.1.1 * The version of the OpenAPI document: 3.4.4
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
...@@ -1935,7 +1935,7 @@ export const ResourceQuotaApiAxiosParamCreator = function (configuration?: Confi ...@@ -1935,7 +1935,7 @@ export const ResourceQuotaApiAxiosParamCreator = function (configuration?: Confi
return { return {
/** /**
* *
* @summary Retrieves the resource quota for an individual resource. * @summary Retrieves the resource used and reserved quota for an individual resource.
* @param {string} id Id of the resource. * @param {string} id Id of the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -2025,7 +2025,7 @@ export const ResourceQuotaApiFp = function(configuration?: Configuration) { ...@@ -2025,7 +2025,7 @@ export const ResourceQuotaApiFp = function(configuration?: Configuration) {
return { return {
/** /**
* *
* @summary Retrieves the resource quota for an individual resource. * @summary Retrieves the resource used and reserved quota for an individual resource.
* @param {string} id Id of the resource. * @param {string} id Id of the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -2058,7 +2058,7 @@ export const ResourceQuotaApiFactory = function (configuration?: Configuration, ...@@ -2058,7 +2058,7 @@ export const ResourceQuotaApiFactory = function (configuration?: Configuration,
return { return {
/** /**
* *
* @summary Retrieves the resource quota for an individual resource. * @summary Retrieves the resource used and reserved quota for an individual resource.
* @param {string} id Id of the resource. * @param {string} id Id of the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -2089,7 +2089,7 @@ export const ResourceQuotaApiFactory = function (configuration?: Configuration, ...@@ -2089,7 +2089,7 @@ export const ResourceQuotaApiFactory = function (configuration?: Configuration,
export class ResourceQuotaApi extends BaseAPI { export class ResourceQuotaApi extends BaseAPI {
/** /**
* *
* @summary Retrieves the resource quota for an individual resource. * @summary Retrieves the resource used and reserved quota for an individual resource.
* @param {string} id Id of the resource. * @param {string} id Id of the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
...@@ -2144,6 +2144,43 @@ export const ResourceTypeApiAxiosParamCreator = function (configuration?: Config ...@@ -2144,6 +2144,43 @@ export const ResourceTypeApiAxiosParamCreator = function (configuration?: Config
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
*
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
* @param {string} id Id of the project
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resourceTypeGetEnabledResourceTypesAll: async (id: string, options: any = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('resourceTypeGetEnabledResourceTypesAll', 'id', id)
const localVarPath = `/ResourceType/types/{id}/-/enabled`
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication JWT token required
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
...@@ -2156,7 +2193,7 @@ export const ResourceTypeApiAxiosParamCreator = function (configuration?: Config ...@@ -2156,7 +2193,7 @@ export const ResourceTypeApiAxiosParamCreator = function (configuration?: Config
/** /**
* *
* @summary Returns all fields of the specified resource type. * @summary Returns all fields of the specified resource type.
* @param {string} id A guid as a string that identifies the resource. * @param {string} id A GUID as a string that identifies the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
*/ */
...@@ -2192,7 +2229,7 @@ export const ResourceTypeApiAxiosParamCreator = function (configuration?: Config ...@@ -2192,7 +2229,7 @@ export const ResourceTypeApiAxiosParamCreator = function (configuration?: Config
}, },
/** /**
* *
* @summary Returns all resource types. * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
*/ */
...@@ -2243,10 +2280,21 @@ export const ResourceTypeApiFp = function(configuration?: Configuration) { ...@@ -2243,10 +2280,21 @@ export const ResourceTypeApiFp = function(configuration?: Configuration) {
const localVarAxiosArgs = await localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options); const localVarAxiosArgs = await localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
}, },
/**
*
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
* @param {string} id Id of the project
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async resourceTypeGetEnabledResourceTypesAll(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResourceTypeInformation>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypesAll(id, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/** /**
* *
* @summary Returns all fields of the specified resource type. * @summary Returns all fields of the specified resource type.
* @param {string} id A guid as a string that identifies the resource. * @param {string} id A GUID as a string that identifies the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
*/ */
...@@ -2256,7 +2304,7 @@ export const ResourceTypeApiFp = function(configuration?: Configuration) { ...@@ -2256,7 +2304,7 @@ export const ResourceTypeApiFp = function(configuration?: Configuration) {
}, },
/** /**
* *
* @summary Returns all resource types. * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
*/ */
...@@ -2283,10 +2331,20 @@ export const ResourceTypeApiFactory = function (configuration?: Configuration, b ...@@ -2283,10 +2331,20 @@ export const ResourceTypeApiFactory = function (configuration?: Configuration, b
resourceTypeGetEnabledResourceTypes(options?: any): AxiosPromise<Array<ResourceTypeInformation>> { resourceTypeGetEnabledResourceTypes(options?: any): AxiosPromise<Array<ResourceTypeInformation>> {
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath)); return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
}, },
/**
*
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
* @param {string} id Id of the project
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resourceTypeGetEnabledResourceTypesAll(id: string, options?: any): AxiosPromise<Array<ResourceTypeInformation>> {
return localVarFp.resourceTypeGetEnabledResourceTypesAll(id, options).then((request) => request(axios, basePath));
},
/** /**
* *
* @summary Returns all fields of the specified resource type. * @summary Returns all fields of the specified resource type.
* @param {string} id A guid as a string that identifies the resource. * @param {string} id A GUID as a string that identifies the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
*/ */
...@@ -2295,7 +2353,7 @@ export const ResourceTypeApiFactory = function (configuration?: Configuration, b ...@@ -2295,7 +2353,7 @@ export const ResourceTypeApiFactory = function (configuration?: Configuration, b
}, },
/** /**
* *
* @summary Returns all resource types. * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
*/ */
...@@ -2323,10 +2381,22 @@ export class ResourceTypeApi extends BaseAPI { ...@@ -2323,10 +2381,22 @@ export class ResourceTypeApi extends BaseAPI {
return ResourceTypeApiFp(this.configuration).resourceTypeGetEnabledResourceTypes(options).then((request) => request(this.axios, this.basePath)); return ResourceTypeApiFp(this.configuration).resourceTypeGetEnabledResourceTypes(options).then((request) => request(this.axios, this.basePath));
} }
/**
*
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
* @param {string} id Id of the project
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ResourceTypeApi
*/
public resourceTypeGetEnabledResourceTypesAll(id: string, options?: any) {
return ResourceTypeApiFp(this.configuration).resourceTypeGetEnabledResourceTypesAll(id, options).then((request) => request(this.axios, this.basePath));
}
/** /**
* *
* @summary Returns all fields of the specified resource type. * @summary Returns all fields of the specified resource type.
* @param {string} id A guid as a string that identifies the resource. * @param {string} id A GUID as a string that identifies the resource.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
* @memberof ResourceTypeApi * @memberof ResourceTypeApi
...@@ -2337,7 +2407,7 @@ export class ResourceTypeApi extends BaseAPI { ...@@ -2337,7 +2407,7 @@ export class ResourceTypeApi extends BaseAPI {
/** /**
* *
* @summary Returns all resource types. * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
* @param {*} [options] Override http request option. * @param {*} [options] Override http request option.
* @throws {RequiredError} * @throws {RequiredError}
* @memberof ResourceTypeApi * @memberof ResourceTypeApi
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Resources * Coscine.Api.Resources
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 3.1.1 * The version of the OpenAPI document: 3.4.4
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration"; ...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore // @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, ""); export const BASE_PATH = "https://d-sp25.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
/** /**
* *
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Resources * Coscine.Api.Resources
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 3.1.1 * The version of the OpenAPI document: 3.4.4
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Resources * Coscine.Api.Resources
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 3.1.1 * The version of the OpenAPI document: 3.4.4
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
#!/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 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
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://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${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://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Coscine.Api.Resources * Coscine.Api.Resources
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* *
* The version of the OpenAPI document: 3.1.1 * The version of the OpenAPI document: 3.4.4
* *
* *
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
......
...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration"; ...@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore // @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, ""); export const BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
/** /**
* *
......