Commit fcb3e404 authored by cazenave's avatar cazenave
Browse files

build complet ok

parent 35c7c198
......@@ -230,3 +230,5 @@ deployment/playbooks/templates/vitamui/conf/*/*.p12
# Mongo workspace entry-point #
##########################################
tools/docker/mongo/mongo-entrypoint
/out/
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building VITAMUI CAS Server 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) > test-compile @ cas-server >>>
[INFO]
[INFO] --- libsass-maven-plugin:0.2.10-libsass_3.5.3:compile (default) @ cas-server ---
[INFO] Compiled 1 files
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ cas-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 79 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ cas-server ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ cas-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ cas-server ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) < test-compile @ cas-server <<<
[INFO]
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) @ cas-server ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.755 s
[INFO] Finished at: 2020-03-31T18:35:40+02:00
[INFO] Final Memory: 57M/373M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) on project cas-server: Unable to find a suitable main class, please add a 'mainClass' property -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building VITAMUI CAS Server 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) > test-compile @ cas-server >>>
[INFO]
[INFO] --- libsass-maven-plugin:0.2.10-libsass_3.5.3:compile (default) @ cas-server ---
[INFO] Compiled 1 files
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ cas-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 79 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ cas-server ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ cas-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ cas-server ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) < test-compile @ cas-server <<<
[INFO]
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) @ cas-server ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.755 s
[INFO] Finished at: 2020-03-31T18:35:40+02:00
[INFO] Final Memory: 57M/373M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.18.RELEASE:run (default-cli) on project cas-server: Unable to find a suitable main class, please add a 'mainClass' property -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
......@@ -102,7 +102,7 @@ db.applications.insert({
db.applications.insert({
"identifier" : "USERS_APP",
"url" : "/pastis",
"url" : "https://dev.vitamui.com:4202",
"icon" : "vitamui-icon vitamui-icon-user",
"name" : "Pastis",
"category" : "users",
......
......@@ -52,11 +52,7 @@ cd api/api-iam/iam-external
echo "------------IAM external----------------------"
mvn spring-boot:run -Dspring-boot.run.noverify > log 2>&1 &
cd $DIR
cd cas/cas-server
echo "------------cas server----------------------"
java -Dspring.config.location=src/main/config/cas-server-application-dev.yml -jar target/cas-server.war > log 2>&1 &
cd $DIR
tail -f api/api-security/security-internal/log api/ api/api-iam/iam-external/log api-iam/iam-internal/log cas/cas-server/log
tail -f api/api-security/security-internal/log api/api-iam/iam-external/log api/api-iam/iam-internal/log
}
function start-uiib() {
......@@ -130,8 +126,8 @@ help)
echo "si: security internal"
echo "iami: iam internal"
echo "iame: iam external"
echo "api: ******** si + iami + iame"
echo "cas: cas serveur"
echo "api: ******** si + iami + iame + cas"
echo "uiib: ui identity back"
echo "uipb: ui portal back"
echo "back: ****** uiib + uipb"
......@@ -183,5 +179,5 @@ pastis)
start-pastis
;;
esac
This diff is collapsed.
......@@ -2,9 +2,8 @@
> vitamui-ui@1.0.0-SNAPSHOT start:pastis C:\Users\sbrnc\IdeaProjects\vitam-ui-develop\ui\ui-frontend
> ng serve pastis --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key server.key --ssl-cert server.crt
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
An unhandled exception occurred: Port 4202 is already in use. Use '--port' to specify a different port.
See "C:\cygwin64\tmp\ng-7dfWMc\angular-errors.log" for further details.
An unhandled exception occurred: Job name "..getProjectMetadata" does not exist.
See "C:\cygwin64\tmp\ng-s2IZhY\angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file C:\WINDOWS\system32\cmd.exe
......@@ -16,4 +15,4 @@ npm ERR! Failed at the vitamui-ui@1.0.0-SNAPSHOT start:pastis script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sbrnc\AppData\Roaming\npm-cache\_logs\2020-04-06T08_44_11_707Z-debug.log
npm ERR! C:\Users\sbrnc\AppData\Roaming\npm-cache\_logs\2020-04-06T15_48_33_298Z-debug.log
This diff is collapsed.
This diff is collapsed.
......@@ -63,7 +63,6 @@
"lodash": "^4.17.10",
"material-design-icons": "^3.0.1",
"moment": "^2.24.0",
"ngx-toastr": "^12.0.1",
"rxjs": "^6.5.2",
"tslib": "^1.9.0",
"ui-frontend-common": "file:../ui-frontend-common/ui-frontend-common-0.0.12.tgz",
......
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%
last 2 versions
Firefox ESR
not dead
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
\ No newline at end of file
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to pastis-front!');
});
afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
});
});
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to pastis-front!');
});
afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
});
});
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get(browser.baseUrl) as Promise<any>;
}
getTitleText() {
return element(by.css('app-root h1')).getText() as Promise<string>;
}
}
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get(browser.baseUrl) as Promise<any>;
}
getTitleText() {
return element(by.css('app-root h1')).getText() as Promise<string>;
}
}
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment