agoncal / agoncal-application-conference Goto Github PK
View Code? Open in Web Editor NEWAngular 2 application with micro services
Angular 2 application with micro services
In the links section, add a swagger definition link
{
links {
swagger : http://www.yyy.com/swagger.json
}
}
Hallo Antonio,
The ng build -prod gives following warning:
Can't resolve all parameters for DefaultApiAttendee in /Users/naujoks/Desktop/DEV-NEW/workspace-fintec/ApplicationReaktor/finsquare-application/angular-source/src/app/ms/api/DefaultApiAttendee.ts: ([object Object], ?). This will become an error in Angular v5.x
Thanks
Stefan
One a MS updates its data, update propagation has to be made. For example, if the room name is updated (from "Room 5" to "Room nĀ° 5") this title has to be updated in the schedule microservice
ATM the H2 in memory DB is used. Each MicroService should use its own DB (and DataSource)
@johnament put a nice implementation of CircuitBreaker, see if we can use it :
https://github.com/johnament/cdi-circuit-breaker
Also check Histrix
Examples
venue/api/rooms/q?name=room
venue/api/rooms/sort=-name
Create a second docker-compose file to compose the application using fat jars
With the ID a Type attribute should be added in all the resources, such ad
{
"data": {
"type": "articles",
"id": "1"
}
}
I am getting the following error when executing the second line, here a part of the output.
thnaks for helping.
[INFO] Building Conference 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- swagger-maven-plugin:3.1.4:generate (default-cli) @ parent ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Conference ........................................ FAILURE [0.670s]
[INFO] Conference :: Commons ............................. SKIPPED
[INFO] Conference :: Commons JWT ......................... SKIPPED
[INFO] Conference :: Attendee ............................ SKIPPED
[INFO] Conference :: Rating .............................. SKIPPED
[INFO] Conference :: Tests ............................... SKIPPED
[INFO] Conference :: Schedule ............................ SKIPPED
[INFO] Conference :: Speaker ............................. SKIPPED
[INFO] Conference :: Talk ................................ SKIPPED
[INFO] Conference :: Venue ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.433s
[INFO] Finished at: Thu Dec 29 00:19:48 CET 2016
[INFO] Final Memory: 13M/130M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.kongchen:swagger-maven-plugin:3.1.4:generate (default-cli) on project parent: You must configure at least one apiSources element -> [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/MojoFailureException
Either Consul of double check the Docker network capabilities (didn't work with docker-compose scale)
Check org.wildfly.swarm::toppology-consul
When parsing the JSon from the REST endpoints, the data is not encoded correcltly
Would be good to trace calls.
Check org.wildfly.swarm::zipkin
Check org.wildfly.swarm::monitor
Get the Angular 2 code from @sebastienpertus
Attendees can mark a talk as favorite
Hallo Antonio,
ng build -prod stops with an error.
The property submitted:boolean must be placed in VoteComponent.ts and LoginComponent.ts.
I fixed it in my local, works ;-)
Stefan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.