Tumgik
#Swagger editor for android
expresslascl · 2 years
Text
Swagger editor for android
Tumblr media
#Swagger editor for android how to
#Swagger editor for android apk
#Swagger editor for android install
#Swagger editor for android update
#Swagger editor for android android
We can't be held responsible for anything in the case of error, but remember us kindly if it ends up working. Spec-First is an awesome way to build your API in advance and start work on front-end and back-end in parallel. We can't guarantee that it works perfectly but the option is available to use it with any app installed on your phone.Īs you can understand, it's a rather sensitive tool so be careful when it comes to using or keep an eye on anyone using it. Workspace where front-end & back-end developers make API contracts. You know, for those friends of yours that want to have two installations of WhatsApp with different accounts.
#Swagger editor for android apk
Redesign the interface to your own liking.Īnother important feature of APK Editor is its capacity to clone apps.
Extract anything you want from your installed applications, including images, music, and sound.
If you dare, you'll be able to do quite a few interesting things when it comes to modding your favorite apps. Bothersome banners that get in your way in the middle of a game? Applications with restrictions that don't allow you to do what you want? Ugly wallpapers? Horrible sounds that you want to change? Then this is just what you were looking for.īut we don't want to deceive you, it's not an app for newbies, so you'll be better off with certain technical knowledge about APK works at a code level. And what can this be useful for? Well, to deal with loads of applications that do things that could be improved or to get rid of things that we don't like.ĪPK Editor is an editor for APK files that offers you loads of options, almost as many as you can imagine.
#Swagger editor for android how to
Well, these files like many others can be edited if you know how to. Make me a gangsterPut on a pair of thug life glasses and show your swagger Download the Thug Life Photo Editor to get yourself some mld shades and a gold necklace Find out how to be a.
#Swagger editor for android android
Thanks for taking out time to read this article.As you already know, the apps installed on an Android device usually come along as files in APK format. BuildProp Editor Premium - A utility that allows you to edit and view file information in build.prop. When adding the generated code to android studio project, there are can not resolve import io.swagger.v3. errors. I have already looked the the SO post RX JAVA + Retrofit sdk generation using Swagger codegen and able to generate the sdk. You should get something similar to the screenshot below I need to generate the Android client sdk for my API. Open your browser and go to localhost:3000/docs
#Swagger editor for android update
Put: # endpoint request type (put request)ĭescription: path parameter takes the pet idĭescription: It enables a user to update pet profileĭescription: An object with a user updated user profile detailĭefinitions: # Schema definition for the request body With a request body similar to the one below: : # path of the user from your endpoint To document a user POST request body to localhost:3000/api/users In earlier step,we have saved the specification in yaml format. Generate API code with swagger codegen tool. Save the specification as yaml file from editor File>Save as YAML. In the docs folder, we will create two YAML file user.yaml Put the above specification in Swagger editor left pane and see the Swagger documentation visually. use swagger-Ui-express for your app documentation endpointĪpp.use('/docs', rve, tup(swaggerSpec)) Host: 'localhost:3000', // the host or url of the appīasePath: '/api', // the basepath of your endpointĬonst swaggerSpec = swaggerJSDoc(options) Title: 'REST API for my App', // Title of the documentationĭescription: 'This is the REST API for my product', // short description of the app const express = require('express') Ĭonst swaggerJSDoc = require('swagger-jsdoc') Ĭonst swaggerUi = require('swagger-ui-express') īelow your imported file write the following lines of code // Create global app objects
#Swagger editor for android install
To install this packages, you need to run npm install -save swagger-jsdoc swagger-ui-expressĪfter successful installation, open the app.js file and import the following file at the top of the file. To use this tutorial, you need to install the following npm package: In the swagger-doc directory, run npm initįollow the instruction to set up the package.json file.Ĭreate the app.js file and doc folder in the root directory of your project using touch app.js Navigate to the directory using cd swagger-doc You can then create a folder named swagger-doc on your desktop using the command below mkdir swagger-doc I had to do lots of research before I could finally come up with what I want.įirst thing first, you need to create a directory for the project, navigate to your desktop by typing the following command in your terminal cd Desktop I spent days searching for articles online but couldn’t lay my hand on any that suit my purpose. After lots of research online on how to write documentation using swagger on the local environment instead of using swagger online editor for easy team collaboration, I discovered that no good articles could point me through the right direction.
Tumblr media
0 notes
photographytonki · 2 years
Text
Visual studio 2022 release
Tumblr media
VISUAL STUDIO 2022 RELEASE UPDATE
VISUAL STUDIO 2022 RELEASE FULL
VISUAL STUDIO 2022 RELEASE CODE
VISUAL STUDIO 2022 RELEASE DOWNLOAD
VISUAL STUDIO 2022 RELEASE FREE
Until the September milestone release notes are available, you can still track.
VISUAL STUDIO 2022 RELEASE DOWNLOAD
We want to acknowledge and thank all developers like you that continue to provide us valuable feedback on your experiences using Visual Studio 2022 for helping shape the product and be a part of our release Download Visual Studio 2022 17. From Developer Community Custom and User Controls not shown in Toolbox in VS 17.3 Visual Studio 2022 version 17.3. As we get closer to the release date, you'll find details below about new features and important fixes. May 10th, 2022 134 1 Today we are pleased to release Visual Studio 2022 17.2 as generally available. Visual Studio 2022 version 17.3.3 released AugIssues Addressed in this release of 17.3.3 Fixed an issue which would cause VS to hang when using rename in C or VB.NET projects. In addition, we’ve focused on improving the performance of common scenarios that you use every day. All on your preferred platform and device with the power of Visual. This provides a comprehensive set of tools and resources for you to create, deploy, and manage your next great application. The most common is to purchase a Visual Studio subscription.
VISUAL STUDIO 2022 RELEASE FULL
It can now take full advantage of modern hardware in order to reliably scale to larger, more complex projects. There are multiple ways to acquire Visual Studio based on your needs. SQL Server 2022 Release Candidate 0 is now available on Linux (Amit.
VISUAL STUDIO 2022 RELEASE CODE
And it has similar methods to the DateTime struct. These are the preliminary notes for the September 1.72 release of Visual Studio Code. Visual Studio 2022 is our first 64-bit release of Visual Studio. Automatic issue fixing and filtering in Visual Studio Code (Chris Heilmann). With the DateOnly struct, we can add a new instance by specifying the year, month and day. That would mean that the time would exist, even if we were just using the date. Traditionally, the DateTime struct would need to be used. NET 6 is the ability to set an object that is just a date, or just a time. Feature #4: DateOnly and TimeOnly structsĪ feature that is long overdue in. Public IConfiguration Configuration ", (ITeamService teamService, int id) => teamService.Read(id)) īy running our application now, our endpoint will now appear in our Swagger documentation. Public Startup(IConfiguration configuration) According to Microsoft, during early VS 2022 testing, customers were able to run the VS IDE for days, even with solutions containing 700 or more projects.Using By making Visual Studio 64-bit, officials said that they expect the release to make better use of all system resources, especially when working with more complex solutions over longer periods of time. Visual Studio 2022 is the first release of a 64-bit version of Visual Studio. The August 2022 release of the vcpkg package manager is. Both the RC and GA versions of VS 2022 will have go-live licenses, meaning they are ready for production use. vcpkg August 2022 Release is Now Available: CMake Version Update, Updated FAQ, Cross-compilation.
VISUAL STUDIO 2022 RELEASE UPDATE
The preview channel gives testers a monthly look at what's coming in the next minor version update of the current channel. In addition to making the RC of VS 2022 available today, Microsoft also is rolling out Preview channel Release 5.
VISUAL STUDIO 2022 RELEASE FREE
Click Extensions -> Manage Extensions from the Menu. A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services. Command Center - New UI to search files, run commands, and navigate cursor history. There are many updates in this version that we hope you'll like, some of the key highlights include: 3-way merge editor - Resolve merge conflicts within VS Code. It also announced that November 8 will be the general availability date for VS 2022, which a virtual launch event will mark. Launch Visual Studio 2022, then click Continue without code. Welcome to the June 2022 release of Visual Studio Code. Microsoft is making the near-final Release Candidate (RC) of Visual Studio 2022 available today.
Tumblr media
0 notes
testtoolsthatrule · 7 years
Text
14 Open Source API Testing Tools For REST & SOAP Services
I wanted to share this great post from Joe Colantonio because he put together a great mashup of API testing tools that is quite extensive and exhaustive. This area of testing is becoming a bigger and bigger part of test automation and needs to be continue to be refined as the demand for API testing continues to grow.
One thing that I will be focussing on as we post more and more on this blog is not only good information about testing tools but how they can be applied for different scenerios. Check out Joe’s top 14 API testing tools below.
As we move towards more Agile shift-left software development processes like continuous integration and delivery, the need to quickly give test feedback to our developers is increasing.
One downfall to UI tests is they are slow, making them a poor choice for letting developers know quickly if their code has broken the latest build or not. API tests, on the other hand, tend to be faster and run more reliably than GUI tests.
Before we take a closer look at the api testing tools, let’s make sure we’re all on the same page with what an API actually is.
 What is an API?
Application Programming Interfaces (API) is a specification that acts as an interface for software components.
While most functional testing involves testing a user interface like a web page or a dot net form, API testing involves bypassing a user interface and communicating directly with an application by making calls to its APIs.
API testing allows you to test headless technologies like JMS HTTP, databases and Web services.
API testing is sometimes called “headless” testing. Most headless testing consists of bypassing the UI and sending a request directly to an application’s backend or service and receiving a response, while validating the response to ensure things are working as we expect them to.
This simple example is often referred to as a client/server relationship. A client makes a request by asking for a resource; the request then goes out and finds a server that can fill that request. The server locates the desired resource and sends a response back to the client.
What API Testing Tools Can I Use to Automate API Testing?
Since Selenium is just for browser based testing, you may be wondering which tool to use for Rest and Soap web service-based testing.
Here are some of the top API testing tools that can be used for Rest and Soap Web Service Testing.
  Postman 
Postman is a rest client that started off as a Chrome browser plugin but recently came out with native versions for both Mac and Windows.
At a high level, you can use it to send a post request to your web server and it gives you the response back. It allows you to set up all the headers and cookies your API expects, and then check the response when it comes back.
Can be used for both automated and exploratory testing
Can be run on Mac, Windows, Linux &Chrome Apps
Has a bunch of integrations like support for Swagger & RAML formats
Has Run, Test, Document and Monitoring Features
Doesn’t require learning a new language
Karate DSL 
Karate allows you to create a test that can sequence calls to any kind of web-service and assert that the responses are as expected.
Build on top of Cucumber-JVM
Can run test and generate reports like any standard Java project
Test can be written without any Java knowledge required
Tests are easy to write even for non-programmers
Check out a quick example on how to get started using Karate with BDD.
SoapUI 
SoapUI is a headless functional testing tool from SmartBear software. It comes in two flavors: Free open source version and Pro Version. Since the free version is open-source, you can actually gain access to the full source code and modify as needed. The pro version is user-friendlier, and has additional functionality including a form editor, an assertion wizard for Xpath, and SQL query builder.  The free version lets you:
Can easily create custom code using Groovy
Drag and Drop Test Creating
Can create complex scenarios
Asynchronous Testing
SoapUI’s Mock Service lets you mimic web services before they are implemented
HttpMaster Express 
HttpMaster describes itself as a web development and test tool to automate testing of web sites and services. It can be used to test RESTful web services and API applications. HttpMaster also allows you to and monitor API responses.
HttpsMaster project offers global options to customize your API request
Parameter capabilities enable you to include dynamic data with your request
You can use request chaining to leverage request items to include some data from previous request with the next request
Rest- Assured 
Rest-Assured is an open-source Java Domain-specific language (DSL) that makes testing REST service simple. It simplifies things by eliminating the need to use boiler-plate code to test and validate complex responses. It also supports XML and JSON Request/Responses.
Removes need to create boilerplate code required to interact with a rest service
Support BDD Given/When/Then syntax
Integrated seamlessly with Java projects
RestSharp 
RestSharp is a simple REST and HTTP API Client for .NET
Supports .NET 3.5+, Silverlight 5, Windows Phone 8, Mono, MonoTouch, Mono for Android
Easy installation using NuGet for most .NET flavors
GET, POST, PUT, PATCH, HEAD, OPTIONS, DELETE supported
Rest Console 
HTTP Client and Request Visualizer and Constructor tool, helps developers build, debug and test RESTful APIs. Rest Console is a HTTP Request Visualizer and Constructor tool, helps developers build, debug and test RESTful APIs.
Easy query parameters creation
Syntax highlighting
Authentication support: Plain, Basic, OAuth + Custom
RoboHydra Server 
RoboHydra is a testing tool for HTTP-based clients (ie. software that makes HTTP requests). The idea is, instead of connecting your clients-under-test to the real server, you connect them to RoboHydra and make RoboHydra respond with whatever you need for each request.
You can test many different kinds of clients
Written in Javascript, runs under Node 
Hippie-Swagger 
hippie-swagger is a tool for testing RESTful APIs. It’s also an API testing tool with automatic swagger assertions. In addition to validating API behavior, it will fail tests when swagger documentation is missing or inaccurate.
Can validate All aspects of swagger file validated; parameters, request/response body, paths, etc.
Accurate, human readable assertion messages
WebInject 
WebInject is an open source solution for automated testing of web applications and web services. It can be used to test individual system components that have HTTP interfaces (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP Web Services, REST, etc).
Is a command line tool
Written in Perl can be installed on MS Windows, GNU/Linux, BSD, Solaris, MAC OS
Pyresttest 
PyRestTest is a python based REST testing and API microbenchmarking tool
You can write your tests in basic YAML or JSON config files, no code needed
Returns exit codes on failure
Only works on Mac and Linux
Airborne 
Airborne is an open source Ruby based RSpec driven API testing framework.
Works with Rack application like Sinatra and Grape
Works with APIs written in Rails
Unirest
Recommended by Unmesh Gundecha Unirest is a lightweight HTTP request client libraries.
Can be combined with xUnit, BDD runner to make it a test tool
Mockbin 
Mockbin was recommended by Augusto Marietti. Mockbin allows you to generate custom endpoints to test, mock, and track HTTP requests & responses between libraries, sockets and APIs.
Mock Custom Endpoints
Create Custom HTTP Methods
Log and inspect incoming calls to your custom endpoints
Api Testing Tools Recap
These are the top API testing tools I’ve come across, but there are tons of API testing tools popping up everywhere, so I’ll definitely be adding to this list as time goes on.
If one of your favorite API test tools is not listed, please let me know and I’ll add it.
Initially shared on Joe’s Blog
Over time I will be adding additional comments on API Testing tools for sure. Be sure to be notified of future posts.
  from WordPress http://ift.tt/2h186KA
1 note · View note
yahooeng · 8 years
Text
Introducing Tripod: Flickr’s Backend, Refactored
By Peter Welch, Senior Principal Engineer
Today, Yahoo Mail introduced a feature that allows you to automatically sync your mobile photos to Yahoo Mail so that they’re readily available when you’re composing an email from your computer. A key technology behind this feature is a new photo and video platform called “Tripod,” which was born out of the innovations and capabilities of Flickr.
For 13 years, Flickr has served as one of the world’s largest photo-sharing communities and as a platform for millions of people who have collectively uploaded more than 13 billion photos globally. Tripod provides a great opportunity to bring some of the most-loved and useful Flickr features to the Yahoo network of products, including Yahoo Mail, Yahoo Messenger, and Yahoo Answers Now.
Tripod and its Three Services
As the name suggests, Tripod offers three services:
The Pixel Service: for uploading, storing, resizing, editing, and serving photos and videos.
The Enrichment Service: for enriching media metadata using image recognition algorithms. For example, the algorithms might identify and tag scenes, actions, and objects.
The Aggregation Service: for in-application and cross-application metadata aggregation, filtering, and search.
The combination of these three services makes Tripod an end-to-end platform for smart image services. There is also an administrative console for configuring the integration of an application with Tripod, and an identity service for authentication and authorization.
Tumblr media
Figure 1: Tripod Architecture
The Pixel Service
Flickr has achieved a highly-scalable photo upload and resizing pipeline. Particularly in the case of large-scale ingestion of thousands of photos and videos, Flickr’s mobile and API teams tuned techniques, like resumable upload and deduplication, to create a high-quality photo-sync experience. On serving, Flickr tackled the challenge of optimizing storage without impacting photo quality, and added dynamic resizing to support more diverse client photo layouts.
Over many years at Flickr, we’ve demonstrated sustained uploads of more than 500 photos per second. The full pipeline includes the PHP Upload API endpoint, backend Java services (Image Daemon, Storage Master), hot-hot uploads across the US West and East Coasts, and five worldwide photo caches, plus a massive CDN.
In Tripod’s Pixel Service, we leverage all of this core technology infrastructure as-is, except for the API endpoint, which is now written in Java and implements a new bucket-based data model.
The Enrichment Service
In 2013, Flickr made an exciting leap. Yahoo acquired two Computer Vision technology companies, IQ Engines and LookFlow, and rolled these incredible teams into Flickr. Using their image recognition algorithms, we enhanced Flickr Search and introduced Magic View to the Flickr Camera Roll.
In Tripod, the Enrichment Service applies the image recognition technology to each photograph, resulting in rich metadata that can be used to enhance filtering, indexing, and searching. The Enrichment Service can identify places, themes, landmarks, objects, colors, text, media similarity, NSFW content, and best thumbnail. It also performs OCR text recognition and applies an aesthetic score to indicate the overall quality of the photograph.
The Aggregation Service
The Aggregation Service lets an application, such as Yahoo Mail, find media based on any criteria. For example, it can return all the photos belonging to a particular person within a particular application, all public photos, or all photos belonging to a particular person taken in a specific location during a specific time period (e.g. San Francisco between March 1, 2015 and May 31, 2015.)
Vespa, Yahoo’s internal search engine, indexes all metadata for each media item. If the Enrichment Service has been run on the media, the metadata is indexed in Vespa and is available to the Aggregation API. The result set from a call to the Aggregation Service depends on authentication and the read permissions defined by an API key.
APIs and SDKs
Each service is expressed as a set of APIs. We upgraded our API technology stack, switching from PHP to Spring MVC on a Java Jetty servlet container, and made use of the latest Spring features such as Spring Data, Spring Boot, and Spring Security with OAuth 2.0. Tripod’s API is defined and documented using Swagger. Each service is developed and deployed semi-autonomously from a separate Git repository with a separate build lifecycle to an independent micro-service container.
Tumblr media
Figure 2: Tripod API
Swagger Editor makes it easy to auto-generate SDKs in many languages, depending on the needs of Yahoo product developers. The mobile SDKs for iOS and Android are most commonly used, as is the JS SDK for Yahoo’s web developers. The SDKs make integration with Tripod by a web or mobile application easy. For example, in the case of the Yahoo Mail photo upload feature, the Yahoo Mail mobile app includes the embedded Tripod SDK to manage the photo upload process.
Buckets and API Keys
The Tripod data model differs in some important ways from the Flickr data model. Tripod applications, buckets, and API keys introduce the notion of multi-tenancy, with a strong access control boundary. An application is simply the name of the application that is using Tripod (e.g. Yahoo Mail). Buckets are logical containers for the application’s media, and media in an application is further affected by bucket settings such as compression rate, capacity, media time-to-live, and the selection of enrichments to compute.
Tumblr media
Figure 3: Creating a new Bucket
Beyond Tripod’s generic attributes, a bucket may also have custom organizing attributes that are defined by an application’s developers. API keys control read/write permissions on buckets and are used to generate OAuth tokens for anonymous or user-authenticated access to a bucket.
Tumblr media
Figure 4: Creating a new API Key
App developers at Yahoo use the Tripod Console to:
Create the buckets and API keys that they will use with their application
Define the bucket settings and the access control rules for each API key
Another departure from the Flickr API is that Tripod can handle media that is not user-generated content (UGC). This is critical for storing curated content, as is required by many Yahoo applications.
Architecture and Implementation
Going from a monolithic architecture to a microservices architecture has had its challenges. In particular, we’ve had to find the right internal communication process between the services. At the core of this is our Pulsar Event Bus, over which we send Avro messages backed by a strong schema registry. This lets each Tripod team move fast, without introducing incompatible changes that would break another Tripod service.
For data persistence, we’ve moved most of our high-scale multi-colo data to Yahoo’s distributed noSQL database. We’ve been experimenting with using Redis Cluster as our caching tier, and we use Vespa to drive the Aggregation service. For Enrichment, we make extensive use of Storm and HBase for real-time processing of Tripod’s Computer Vision algorithms. Finally, we run large backfills using PIG, Oozie, and Hive on Yahoo’s massive grid infrastructure.
In 2017, we expect Tripod will be at 50% of Flickr’s scale, with Tripod supporting the photo and video needs across many Yahoo applications that serve Yahoo’s 1B users across mobile and desktop.
After reading about Tripod, you might have a few questions
Did Tripod replace Flickr?!
No! Flickr is still here, better than ever. In fact, Flickr celebrated its 13th birthday last week! Over the past several years, the Flickr team has implemented significant innovations on core photo management features (such as an optimized storage footprint, dynamic resizing, Camera Roll, Magic View, and Search). We wanted to make these technology advancements available to other teams at Yahoo!
But, what about the Flickr API? Why not just use that?
Flickr APIs are being used by hundreds of thousands of third-party developers around the world. Flickr’s API was designed for interacting with Flickr Accounts, Photos, and Groups, generally on lower scale than the Flickr site itself; it was not designed for independent, highly configurable, multi-tenant core photo management at large scale.
How can I join the team?
We’re hiring and we’d love to talk to you about our open opportunities! Just email [email protected] to start the conversation.
11 notes · View notes
brondra · 5 years
Text
Ignite 2018
afinita - pri load balanceru - stejny klient chodi na stejny server, možná i jako geo u cache apod? retence=napr u zaloh jak stare odmazavat webjob= WebJob is a feature of Azure App Service that enables you to run a program or script in the same context as a web app, background process, long running cqrs = Command Query Responsibility Segregation - zvláštní api/model na write a read, opak je crud webhook = obrácené api, zavolá clienta pokud se něco změní (dostane eventu)
docker - muze byt vice kontejneru v jedné appce, docker-compose.yml azure má nějaké container registry - tam se nahraje image (napr website) a ten se pak deployne někam např. app service, ale jiné image nemusí container registry - není veřejné narozdíl do dockeru, někdo jiný z teamu může si stáhnout
azure functions 2 - v GA
xamarin - ui je vlastne access k native api, ale v csharp projekty - shared, a special pro ios a android
ML.NET - je to framework pro machine learning
hosting SPA na azure storage static website - teoreticky hodně výhod, cachování, levné hosting
devops - automate everything you can
sponge - learn constantly multi-talented - few thinks amazing, rest good konverzace, teaching, presenting, positivity, control share everything
powershell - future, object based CLI to MS tech powerShell ISE - editor - uz je ve windows, ale ted VS code cmdlets - mini commands, hlavni cast, .net classy [console]::beep() function neco {  params{[int] Seconds} } pipeline - chain processing - output je input pro dalsi atd dir neco | Select-object modules - funkce dohromady, k tomu manifest
web single sign-on = fedaration - nekdo jiny se zaruci ze ja neco muzu a ze jsem to ja federation=trust data jsou na jednom miste SAML - security assertion markup language, jen web, složité API Security - header Authorization Basic (username, heslo zakodovane) OAuth2 - misto toho tokeny (vstupenka) openid connect - id token, access token - všechny platformy, code flow doporučené, jiné implicit flow? fido - fast identity online - abstrakce uh wtf, private public key pair per origin - nejde phising ldap. kerberos - jak to zapada?
httprepl - cli swagger
asm.js - polyfil pro web assembly, web assembly je native kod v browseru - napr .net = blazzor
svet bez hesel windows hello - windows login - face nebo fingerprint ms authenticator  - mobilni apka - matchnu vygenerovany kod FIDO2 - novy security standart - mam u sebe privatni klic, server posle neco (nonce), to zakryptuju privatnim pošlu zpátky - přes veřejný rozšifruje a má potvrzené, pak to samé s tokenem
cosmos db transakce - jen pouzitim stored procedure, single partition default index na vše, jde omezit při vytváření kolekce change feed - log of changes, in order trik jak dostat rychle document count - meta info o kolekci a naparsovat key-value cosmos - vyhody globalni distribuce, eventy, multimodel, pro big data asi
AKS - container - appka, orchestrator - komunikace mezi kontejnery, správa kontejnerů, healthchecks, updates AKS - orchestrator - nejčastější orchestrátor, standart, extensible, self healing představa něco jako cli nebo klient - řeknu jaké kontejnery, počet apod uvnitř se to nějak zařídí - api server, workers atd.. - je to managed kubernetes v azure, customer se stará jen o to co nasadit a kdy - ci/cd aks = azure kubernetes service
dev spaces - share aks cluster for dev (ne ci/cd), realne dependency (bez mock jiných service apod) extension do VS, pracuju lokalne, sync do azure, využíví namespace v aks (každý má svojí verzi service) - normalne frontned.com, já mám ondra.frontend.com a svojí api, pokud se zeptá na url tak se koukne jestli běží lokálně, když ne tak se zeptá team verze respektive je to celé v azure, ale je tam moje verze aplikace
kubernets - master (api server) - jeden Node - vice, VMs, v nem pods - containers, mají unikátní ip, networking - basic pro dev, advanced pro live nody a pody jsou interní věc, ven přes services helm - něco jako worker co se o to stará? jako docker-compose - vic imagu, help je pro aks??, arm template pro aks (skrpit jak postavit prostředí)
event notification patern - objednávky do fronty, ostatní systémy zpracují, co nejvíce info v eventě event sourcing - ukládat změny - inserted, updated, updated, updated, místo get update save, jde také udělat přes event, materialized view - spočítání stavu podle těch event, jdě dělat jednou za čas event grid - event routing
azure function - zip, z něj to spustí (vyhneme se problemu při update file by file), přes proměnné, nyní default ve 2.0 je startup, kde je možné připravit DI a funkce pak přes konstruktor už se dá kombinovat s kontejnery, aks atd durable functions - složitější věci s návaznostmi funkci, long running, local state, code-only, orchestartor function - vola activity function, má vnitrni stav, probudi se dela do prvni aktivity, tu spusti, spi, probudi se checkne jestli dobehla, pokracuje dal logic apps - design workflow, visual azure function runtime jde teoreticky hostovat na aks? v devops pro non .net jazyky potreba instalovat zvlast extension v2 - vice lang, .net core - bezi vsude, binding jako extension key vault - v 2008 ani preview funkce hosting - consuption = shared, app service - dedicated microservice=1 function app, jeden jazyk, jeden scale api management = gateway - na microservices, jde rozdělat na ruzné service azure storage tiery - premium (big data), hot (aplikace, levne transakce, drahy store), cold (backup, levny store, drahe transakce), archive (dlouhodobý archiv) - ruzné ceny/rychlosti, soft delete - po dobu retence je možnost obnovit smazané, data lifecycle management - automaticky presouvat data mezi tiery, konfigurace json
hybric cloud - integrace mezi on premise a cloudem - azure stack - azure které běží on premise někde use case: potřebujeme hodně rychle/jsme offline, vyhovění zákonům, model
místo new HttpClient, raději services.AddHttpCLient(addretry, addcircuitbreaker apod) a pak přes konstruktor, používá factory, používání Polly (retry apod..) - pro get, pro post - davat do queue
people led, technology enpowered
service fabric 3 varianty - standalone (on prem), azure (clustery vm na azure), mesh (serverless), nějaká json konfigurace zase, umí autoscale (trigger a mechanism json konfig), spíš hodně interní věc - běží na tom věci v azure, předchudce aks, jednoduší, proprietární, stateful, autoscale apod..
důležitá věc microservices - vlastní svoje data, nemají sdílenou db principy: async publish/subscr komunikace, healt checks, resilient (retry, circuit breaker), api gateway, orchestrator (scaleout, dev) architektura - pres api gateway na ruzne microservice (i ms mezi sebou) - ocelot orchestrator - kubernetes - dostane cluster VMs a ty si managuje helm = package manager pro kubernetes, dela deploy, helm chart = popis jak deploynout standartni
key valut - central pro všechny secrets, scalable security, aplikace musí mít MSI (nějaké identity - přes to se povolí přístup)
Application Insights - kusto language, azure monitor search in (kolekce) "neco" where neco >= ago(30d) sumarize makelist(eventId) by Computer - vraci Comuter a k tomu list eventId, nebo makeset umí funkce nějak let fce=(){...}; join kind=inner ... bla let promenna - datatable napr hodně data - evaluate autocluster_v2() - uděla grupy cca, podobně evaluate basket(0.01) pin to dashboard, vedle set alert
ai oriented architecture: program logic + ai, trend dostat tam ai nejak
0 notes
saran-gs · 8 years
Text
Nokia Revives Its Indestructible Candy Bar—and Shows Off Three New Phones
BEFORE THERE WAS iPhone, there was 3310. After its launch in 2000, Nokia sold more than 125 million models of its indestructible candybar, turning Snake into a cultural icon and searing that tinkling ringtone permanently into the back of your mind. If you didn’t own one, you probably knew someone who did. And you were probably jealous.
It’s been almost 17 years since the 3310 first came out. In that time the Nokia brand has been bought, sold, and stripped for parts. At one point the 3310 even made a comeback, in the form of a wonky Windows Phone device with a huge camera bump that didn’t exactly excite the buying public. The company now making Nokia phones is HMD Global, a private equity-backed firm created explicitly to make new Nokia phones. For their first act, the new owners set about restoring the 3310 to its former glory, while bringing the beloved old phone into the new era.
Today at Mobile World Congress in Barcelona, the company re-launched the phone as a “One More Thing” at its press conference. The intro was swift: HMD Global CEO Arto Nummela held up the phone and said the only three things that matter. Its battery lasts a month, it has Snake, and it has the Nokia ringtone. And then he was gone.
Still, HMD didn’t just open up the warehouse doors, grab the old 3310s, and ship ’em to Best Buy. The company pulled and tugged and tweaked things a bit. (My editor suggested the phone should be called the 3311 to signify this, which I think sounds pretty cool.) The new 3310 has a camera, for one thing, a 2-megapixel shooter. It also has a 2.4-inch, 240×320 screen, which is hilariously small and low-res but still a huge improvement over the original. That model’s resolution was listed as “five lines.” It feels weird that this is worth mentioning, but it has colors now! The handset comes in white, blue, red, and yellow, and its edges round smoothly, more like a polished pebble than a chunky brick.The 3310 is still very much a feature phone. It has a web browser, but only barely—it’s a dumbed-down version of Opera, basically there for emergency tweeting. It exists for you to make phone calls, send texts the way you did a decade ago (T9 FTW!), and play Snake. The 3310 weighs less than three ounces, and its battery lasts an absurd 31 days in standby time, or up to 22 hours of talk time.
When it launches in Europe, the 3310 will cost 49 Euros, which is about $51. It’s almost a grocery-store checkout purchase, or something you throw into your In Case of Apocalypse bag and never worry about again. HMD figures some people will buy it as a second phone, a way to get away from the tyranny of your dinging iPhone and buzzing Apple Watch without fully disconnecting.
However, the market for feature phones is far bigger than the novelty buyers. In emerging markets, where money, data, and battery life are precious commodities, a device like the 3310 has huge appeal. In Africa, for instance, in mid-2016 smartphone purchases actually declined while feature phones went up more than 30 percent. The feature phone can be for some a burner phone, others a secondary device, and for many a primary means of communication. HMD probably won’t sell 125 million more 3310s, but it’s definitely making a real phone for real people.
Aim For the Middle
HMD’s plan is for Nokia to have phones at all price points, for all users. With that in mind, it’s launching three new smartphones alongside the 3310. The Nokia 3, a 5-inch smartphone made of aluminum and polycarbonate, comes with an 8-megapixel camera and a 720p display. It costs about $150. For $50 more, the Nokia 5 has an all-aluminum body, a 5.2-inch display of the same resolution, a 13-megapixel camera, and a more updated Snapdragon 430 processor.
At the top of the range there’s the $315 Nokia 6 (the numbering scheme seems akin to the BMW 3, 5, and 7 series), which is another all-aluminum device with a 5.5-inch, 1080p screen, and a 16-megapixel camera on the back. It’s been available in China since January, and is now going global. All three phones run a clean, untouched version of Nougat, the latest version of Android, which HMD says will be true for all Nokia phones going forward. No word yet on whether they can also play Snake.
None of the new devices are gunning for Samsung or Apple’s place atop the smartphone heap. But taken together, the three give Nokia a pretty good starting point for new smartphones. The devices are well-designed, as you’d expect from anything named Nokia, and priced pretty competitively. They have at least functional specs, and don’t try to mess with Android. And unlike too many Nokia phones before, they’re not obsessed with camera specs to the point of ruining the phone altogether. Nokia may not even remotely resemble the company it was in 2000, but it appears to be getting some of its swagger back
via Blogger http://ift.tt/2l0kdci
0 notes