Smart Campuses Delivering connectivity security flexibility at City
Smart Campuses: Delivering connectivity, security & flexibility at City U Greg Mc. Creanor – Principal Solutions Engineer, Mule. Soft Roger Wong - Director of Enterprise Solutions Office, City U All contents © Mule. Soft Inc.
Common feedback We've heard it all before. . We’re a mature market & know ‘middleware’…. We can do all of this with Open Source… All contents © Mule. Soft Inc.
City. U’s Journey to Microservices Roger Wong Director of Enterprise Solutions Office City University of Hong Kong roger. hk. wong@cityu. edu. hk
City University of Hong Kong (City. U) Year of Establishment 1994 (assumed full university status) Colleges/Schools 10 Academic Departments 27 Research Centres 41 Main Campus Area 15. 6 Hectares No. of undergraduates ~13, 000 No. of postgraduates ~7, 500
City. U Central IT Organization Office of CIO Planning and Strategic Projects Computing Services Centre Infrastructure and Services Enterprise Solutions Office Applications and Services
Want to show room availability
Need to find a robust way for mobile client to retrieve data; definitely not DB connection How to authenticate the mobile client There are multiple room booking systems on campus
API Platform A robust way to retrieve data
Authentication API platform
Process API for aggregating all booking systems data System API for Booking System A Consumed by System Booking API for Booking System B
System API of Booking System B System API of Booking System C We need to cache the result Process API for aggregating the data from all booking systems
Finally … • The City. U mobile app with room availability function was launched • as a strategic project of Office of CIO and; • as the first user of the API platform • The cache shortens the room availability search time from 3 seconds (the patient limit of a human being) down to less than 0. 5 second
MVC framework Loose coupling between APIs System API Decouple the details of the data model Message-driven Process API Define the business logic and orchestrate the processes Experience API Transform the data for UI component’s consumption
Did the one who built the base station know that “someone” would use it? What if the designer changes the base station design? Would it break the bird nest?
Did the programmer who built a function know that “someone” would use it? What if the programmer changes the function design? Would it break other one’s program?
Looking Forward …
Recap • API architecture design is important • MVC framework • API registration and interdependency map is important • Reduce the risk of broken code • Enable cross ERPs workflow in a more robust and real-time way
Thank you
What makes Mule. Soft different?
The modern API enables the connected experience Customer ID Order History API Contract Logic Connectivity Customer Orders All contents © Mule. Soft Inc. Core capabilities into reusable building blocks APIs give you a standardized way to amplify your unified customer journey Secure and governed access to core systems Can be moved across environments without redevelopment work
Modern API helping Business transform faster Stability Visibility Speed Inflexibility Duplication & maintenance Governance & Security Technology Change All contents © Mule. Soft Inc. HTML Cloud
What’s needs to be in a modern microservice? thread management, error handling, audit, . . . API Contract API spec RAML, Swagger, etc. Cross Cutting security, identity mgmt integration, caching, logging, encryption, masking, custom Business Logic Mule, Java, Python, Groovy, Java. Script, etc. Integration Logic routing, enrichment, scatter-gather, filters, transformers, iteration, etc. Connectivity Logic HTTP, SOAP, OAuth, SAML, Saa. S aps, on-prem apps, messaging, database, . . . Container All contents © Mule. Soft Inc. 27
Modern Microservice requirements API Contract Cross Cutting Business Logic Integration Logic ● Small amount of code ● Modular components ● Not dependent on any other asset ● Independently deployable ● Lightweight protocol (HTTP, JMS, AMQP) ● Automated testing and deployment Connectivity Logic Container All contents © Mule. Soft Inc. 28
Code vs. Configure Code Mule thread management, error handling, audit, . . . API spec language (RAML, Swagger, etc. ) Programming language + framework of choice (spring boot, node. js, Java, etc. ) API Contract API spec language RAML, Swagger, etc. Cross Cutting Policies security, identity mgmt integration, caching, logging, encryption, masking, custom Business Logic Programming language + framework of choice Integration Logic Mule Flow control components routing, enricher, scatter-gather, filters, Data. Weave, transformers, for-each, etc. Connectivity Logic Mule Connectors HTTP, SOAP, Saa. S aps, on-prem apps, messaging, database, security, . . . (spring boot, node. js, Java, etc. ) Low High All contents © Mule. Soft Inc. Low Slow Scripting/Custom components Mule, Java, Python, Groovy, JS, etc. Risk 29 High Low Development Speed 29 High Fast
Benefits of Mule. Soft’s Anypoint Platform ACCELERATED DELIVERY AUTOMATED SECURITY RESILIENT OPERATIONS FUTURE-PROOF FOUNDATION Fast to start, faster over time Security and governance by default Built-in reliability, scalability, & visibility Flexible and built for change All contents © Mule. Soft Inc.
Accelerated delivery ● Learn, use and manage one platform for APIs, integration, B 2 B/EDI ● Build projects quickly by reusing assets from your org and the Mule. Soft ecosystem ● Automatically map data using machine learning-based recommendations “Mule. Soft’s API-led connectivity approach delivered a 10 x improvement in productivity. That’s a massive win in a digital world. ” Simon Post, Group CIO All contents © Mule. Soft Inc. ● Easily plug into your existing CI/CD pipeline with support for Maven and Jenkins
Automated security ● Build on a secure platform with ISO 27001, SOC 2, PCI DSS and GDPR compliance ● Enable security by default by enforcing global access control and threat protection automatically at every layer “Mule. Soft gives our business the right security principles out the box. ” - Amit Apte, Director Digital Foundations All contents © Mule. Soft Inc. ● Tokenize sensitive data in transit and at rest to ensure confidentiality
Resilient operations ● Ensure business continuity with 99. 99% uptime, autoscaling and automatic failover ● Decrease mean time to resolution with APM, logging, and business metrics in one place ● Customize dashboards, tests and alerts to closely monitor the top priority items “Leveraging Mule. Soft, we can monitor the real-time flow of data. From our website to our ERP, we can monitor how our systems and processes are performing. " Christopher Nelson, Sr. Director of Business Applications All contents © Mule. Soft Inc. ● Drive unified business and tech insights by measuring and monitoring the business impact
Future-proof foundation ● Adapt with a versatile runtime to any architecture deployment platform or technology ● Go cloud or multi-cloud without rebuilding applications or requiring new tooling “Anypoint Platform gives us the flexibility and agility to connect our consumer-facing services across public and private clouds, adapting to the fast-moving needs of our business. ” Bob Strudwick, Chief Technology Officer All contents © Mule. Soft Inc. ● Change with ease by using the only platform built for API-led connectivity
Benefits of Mule. Soft’s Anypoint Platform ACCELERATED DELIVERY AUTOMATED SECURITY RESILIENT OPERATIONS FUTURE-PROOF FOUNDATION Fast to start, faster over time Security and governance by default Built-in reliability, scalability, & visibility Flexible and built for change All contents © Mule. Soft Inc.
Concluding thoughts We've heard it all before. . We’re a mature market & know ‘middleware’…. We can do all of this with Open Source… All contents © Mule. Soft Inc.
Concluding thoughts It’s not WHAT that matters… but HOW & WHY Managing modern microservices is not a mystery The purpose built Platform for managing this is Anypoint. All contents © Mule. Soft Inc.
Lots of ways to learn more come to our booth!
- Slides: 38