ss2016-group1's People
ss2016-group1's Issues
Ignore build artifacts and eclipse configuration files on commit
Just as a hint. You should ignore the build folder (target) as well as the eclipse configuration files (.project, .classpath, .settings) on commit to not collide with your colleagues on every push/pull.
Bad REST API
I have seen REST URLs like /getX/ or /setX.
This is essentially not compliant to REST. In REST an operation on the server writing data X would look like /X/ with method POST. Reading X would look like /X/ as well but with GET method.
Communicate and finalize interface specification
You should finalize and communicate the interface specification with the other groups to be able to integrate in iteration 2.
refactoring stop schedule to one component "schedule management"
Start document a readme
You should have a readme essentially covering the essential details of your project including how to download and start the latest released server as well as reference the latest documents like:
- component diagram
- traceability matrix from system functions to component diagram
- system test specification
- traceability matrix from system functions to system tests
inconstancy in coding
why these methods are doing the same thing and having different names?
busmanagement.findAllBuses()
linemanagement.getAllLines()
stopmanagement.listAllStops()
routemanagement.getAllRoutes()
better testing data (consistent to group3 )
the server testing data should be the same as what group 3 is using in their mock up server
sariram coming onboard
- you should know how to use git and it's issue tracker if you don't learn it.
- you should have a working code on your system (ask others for help)
- check the line or stop components in the system and learn the structure of the system
- enter 16 hours of fixed working time in working time card.(#9)
when you are done with any of the above please check it here.
warnings should be fixed
there should be no warning in the eclips output
Update interface
As documented in the interface document, we need to implement an update method, which upon request sends timestamps of the data in our data base.
"Bus" component implementation
- code for Bus
- entity
- dao
- management
- eto
- restservice
- Bus services
- ./buses interface implementation
- review by reviewer
- verification of interface output with client group
Create System functions in requirements
- You should document, which system functions your server supports,
e.g. #SF_S1 Provide Interface to apps, #SF_S2 Store information
Of course you would need to describe each system function in detail and my proposal might not be complete or the best one. - The system functions must be traced to the To-Be scenarios.
See for more details in GSE-Project/SS2016-group2#17
System Test Cases
- Create the system test cases
- Execute the system test cases
- document who tested which version of the software. Any detected bug should be listed/linked in this issue for the sake of performing retesting after bug removal.
changing precision on server
the precision of the lastbusPosition is not accurately saved in the server
check with the maximum precision possible in the Double datatype
"route" component implementation
- code for route
- entity
- dao
- management
- eto
- restservice
- rout services
- ./routes intreface should be implemented.(check interface document)
- for now we are considering the route an string of data(text);
- ./routes intreface should be implemented.(check interface document)
- review by reviewer (contact mohammd)
- verification of interface output with client group
create component diagram & traceability
You should start to specify a component diagram as well as the traceability of the system functions to the components.
Communication Channel
You should discuss (and tell us) which communication channel you use.
As Ricarda could not use WhatsApp, you may switch to e-mails.
Integrate with Clients
As an outcome of the second iteration, you should present an integrated system running the client APPs with the server backend.
typo error in line interface
"busids" instead of "busses"
documenting how to set up server
@Sriramk88 @bonkilejay the readme file should be updated with correct instruction.
step by step guide and requirements for setting up the server should be stated.
if it's too much create a wiki page for it
System testing iteration 1&2
- Creation of system test cases until Fr May 27
- Test execution and documentation in week of June 06 to June 10.
CollectionIssue
"Line" component implementation
- code for Line
- entity
- dao
- management
- eto
- restservice
- Line services
- ./lines intreface should be implemented.(check interface document)
fix timing to be in the lab
every one in @GSE-Project/group1 have to fix 16 hours of work
it should be in lab
let the others know about your hours.
Christian said that he would also follow these working hours to check the timing and if there is change in you plan you should tell everyone else about it
Project Setup seems to be platform dependent
I tried to run your project on my OASP IDE but I encountered some problems while running it
I used SpringBootApp
as Main type and recieved partially this:
[D: 2016-06-02 12:50:24,493] [P: WARN ] [C: ] [T: main] [L: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] - [M: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beansJpaConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.lang.Boolean gse1.buergerbusserver.general.configuration.BeansJpaConfiguration.enabled; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'database.migration.auto' in string value "${database.migration.auto}"] [D: 2016-06-02 12:50:24,495] [P: INFO ] [C: ] [T: main] [L: org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] - [M: Closing JPA EntityManagerFactory for persistence unit 'default'] [D: 2016-06-02 12:50:24,498] [P: INFO ] [C: ] [T: main] [L: org.apache.catalina.core.StandardService] - [M: Stopping service Tomcat] [D: 2016-06-02 12:50:24,514] [P: ERROR] [C: ] [T: main] [L: org.springframework.boot.SpringApplication] - [M: Error handling failed] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' is defined
The full stack trace can be found here
route interface
there are some changes in the interface for route and we are going to use geojson
you can check the interface document for the changes
#17
redesign schedule table
following the talks with malte we are going to have the line name in the schedule table
- change the table schema
- change the input data
- check the entity consistency
Fix readme
In the readme you stated, that you have to have a tomcat and deploy a war on it.
That is the complex way to go. As spring comes with an embedded tomcat you can just build the core project and start the packed jar, which will also automatically startup an embedded tomcat.
Further notice, you might already have seen:
The latest version of your server does not start due to duplicate LineDaoImpl declarations,
Change of Req Doc (until May 24)
- Change of the requirements document (until Tuesday May 24).
Each Group should get a list of system functions that are new and which might require a change. - Communication of API extension (until Tuesday May 24)
Test of E-Mail Hook
realTimeData interface implementation
the update of lastPosition #19 of bus and other data that is related and may get updated like number of seat.. etc
would happen withing in this interface
the interface is 90% finalized. I will update this card when I got the last confirmation from group(3)
I'm mentioning @razadfki here so you can also check the interface and tell if there is something missing
id should be reflected in the jsonoutput
- bus component
- line component
- stop component
DAOs override any function from super class
Currently, you override any inherited method from the inherited classes by a default method stub...
That is not how you will get your system work correctly.
Your first example bug
This bug is the first example of a bug to work on.
It consists of the following tasks
- Read the tutorial
- Add a new wiki entry for the issue
- Assign the issue to one of your colleguages
- Change the wiki entry for this issue
- Leave a comment in the issue tracker that you changed the wiki
Go on with #2
"stop" component implementation
- code for stop
- entity
- dao
- management
- eto
- restservice
- stop services
- ./stops intreface should be implemented.(check interface document) (in 2 part)
- 1- without schedules
- 2- adding schedules (consult me if needed help)
- ./stops intreface should be implemented.(check interface document) (in 2 part)
- review by reviewer
- verification of interface output with client group
Verification against requirements
We should check the requirements document and verify our code against the requirements specifications. This should also be documented.
wiki page should be completed
lastPosition implementation
- code for lastPosition
- entity
- dao
- management
- eto
- the should be a method for getting the last position of a bus
- review by reviewer (contact mohammd)
remove test attributes from stop interface
timeStamp should be removed from the output
updateBusStatus interface
Already for the first/second iteration we need a second post method to retrieve the bus and line chosen by the driver.
tables layout and database script
sql script for creating the database should be written
- tables and fields discussed
- sql script for creating the tables should be created
- all the needed fields for hibernate is added
- initial data
- review the script
busses/id is not returning a geojson value for position
Review #1
- Christian will review your first solved issue #1
- Set the first issue to be fixed in the corresponding milestone.
R&D for time stamps
find the answer to the following questions and let us know what should we follow for the timestamp data type and implementation. and write your answer in the comments
what are the possible ways of saving timestamps
using db.
using java
etc
which is the best practice.
which is done in the samples.
what are the types that could be use for time stamp.
which is good for us
how to convert timestamps from JS clients to server timestamp
what is the difference b/w types: "Date" and "timeStamp" in java
refactoring line route and bus into one component
discussed with malte. and he said having a component for each table is not optimal
Check visibilities of Java fields
I have seen a lot Java fields with default visibility.
In an OOP language like Java, you should check the visibilities. Besides the use of constants, you normally do not want to leak direct access to your class' fields. Therefore, you have setters/getters.
E.g. have a look at your Entities.
update server interface specification (May 25)
Please update and link the interface specification in your readme (#33).
You may want to just generate the wadl, which is already build into JAX-RS technology.
Bus Entity is missing + Missing column lineId, routeId
Project does not run because of the mentioned above run-time errors.
It does require minor changes in the following files:
buergerbusserver\core\src\main\java\gse1\buergerbusserver\busmanagement\dataaccess\api\BusEntity.java
buergerbusserver\core\src\main\resources\db\migration\V0002__R001_Master_data.sql
buergerbusserver\core\src\main\resources\db\migration\h2\V0001__R001_Create_schema.sql
Revert the last commit against issue #10
Undo to the last commit is required because of the following:
- rout_id does not follow the naming conventions i.e., camelCasing
- I have already worked on it and defined it according to the conventions.
Requirement + Design Engineering Iteration 1
Requirement + Design Engineering Iteration 1
TODO:
- Workshop on April 22
- Specify architecture
The system testcases are treated separately in #15.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.