diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt deleted file mode 100644 index abb990fa4a5cdb86db5a13d723ae4a9e4322021c..0000000000000000000000000000000000000000 --- a/ReleaseNotes.txt +++ /dev/null @@ -1,20 +0,0 @@ -Q3 2023 1.2.0-SNAPSHOT - -Upgraded to java17 and SpingBoot3 -Upgraded from ActiveMQ to Artemis - -Upgrade Keycloak to 16 - -backup your previous database if necessary: -sudo docker exec amysql /usr/bin/mysqldump -u root --password=letmein ostmfdb > backup_ostmfdb.sql -restore your previous database: -cat backup_ostmfdb.sql | docker exec -i amysql /usr/bin/mysql -u root --password=letmein ostmfdb - - -Q3 2021 - -- There have been some minor changes in the databases. THerefore some older artifacts might be deleted. Especially RFS relationships -- The CONFIG attribute of RFSs must be renamed to OSM_CONFIG. OSM_CONFIG includes now the json configuration to pass to OSM when creating NSDs -- Edit your docker-compose.yaml and add oasapi section. Edit the oasapi section according to your needs (db password, keycloak etc) -- Edit your /openslice/org.etsi.osl.tmf.web/dist/io-openslice-portal-web/assets/config/config.prod.json with the new API endpoints. Please consult the config.prod.default.json -- Edit nginx.conf to add the new oas-api diff --git a/compose/readme.txt b/compose/readme.txt deleted file mode 100644 index 3896a14b8d5e1f2647b9c384e32ee1f95c49557f..0000000000000000000000000000000000000000 --- a/compose/readme.txt +++ /dev/null @@ -1,109 +0,0 @@ -backend API Development - -nginx.conf: -- comment location /osapi -- comment location /tmf-api -- comment location /oas-api - -fix auth location in nginx.conf as follows: - - location /auth { - proxy_pass http://keycloak:8080/auth; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - } - - -docker-compose --profile dev down;docker-compose --profile dev up -d - -Keycloak for development - - -Add 127.0.0.1 keycloak in your hosts file and replace http://localhost/auth/ with http://keycloak:8080/auth/ in your Keycloak config for TypeScript/Angular. - -Hosts File Location: - -In Linux/Unix, its location is at: /etc/hosts In windows, its location is at c:\Windows\System32\Drivers\etc\hosts. - -Explanation: - - The Nginx uses the http://keycloak:8080 URL which is the network inside the docker system. - The front-end (TS/Angular) uses the http://keycloak:8080 - You will not get the invalid token error, as you are getting the token from http://keycloak:8080 and as well verifying with the same URL. - - - -nginx serves already the frontend from the project org.etsi.osl.tmf.web - - - - -If you would like to use the frontend to test your backend config.prod.json should look similar to the following example - - -{ - "TITLE": "Openslice demo", - "PORTALVERSION":"1.1.0-SNAPSHOT", - "WIKI": "http://wiki.localhost", - "BUGZILLA": "{BASEURL}/bugzilla/", - "STATUS": "http://status.localhost/", - "WEBURL": "{BASEURL}", - "PORTAL_REPO_APIURL": "{BASEURL}/osapi", - "ASSURANCE_SERVICE_MGMT_APIURL": "{BASEURL}/oas-api", - "APITMFURL": "http://localhost:13082/tmf-api", - "OAUTH_CONFIG" : { - "issuer": "http://keycloak:8080/auth/realms/openslice/protocol/openid-connect/auth", - "loginUrl": "http://keycloak:8080/auth/realms/openslice/protocol/openid-connect/auth", - "tokenEndpoint": "http://keycloak:8080/auth/realms/openslice/protocol/openid-connect/token", - "redirectUri": "{BASEURL}/redirect", - "logoutUrl": "{BASEURL}/auth/realms/openslice/protocol/openid-connect/logout", - "postLogoutRedirectUri": "{BASEURL}/services/services_marketplace", - - "responseType": "code", - "oidc": false, - "clientId": "osapiWebClientId", - "dummyClientSecret": "secret", - - "requireHttps": false, - "useHttpBasicAuth": true, - "clearHashAfterLogin": false, - - "showDebugInformation": true - } -} - - - -for the NFV frontend, config.js should be like the following: - -var appConfig = angular.module('portalwebapp.config',[]); - - -appConfig.factory('APIEndPointService', function() { - return { - TITLE: "Openslice", - WIKI: "ROOTURL", - BUGZILLA: "ROOTURL/bugzilla/", - STATUS: "ROOTURL/status/", - APIURL: "http://localhost:13000", - WEBURL: "ROOTURL/nfvportal", - APIOAUTHURL: "http://keycloak:8080/auth/realms/openslice", - APITMFURL: "http://localhost:13082/tmf-api/serviceCatalogManagement/v4" - - }; -}); - - - - - ---- - -Run openslice on host - -Build first - -docker-compose --profile prod down;docker-compose --profile prod up -d --build - - \ No newline at end of file