Rename project to Developers

This commit is contained in:
Konstantinos Triantafyllou 2023-07-13 18:41:11 +03:00
parent 59b129e284
commit a2e3297264
13 changed files with 24 additions and 20734 deletions

View File

@ -1,4 +1,4 @@
# ClientManagementPortal # Developers Portal
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.1. This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.1.

View File

@ -3,7 +3,7 @@
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"client-management-portal": { "developers": {
"root": "", "root": "",
"sourceRoot": "src", "sourceRoot": "src",
"projectType": "application", "projectType": "application",
@ -34,7 +34,7 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"outputPath": "dist/client-management-portal", "outputPath": "dist/developers",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
@ -140,18 +140,18 @@
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",
"options": { "options": {
"browserTarget": "client-management-portal:build" "browserTarget": "developers:build"
}, },
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "client-management-portal:build:production" "browserTarget": "developers:build:production"
} }
} }
}, },
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "client-management-portal:build" "browserTarget": "developers:build"
} }
}, },
"test": { "test": {

View File

@ -25,7 +25,7 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces suppressAll: true // removes the duplicated traces
}, },
coverageReporter: { coverageReporter: {
dir: require('path').join(__dirname, './coverage/client-management-portal'), dir: require('path').join(__dirname, './coverage/developers'),
subdir: '.', subdir: '.',
reporters: [ reporters: [
{ type: 'html' }, { type: 'html' },

20710
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
{ {
"name": "client-management-portal", "name": "developers",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",

@ -1 +1 @@
Subproject commit 7d2eb68914b5fc53a4e3dbf8fe22c4f67b8bff7f Subproject commit 5645deec97d1bd3cb35cec792ac8dc963c0f4d8a

View File

@ -65,22 +65,22 @@ export class ApisService {
} }
public getAll(): Observable<API[]> { public getAll(): Observable<API[]> {
return this.http.get<API[]>(properties.clientManagementUrl + "/apis/all", CustomOptions.registryOptions()); return this.http.get<API[]>(properties.developersApiUrl + "/apis/all", CustomOptions.registryOptions());
} }
public getMyServices(): Observable<API[]> { public getMyServices(): Observable<API[]> {
return this.http.get<API[]>(properties.clientManagementUrl + "/apis/my-services", CustomOptions.registryOptions()); return this.http.get<API[]>(properties.developersApiUrl + "/apis/my-services", CustomOptions.registryOptions());
} }
public create(form: any): Observable<API> { public create(form: any): Observable<API> {
return this.http.post<API>(properties.clientManagementUrl + "/apis/save/new", form, CustomOptions.registryOptions()); return this.http.post<API>(properties.developersApiUrl + "/apis/save/new", form, CustomOptions.registryOptions());
} }
public save(id: number, form: any): Observable<API> { public save(id: number, form: any): Observable<API> {
return this.http.post<API>(properties.clientManagementUrl + "/apis/save/" + id, form, CustomOptions.registryOptions()); return this.http.post<API>(properties.developersApiUrl + "/apis/save/" + id, form, CustomOptions.registryOptions());
} }
public delete(id: number): Observable<void> { public delete(id: number): Observable<void> {
return this.http.delete<void>(properties.clientManagementUrl + "/apis/delete/" + id, CustomOptions.registryOptions()); return this.http.delete<void>(properties.developersApiUrl + "/apis/delete/" + id, CustomOptions.registryOptions());
} }
} }

View File

@ -22,10 +22,10 @@ export class PersonalService {
} }
public getPersonalInfo() { public getPersonalInfo() {
return this.http.get<PersonalInfo>(properties.clientManagementUrl + '/personal/my-info', CustomOptions.registryOptions()); return this.http.get<PersonalInfo>(properties.developersApiUrl + '/personal/my-info', CustomOptions.registryOptions());
} }
public savePersonalInfo(personalInfo: PersonalInfo) { public savePersonalInfo(personalInfo: PersonalInfo) {
return this.http.post<PersonalInfo>(properties.clientManagementUrl + '/personal/save', personalInfo, CustomOptions.registryOptions()); return this.http.post<PersonalInfo>(properties.developersApiUrl + '/personal/save', personalInfo, CustomOptions.registryOptions());
} }
} }

@ -1 +1 @@
Subproject commit 39cb4e56d0320975fbd08fb5e9c68b87b0c82a10 Subproject commit 63c54c7db30bd6fbad6867656a8cb12e319e2f66

@ -1 +1 @@
Subproject commit 1e06310b8b2b56f131754eaded615b6cf32c5848 Subproject commit 2fffe0fa672adcf5577461d10c30e34b00308c85

View File

@ -2,11 +2,11 @@ import {EnvProperties} from '../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = { export let properties: EnvProperties = {
environment: 'production', environment: 'production',
dashboard: 'client-management-portal', dashboard: 'developers',
useCache: false, useCache: false,
loginUrl: "https://beta.services.openaire.eu/client-management/openid_connect_login", loginUrl: "https://beta.services.openaire.eu/client-management/openid_connect_login",
userInfoUrl: "https://beta.services.openaire.eu/client-management/userInfo", userInfoUrl: "https://beta.services.openaire.eu/client-management/userInfo",
clientManagementUrl: "https://beta.services.openaire.eu/client-management", developersApiUrl: "https://beta.services.openaire.eu/client-management",
logoutUrl: "https://beta.services.openaire.eu/client-management/openid_logout", logoutUrl: "https://beta.services.openaire.eu/client-management/openid_logout",
cookieDomain: '.openaire.eu', cookieDomain: '.openaire.eu',
errorLink: '/error', errorLink: '/error',

View File

@ -2,11 +2,11 @@ import {EnvProperties} from '../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = { export let properties: EnvProperties = {
environment: 'production', environment: 'production',
dashboard: 'client-management-portal', dashboard: 'developers',
useCache: false, useCache: false,
loginUrl: "https://services.openaire.eu/client-management/openid_connect_login", loginUrl: "https://services.openaire.eu/client-management/openid_connect_login",
userInfoUrl: "https://services.openaire.eu/client-management/userInfo", userInfoUrl: "https://services.openaire.eu/client-management/userInfo",
clientManagementUrl: "https://services.openaire.eu/client-management", developersApiUrl: "https://services.openaire.eu/client-management",
logoutUrl: "https://services.openaire.eu/client-management/openid_logout", logoutUrl: "https://services.openaire.eu/client-management/openid_logout",
cookieDomain: '.openaire.eu', cookieDomain: '.openaire.eu',
errorLink: '/error', errorLink: '/error',

View File

@ -7,11 +7,11 @@ import {EnvProperties} from '../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = { export let properties: EnvProperties = {
environment: 'development', environment: 'development',
dashboard: 'client-management-portal', dashboard: 'developers',
useCache: false, useCache: false,
loginUrl: "http://mpagasas.di.uoa.gr:19580/client-management/openid_connect_login", loginUrl: "http://mpagasas.di.uoa.gr:19580/client-management/openid_connect_login",
userInfoUrl: "http://mpagasas.di.uoa.gr:19580/client-management/userInfo", userInfoUrl: "http://mpagasas.di.uoa.gr:19580/client-management/userInfo",
clientManagementUrl: "http://mpagasas.di.uoa.gr:19580/client-management", developersApiUrl: "http://mpagasas.di.uoa.gr:19580/client-management",
logoutUrl: "http://mpagasas.di.uoa.gr:19580/client-management/openid_logout", logoutUrl: "http://mpagasas.di.uoa.gr:19580/client-management/openid_logout",
cookieDomain: '.di.uoa.gr', cookieDomain: '.di.uoa.gr',
errorLink: '/error', errorLink: '/error',