Skip to content
Snippets Groups Projects
Commit 314c005d authored by trantzas's avatar trantzas Committed by trantzas
Browse files

project's components renaming for ETSI

(cherry picked from commit 8c9a6398)
parent cb74fd81
No related branches found
No related tags found
1 merge request!1Resolve "Populate main branch with initial commit (Release 0)"
......@@ -5,6 +5,6 @@
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:1.19.4
#Copy ci-dashboard-dist
COPY ./dist/io-openslice-portal-web/ /usr/share/nginx/html/services
COPY ./dist/org.etsi.osl.tmf.web/ /usr/share/nginx/html/services
#Copy default nginx configuration
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
......@@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"io-openslice-portal-web": {
"org.etsi.osl.tmf.web": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
......@@ -18,7 +18,7 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": ["jwt-decode"],
"outputPath": "dist/io-openslice-portal-web",
"outputPath": "dist/org.etsi.osl.tmf.web",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
......@@ -91,21 +91,21 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "io-openslice-portal-web:build"
"browserTarget": "org.etsi.osl.tmf.web:build"
},
"configurations": {
"production": {
"browserTarget": "io-openslice-portal-web:build:production"
"browserTarget": "org.etsi.osl.tmf.web:build:production"
},
"development": {
"browserTarget": "io-openslice-portal-web:build:development"
"browserTarget": "org.etsi.osl.tmf.web:build:development"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "io-openslice-portal-web:build"
"browserTarget": "org.etsi.osl.tmf.web:build"
}
},
"test": {
......@@ -143,16 +143,16 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "io-openslice-portal-web:serve"
"devServerTarget": "org.etsi.osl.tmf.web:serve"
},
"configurations": {
"production": {
"devServerTarget": "io-openslice-portal-web:serve:production"
"devServerTarget": "org.etsi.osl.tmf.web:serve:production"
}
}
}
}
}
},
"defaultProject": "io-openslice-portal-web"
"defaultProject": "org.etsi.osl.tmf.web"
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ describe('workspace-project App', () => {
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('io-openslice-portal-web app is running!');
expect(page.getTitleText()).toEqual('org.etsi.osl.tmf.web app is running!');
});
afterEach(async () => {
......
......@@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/io-openslice-portal-web'),
dir: require('path').join(__dirname, './coverage/org.etsi.osl.tmf.web'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
......
{
"name": "io-openslice-portal-web",
"name": "org.etsi.osl.tmf.web",
"version": "0.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "io-openslice-portal-web",
"name": "org.etsi.osl.tmf.web",
"version": "0.0.0",
"dependencies": {
"@angular/animations": "~13.3.11",
......
{
"name": "io-openslice-portal-web",
"name": "org.etsi.osl.tmf.web",
"version": "0.0.0",
"scripts": {
"ng": "ng",
......
......@@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
});
it(`should have as title 'io-openslice-portal-web'`, () => {
it(`should have as title 'org.etsi.osl.tmf.web'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('io-openslice-portal-web');
expect(app.title).toEqual('org.etsi.osl.tmf.web');
});
it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('.content span').textContent).toContain('io-openslice-portal-web app is running!');
expect(compiled.querySelector('.content span').textContent).toContain('org.etsi.osl.tmf.web app is running!');
});
});
......@@ -16,7 +16,7 @@ import { IAppConfig } from './shared/models/app-config.model';
})
export class AppComponent {
title = 'io-openslice-portal-web';
title = 'org.etsi.osl.tmf.web';
themeID = 'default'
......
......@@ -3,7 +3,7 @@
<div *ngIf="!customFooterHTML" class="container">
<div class='row align-items-center'>
<div class='col-md-2'><img src='assets/images/eu-commission.png' /></div>
<div class='col-md-10 font-weight-light'>openslice.io has received funding from<div class='font-weight-light'>
<div class='col-md-10 font-weight-light'>OpenSlice has received funding from<div class='font-weight-light'>
5GinFIRE | https://5ginfire.eu/ project from the European Horizon 2020 Programme for research, technological
development and demonstration under grant agreement number 732497.</div>
<div class='font-weight-light'>5G-VINNI project | https://5g-vinni.eu/ 5G-VINNI project has received funding
......
{
"TITLE": "Openslice demo",
"TITLE": "OpenSlice by ETSI",
"PORTALVERSION":"2023-Q3 1.2.0-SNAPSHOT",
"WIKI": "https://openslice.readthedocs.io/en/stable/",
"BUGZILLA": "{BASEURL}/bugzilla/",
......
......@@ -5,5 +5,5 @@
"FAVICON_PATH":"favicon.ico",
"WHO_WE_ARE_HTML":"<address class='font-weight-light'><span class='font-weight-bold'>openslice.io project</span> | <a href='http://openslice.io/' class='text-white'>openslice.io</a><br>openslice.io an opensource OSS</address><address class='font-weight-light'><span class='font-weight-bold'>Openslice demo</span> | <a href='http://portal.openslice.io' class='text-white'>http://portal.openslice.io</a><br>A portal that allows 5G experimenters to deploy experiment descriptors towards the infrastructure.</address><address class='font-weight-light'><span class='font-weight-bold'>Openslice demo wiki</span> | <a href='https://openslice.readthedocs.io/en/stable/' class='text-white'>https://openslice.readthedocs.io/en/stable/</a><br>A wiki containing project documentation.</address><address class='font-weight-light'><span class='font-weight-bold'>Openslice demo Report Issues</span> | <a href='http://portal.openslice.io/bugzilla/' class='text-white'>http://portal.openslice.io/bugzilla/</a><br>Our issue tracking system.</address>",
"CONNECT_WITH_US_HTML":"<div class='col-xs-12 col-sm-6 col-md-3'><div><a href='https://twitter.com/OpensliceOSS' class='font-weight-light text-white'><i class='fab fa-twitter mr-2'></i>Twitter</a></div></div><div class='col-xs-12 col-sm-6 col-md-3'><div><a href='https://openslice.slack.com/' class='font-weight-light text-white'><i class='fab fa-slack mr-2'></i>Slack</a></div></div>",
"FOOTER_HTML":"<div class='row align-items-center'><div class='col-md-2'><img src='assets/images/eu-commission.png' /></div><div class='col-md-10 font-weight-light'>openslice.io has received funding from<div class='font-weight-light'>5GinFIRE | https://5ginfire.eu/ project from the European Horizon 2020 Programme for research, technological development and demonstration under grant agreement number 732497.</div><div class='font-weight-light'>5G-VINNI project | https://5g-vinni.eu/ 5G-VINNI project has received funding from the European Horizon 2020 Programme for research, technological development and demonstration under grant agreement number 815279</div><div class='font-weight-light'>Openslice demo running openslice.io version 1.1.0-SNAPSHOT| <a href='https://openslice.io/data-protection-declaration/' class='font-weight-light'>Data Protection Declaration</a> | &copy; 2019-2021 on behalf of <a target='_blank' href='http://openslice.io/' title='openslice.io' class='font-weight-light'>openslice.io</a></div></div></div>"
"FOOTER_HTML":"<div class='row align-items-center'><div class='col-md-2'><img src='assets/images/eu-commission.png' /></div><div class='col-md-10 font-weight-light'>OpenSlice has received funding from<div class='font-weight-light'>5GinFIRE | https://5ginfire.eu/ project from the European Horizon 2020 Programme for research, technological development and demonstration under grant agreement number 732497.</div><div class='font-weight-light'>5G-VINNI project | https://5g-vinni.eu/ 5G-VINNI project has received funding from the European Horizon 2020 Programme for research, technological development and demonstration under grant agreement number 815279</div><div class='font-weight-light'>Openslice demo running openslice.io version 2023-Q3 1.2.0-SNAPSHOT | <a href='https://openslice.io/data-protection-declaration/' class='font-weight-light'>Data Protection Declaration</a> | &copy; 2019-2023 on behalf of <a target='_blank' href='http://openslice.io/' title='openslice.io' class='font-weight-light'>openslice.io</a></div></div></div>"
}
\ No newline at end of file
......@@ -5,7 +5,7 @@
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400" rel="stylesheet">
<title>Openslice</title>
<title>OpenSlice by ETSI</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" id="appIcon" type="image/x-icon" href="favicon.ico">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment