clouway / hotspot2 Goto Github PK
View Code? Open in Web Editor NEWHotspot 2
Hotspot 2
REST interface should provide a method for retrieving of venue name information.
Create initial project skeleton for java project which to be used as base of the Hotspot2 project:
The new project should follow the following rules:
Acceptance:
mvn clean package
An AP’s NAI Realm profile identifies and describes a Network Access Identifier (NAI) realm accessible using the AP, and the method that this NAI realm uses for authentication.
NAI Realm Profile Parameters
http://www.arubanetworks.com/techdocs/ArubaOS_64_Web_Help/Content/ArubaFrameStyles/hotspot/hotspot_nai_realm.htm
We should create http client for emergency alert
Some objects like AP,Operators .... have fields which need validation.We must check if all the fields are properly validated.
We should create http client for NAI realm list
We should create http client for authentication type endpoint of hot spot
Testing REST client need to be created for testing of the REST services .This client will allow test HTTP messages to be send to the ANQP platform for testing where the behaviour is correct.
We should create new module for anqp client and add set up all necessary libraries.
We need to add HTTP backend server which to serve the received HTTP requests from external systems.
We should create http client for service providers
We should add 3GPP Cellular Network information to service provider. The 3GPP Cellular Network information contains cellular information such as network advertisement information e.g., network codes and country codes to assist a 3GPP non-AP STA in selecting an AP to access 3GPP networks.
The Internet Protocol (IP) Address Type Availability ANQP-element provides information about
the IP address version and type that the Hotspot Operator uses and that would be allocated and
available to a mobile device after it authenticates to the network.
The mobile device uses the IP address type availability information to make network selection
decisions.
ANQP IP Address Availability profile :
We should create http client for API of AP controller
REST interface should provide a method for registration of new operator in the platform.
We should create http client for anqp capabilities
We should create REST for assign service provider to operator
We need to create SNMP client for communication with remote devices .The SNMP client will be responsible for executing SNMP commands and collecting the responses back the ANQP platform.
We should provide civic location (this include: country, city, post code, name of subscriber, telephone number of subscriber and ...) for access point.
We should add Roaming Consortium list to service provider.
The Roaming Consortium list provides a list of information about the Roaming Consortium and/or SSPs
whose networks are accessible via this AP.
REST library need to be added to provide basic HTTP interface to external systems. This adapter will be used by the ANQP Platform to provide endpoints which to be used by external systems for retrieving/registering of information.
General Library Requirements:
Testing Scenarios:
We must implement the ability to save Embedded Objects in the datastore
We should add http client for anqp elelement venue item
We should create custom equality matchers.
The ANQP platform should be executable background daemon which to be not visible when application is started.
The background daemon should have an upstart script which to be used for remote deployment. Currently in our development environment, we could run it manually from the IDE or from console, but we have to add deployment script for production deployments.
Testing Samples:
When we deactivate operator we should check whether we have assigned Access Points to this operator and if has we should skip deactivation.
Add Bean
Validation when DTO's are constructed
We should add information for geospetial location of Access Points. With Geospetial location we provides the AP’s location in LCI format (latitude and longitude)
Persistence infrastructure need to be created which will be used by the platform for persistence. This layer will be responsible for persisting of the information which is required by the ANQP platform.
REST interface should provide a method for setting of emergency call number information for an operator. Each operator should be different emergency call numbers.
REST interface should provide a method for retrieving compatibility list for list of devices.
We should add the Encoding to the NAI realm
The NAI Realm Encoding Type subfield is a 1-bit subfield. It is set to 0 to indicate that the NAI Realm in the
NAI Realm subfield is formatted in accordance with RFC-4282. It is set to 1 to indicate it is a UTF-8 format-
ted character string that is not formatted in accordance with RFC-4282.
We should be able to register,update and delete a Service Provider.
We need to create project for the acceptance tests. This project will contain the Test HTTP client which will be responsible for sending of HTTP requests to the newly created ANQP platform.
implement javax.validation.ConstraintValidator classes that require Dependency Injection by Google Guice
REST interface should provide a method for registration of new Roaming Group in the platform.
REST interface should provide a method for assigning of operator to existing roaming group.
We need to evaluate what SNMP library to be used by the platform.
7.3.4.13 AP Location Public Identifier URI element
The AP Location Public Identifier URI element provides an indirect reference to where the location infor-
mation for the AP can be retrieved.
We should create REST function which we will use to assign APS to operator.APs can be assigned only to active operators.
We should add Domain Name lIst to service provider.The Domain Name list element provides a list of one or more domain names of the entity operating the IEEE 802.11 access network.
We need to add basic JSON support for serialization of objects which need to be transferred between ANQP platform and external systems.
Test Scenarios:
We should not be able to deactivate operator if it is assigned to roaming group/s.
We nee to integrated existing SNMP library that will be responsible for the configuration of external devices. The adapter need to support the following protocol versions: v2c and v3.
We should be able to retrieve the Query List for specified AP
REST interface should provide a method for registration of new AP in the platform.
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.