<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ilari Mikkonen on Medium]]></title>
        <description><![CDATA[Stories by Ilari Mikkonen on Medium]]></description>
        <link>https://medium.com/@ilarimikkonen?source=rss-c5f6546b464d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*b8-ROjAOKGmMpErYEavnTg.png</url>
            <title>Stories by Ilari Mikkonen on Medium</title>
            <link>https://medium.com/@ilarimikkonen?source=rss-c5f6546b464d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:33:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ilarimikkonen/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[APInf release 0.60.0 brings next level UI]]></title>
            <link>https://medium.com/apinf/apinf-release-0-60-0-brings-next-level-ui-a5f148fd9fb9?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5f148fd9fb9</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[fiware]]></category>
            <category><![CDATA[apinf]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Thu, 18 Jul 2019 08:27:51 GMT</pubDate>
            <atom:updated>2019-07-18T08:27:51.045Z</atom:updated>
            <content:encoded><![CDATA[<p>When I started writing this, the iconic “wind of change” by the Scorpions started playing in my head. The change 0.60.0 is bringing is not as revolutionary as the fall of the Berlin Wall, but maybe that reflects how I perceive this release.</p><p>What changes most notably is the UI look and user flow. We have streamlined many operations with the aim of making things simpler for the end-user. Here is an example. When the old UI looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*GS4O46aBpGkvmsDeFqXqaA.png" /></figure><p>The new one looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*4SElajzyvQNFrwFCRrLlXg.png" /></figure><p>Here is a video where I preview the 0.60.0 release UI changes:</p><p><a href="https://archive.org/details/apinf-platform-060-peek_201907-mp4">apinf-platform-060-peek : ilari mikkonen : Free Download, Borrow, and Streaming : Internet Archive</a></p><p>It’s not all show and no go. There are changes under the bonnet too, most notably version bump for Meteor into version 1.8. We have also used an external security consultant so we could find security vulnerabilities and fix them before someone else finds them. And we have updated the npm packages to the “latest”, with few exceptions.</p><p>One of the features we have been working on lately is the integration with other FIWARE components. For example, in one customer deployment we are using Context Broker, Quantum Leap and other Fiware components. To reflect this trend, we are introducing an beta level Tenant manager. For those who are not in the know, “tenant” is a Context Broker concept. It is basically a logical data separation. Context Broker on it’s own does not care who tries to access the data; it will give it to anyone willingly. In some cases that is a good thing, but when you try to protect the access, this will not do.</p><p>To counter this, we have created a protection mechanism using keyrock and OAuth tokens. When Tenant is created, a Tenant Manager component will create an organisation in Keyrock and leverage that mechanism to provide access control.</p><p>Tying the accounts to Keyrock allows us to do some other interesting stuff, like create Market place offering. Here is a demo of it I did in Tampere in May. It’s in Finnish &amp; 20+ minutess, but there is some interesting discussion towards the end.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeuOJw1F-gU8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeuOJw1F-gU8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeuOJw1F-gU8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8cd6ff48ef3dafc79630894c0c696403/href">https://medium.com/media/8cd6ff48ef3dafc79630894c0c696403/href</a></iframe><p>In the presentation I am talking about the Tampere FIWARE sandbox, what components it has and how it all plays together. There has been a small but active ecosystem growing in Tampere around stakeholders that invest time and money into FIWARE.</p><p>Making API management play nicely with other FIWARE components opens us all new horizons. But I’ll write more about that later.</p><p>There are still a few steps and turns that we need to make before we reach 1.0. But it’s closer. I wonder what song the approach of release 1.0 triggers in my brain.</p><p>I think we will call this release “Illya”.</p><p><em>The writer is a product owner for APInf. </em><a href="http://www.apinf.com/?source=post_page---------------------------"><em>APInf </em></a><em>helps organizations to participate in API Economy, and we help APIs and Application developers with our API Management platform.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5f148fd9fb9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/apinf-release-0-60-0-brings-next-level-ui-a5f148fd9fb9">APInf release 0.60.0 brings next level UI</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Github user account settings and how we deal with those]]></title>
            <link>https://medium.com/apinf/github-user-account-settings-and-how-we-deal-with-those-4de6ada00608?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4de6ada00608</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Wed, 05 Dec 2018 13:43:47 GMT</pubDate>
            <atom:updated>2018-12-05T13:43:47.254Z</atom:updated>
            <content:encoded><![CDATA[<p>I was looking at the people list in our Github the other day. There were some people that are not actively contributing to our projects, so I moved people around and removed some from the Outside Collaborator list. This provoked some comments. I decided to educate myself by reading documentation and thinking further how our we should organise our people and teams.</p><p>Github has pretty good documentation on how collaboration settings are handled, but there is a lot of material. I tried to collect the essentials here.</p><p>There are two major categories: Members and outside collaborators:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*pmPhz5ARh9iKFXSoLe__3Q.png" /></figure><p>Members are, well members. I was trying to find a definition from Github documentation, but failed. Outside Collaborator is a person who isn’t explicitly a member of your organization, but who has Read, Write, or Admin permissions to one or more repositories in your organization. Outside Collaborator is like a member but with less power.</p><p>When Github members are in these two groups they can be managed in your peoject’s context. Accounts cannot be created, people need to be invited. You can group people into Teams, to given them uniform level of access via belonging into a certain team. Then there are roles. A person’s role in the organization defines their level of access in the organization.</p><p>There are also some other bits and bobs, like Owners and Billing Manager, granting fine grain access, etc.</p><h3>Access management is life cycle management</h3><p>By using these basic concepts you have the tools to manage people’s permissions in your project. It is a good idea to think how to organise people. Luckily it’s not rocket science, but if you start tweaking people’s accesses one by one you’ll soon lose track. One thing is that the permissions are not static. Access management is life cycle management. People come and go, they have different roles and drift from one team to another. One of the most overlooked aspect of this is when big change happens. When people leave, who is going to revoke their accesses? What is the procedure? Plan this, and you should be good.</p><p>Being open source, we wish that people find value in what we do and are willing to contribute. Core team’s role is to guide the development process and set rules and boundaries. These are always up to discussion but ultimately the core team decides what goes in and what comes out.</p><p>So how are we doing this at APInf? Here goes:</p><p>In github’s <a href="https://github.com/orgs/apinf/people">Members list</a> you find APInf employees and those who are very tightly co-operating with APInf. These are basically people that are integral in orchestrating the operations. Outside collaborators are those who interact with us on regular basis. We treat these mechanisms are as access control ones, nothing else.</p><p>APInf platform project is an open source project. You can always raise an Issue or Pull Request. Here is a recent <a href="https://github.com/apinf/platform/pull/3633">example</a>. Jason from FIWARE helped us so that our README file complies with FIWARE rules:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*V1L79TrQvBBpUSDjvTQUCw.png" /></figure><p>The bottom line is that if you need access, we will grant it.</p><h3>Contributing</h3><p>Those who have contributed, we honor in our About section. This gets updated when we do a release.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*A5XjzAYyN_Tn3glpnIPOSA.png" /></figure><p>If you want to participate, you can do many things. You don’t have to be able to code to help. You can test the <a href="https://apinf.io/">SaaS</a>, raise an issue via G<a href="https://github.com/apinf/platform/issues">ithub</a> or <a href="https://waffle.io/apinf/platform">waffle.</a> If software is not your thing, give us a cheer, a clap or like our tweets.</p><p>It’s open source, contributions are welcome!</p><p><em>The writer is a product owner for APInf. </em><a href="http://www.apinf.com/"><em>APInf </em></a><em>helps organizations to participate in API Economy, and we help APIs and Application developers with our API Management platform.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4de6ada00608" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/github-user-account-settings-and-how-we-deal-with-those-4de6ada00608">Github user account settings and how we deal with those</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[APInf release 0.58.0 is baking in the oven]]></title>
            <link>https://medium.com/apinf/apinf-release-0-58-0-is-baking-in-the-oven-712d9be1dc8c?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/712d9be1dc8c</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[fiware]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[releases]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Fri, 16 Nov 2018 10:51:16 GMT</pubDate>
            <atom:updated>2018-11-16T10:51:16.557Z</atom:updated>
            <content:encoded><![CDATA[<p>Ok, we just got the 0.57.0 out. And now we are coming out with 0.58.0 already. What is going on?</p><p>0.58.0 is a bit special. This release is going to the latest (7.5) <a href="https://www.fiware.org/">FIWARE</a> release. In the last blog I wrote about the deepening co-operation with <a href="https://www.fiware.org/">FIWARE</a>. Now we are so deep we need scuba gear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*jR8VLkWUHD7ANYkeH5W86A.png" /></figure><p>The other major feature is the HSL ID login:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*bi9A4dd9OrUKiOPBEzCZ9g.png" /></figure><p>Our intention is to have single master and develop branches. We have limited resources, and at this time we see that maintaining multiple branches would be too resource intensive. The downside of this simplicity is that everything is baked into one.</p><p>I understand that people do not want to have all sorts of weird logins and irrelevant features in the API management tool. We are tackling this with configuration. For example we are planning on having a config for the login options on version 0.60.0 so those options that you don’t need can be disabled.</p><p>Other strategies are also being considered, like build time variation. We are still on a level that allows us to deal with these features on UI config level. But soon this might not be the case. No worries, we have plans for this.</p><p>Few words about our release plans. We are planning to do a stabilization / upgrade / bug fixing. Some of the component versions we are using are quite old and need an update.</p><p>After that the 0.60.0 is the “Next”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*YSskmBfv5sj5fnLidwwPPg.png" /></figure><p>Next brings totally new UI and UX. This is the base that we will continue to build on. I’ll be writing more on that later.</p><p>Ok, so we got our SaaS and everything, but we are still in versions 0.xx.y. Reason for this is that I don’t want to go for 1.0 unless we have these things in place: Monetization with tokens instead of x-api-keys. We have already tokens in the umbrella and we are looking to leverage FIWARE monetization, but we need to build the support to the platform. Interesting times ahead! Have a nice week end all!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=712d9be1dc8c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/apinf-release-0-58-0-is-baking-in-the-oven-712d9be1dc8c">APInf release 0.58.0 is baking in the oven</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New APInf release is coming]]></title>
            <link>https://medium.com/apinf/new-apinf-release-is-coming-601f69dcacb5?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/601f69dcacb5</guid>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Wed, 31 Oct 2018 07:18:38 GMT</pubDate>
            <atom:updated>2018-10-31T07:18:38.405Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*GzXSPWpRl_vhvckw-Vub1w.png" /></figure><p>Actually that statement above is slightly incorrect. In <a href="https://hub.docker.com/r/apinf/platform/tags/">dockerhub</a> there are already a releases, like 0.57.0. If all checks out, we will be deploying this to <a href="http://apinf.io/">SaaS</a> &amp; other instances.</p><p>You may have noticed that there is also a release 0.56.0. And 0.56.x Why is that not being used for anything?! It has all the cool stuff in it! Well, we were testing 0.56.0 and just about to deploy it when a <a href="https://medium.com/@ilarimikkonen/security-vulnerability-detected-in-apinf-api-management-platform-271f4ebaa00c">XSS security vulnerability was discovered</a>. This threw all sorts of monkey wrenches in all sort of directions and got us distracted. So we did some fixing and released 0.56.3, that on top of 0.56.0. Deploying that to SaaS and other instances takes it’s time, so in the meanwhile machinery kept on crunching and we decided to do 0.57.0 while we were on a release high.</p><p>So what have we been cooking in our lab? The key driver for these releases is deepening FIWARE integration. Fiware monetization module is being integrated to APInf. Or you could say that APInf is being integrated to FIWARE, both are true.</p><p>On the technical side, new <a href="https://github.com/apinf/platform/issues/3552">FIWARE changes </a>provides few more values in API umbrella side: IDP App ID and few settings from sub URL requests:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*YrLS--aO4jHhpjOHRqL-Wg.png" /></figure><p>This integration also needed some additional logging functionality which has been implemented.</p><p>It has been a while since we did our last big release. We are still a small company and we do customer projects. These projects take some of our effort but we have resources working on the platform all the time. Most of the changes have been under the hood, so we delayed the release a bit. There is a new piece of stats that we wanted to give a go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*VravG7yA_Hrjlttv5reTgQ.png" /></figure><p>This approach should give users better grasp of API response. Plus it looks pretty. There are also other changes, like for monitoring:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e0mCP4Y1TsZQvg_KORp3bw.png" /></figure><p>plus bunch of other stuff, which you can find in the <a href="https://github.com/apinf/platform/releases">release notes</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*QfbN1gG12RzXpvUQOHcINQ.png" /></figure><p>And after this? Well there are grand things cooking. On the surface most visible change planned is the “<a href="https://next.apinf.io/">next</a>”. Next changes the UI and UX flow for the better. During last year we were just piling up features on top of each other and if you keep on doing that, things will get out of hand fast. Next is not ready yet, but you can go and take a look. Feedback is always appreciated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E1xJFtYS9gqZSKbe1UZQRw.jpeg" /></figure><p>Then there is the iceberg floating under the surface: <a href="https://github.com/apinf/proxy42">Proxy42</a>. We have two geniuses locked up working on this. Proxy42 is a new (duh) proxy. For those who are not familiar what a proxy is or what APInf platform architecture looks like, here is a quick explanation: on top there is a management layer, the one that you see on the browser. Under that management layer is the heart of the API management: proxy. Proxy relays all the traffic. Without it there would be no API management. We have been using API umbrella for some time now, and even as it has served our purposes quite nicely, we have hit some limitations. One of them is the x-api-key based architecture which we will likely leave behind in the future.</p><p>One thing contributing to the decision to develop our own proxy was the speed and priority of development. We have <a href="https://github.com/apinf/api-umbrella">forked </a>API umbrella, as we needed some functionality that was not there. Funnily enough, the instability of Trump administration has been contributing into this. API umbrella is an <a href="https://www.nrel.gov/">NREL</a> project. Trump’s planned <a href="https://www.denverpost.com/2018/01/31/donald-trump-energy-cuts-national-renewable-energy-laboratory/">cuts</a> gave us another reason to develop our own solution.</p><p>After those two, things are bit more open. Deeper and more fine grained monetization and contracting between API owners and consumers seem like the next things to work on, but let us see.</p><p>BTW; We discussed here that we’d nickname our coming releases. I think we’ll call 0.57.0 “Vesa”.</p><p><em>The writer is a fresh product owner for APInf. </em><a href="http://www.apinf.com/"><em>APInf </em></a><em>helps organizations to participate in API Economy, and we help APIs and Application developers with our API Management platform.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=601f69dcacb5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/new-apinf-release-is-coming-601f69dcacb5">New APInf release is coming</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security vulnerability detected in APInf API management platform]]></title>
            <link>https://medium.com/@ilarimikkonen/security-vulnerability-detected-in-apinf-api-management-platform-271f4ebaa00c?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/271f4ebaa00c</guid>
            <category><![CDATA[apinf]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Mon, 29 Oct 2018 12:10:28 GMT</pubDate>
            <atom:updated>2018-10-29T12:10:28.663Z</atom:updated>
            <content:encoded><![CDATA[<p>Security vulnerability has been detected. This affects all APInf instances. This affects mostly the SaaS site apinf.io. This also affects 3rd party installations which are not under APInf control.</p><p>Instances (except apinf.io) which are managed by APInf have been secured. Securing has been done so that adding a new API and Organisation has been temporarily prevented. Under current understanding the vulnerability is not exploitable, unless users with administrator role take certain actions.</p><p>Vulnerability allows attacker execute JavaScript code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*Zlm1KKF5O4I4OLM4P5trhg.png" /></figure><p>PR <a href="https://github.com/apinf/platform/pull/3598">https://github.com/apinf/platform/pull/3</a>603 fixes the vulnerability. We will do a release and deploy a fix release to apinf.io soon. After that we start updating other instances.</p><p>If you would like to receive updates via email, please use this form to subscribe: <a href="https://docs.google.com/forms/d/e/1FAIpQLSdlEHizR8rrqvyGi0QpncmcgR34j_ypwpIMXZPlA_u96dUGuw/viewform">https://docs.google.com/forms/d/e/1FAIpQLSdlEHizR8rrqvyGi0QpncmcgR34j_ypwpIMXZPlA_u96dUGuw/viewform</a></p><p>We apologize for potential problems caused by the vulnerability.</p><p>This vulnerability was reported to us by Hammad.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=271f4ebaa00c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Haavoittuvuus APInf alustassa]]></title>
            <link>https://medium.com/@ilarimikkonen/haavoittuvuus-apinf-alustassa-80219f98f8e1?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/80219f98f8e1</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[apinf]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Mon, 29 Oct 2018 12:09:01 GMT</pubDate>
            <atom:updated>2018-10-29T12:09:01.942Z</atom:updated>
            <content:encoded><![CDATA[<p>APInf alustassa on havaittu haavoittuvuus. Tämä koskee kaikkia APInf API management asennuksia, mutta pääasiassa apinf.io:ta. Koska lähdekoodimme on avointa, tämä koskee myös niitä asennuksia joita kolmas osapuoli on tehnyt.</p><p>APInf:n hallinnoimat asennukset ovat konfiguroitu niin, että uudet käyttäjät eivät voi hyväksikäyttää havaittua haavoittuvuutta. Haavoittuvuuden hyväksikäyttäminen vaatii tiettyjä toimia admin tason toimijalta.</p><p>Haavoittuvuus mahdollistaa JavaSript koodin ajamisen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*Zlm1KKF5O4I4OLM4P5trhg.png" /></figure><p><a href="https://github.com/apinf/platform/pull/3598">https://github.com/apinf/platform/pull/3</a>603 korjaa haavoittuvuuden ja julkaisemme päivityksen piakkoin. Tämän jälkeen päivitämme apinf.io:n ja muut asennukset sen jälkeen.</p><p>Jos haluat vastaanottaa päivityksiä aiheesta, rekisteröi sähköpostisi: <a href="https://docs.google.com/forms/d/e/1FAIpQLSdlEHizR8rrqvyGi0QpncmcgR34j_ypwpIMXZPlA_u96dUGuw/viewform">https://docs.google.com/forms/d/e/1FAIpQLSdlEHizR8rrqvyGi0QpncmcgR34j_ypwpIMXZPlA_u96dUGuw/viewform</a></p><p>Pahoittelemme haavoittuvuuden mahdollisesti aiheuttamia ongelmia.</p><p>Haavoittuvuuden raportoi meille Hammad.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80219f98f8e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data protection, open source and APIs. How do they match?]]></title>
            <link>https://medium.com/apinf/data-protection-open-source-and-apis-how-do-they-match-c3648d8d5603?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3648d8d5603</guid>
            <category><![CDATA[rest]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Mon, 26 Mar 2018 10:41:00 GMT</pubDate>
            <atom:updated>2018-03-26T10:41:00.707Z</atom:updated>
            <content:encoded><![CDATA[<p>We are generating more and more data every day. IOT devices spew out data in breath taking amounts. Devices that we carry around send sensor data to god knows who. On top of that we voluntarily generate and give out data. How many times do you tweet per day?</p><p>Usually single data source is not that interesting alone, but the combination of data and profiling. This is interesting for various parties and their motives are not always benign.</p><p>Data privacy is a hot topic right now. There are changes in the global legislation, take <a href="https://www.eugdpr.org/">GDPR </a>for example. Transparency in general is a big thing. Many public sector organisations prefer open source components to be used in their system, and try to steer away from vendor lock-in scenarios. This is <a href="https://www.pcworld.com/article/198608/article.html">EU wide</a> direction. For example, <a href="https://hsl-d8.prod.wunder.io/en/node/9047">HSL report</a> from year 2016 explicitly states how they used “ open data and open source code” in their Journey Planner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NHjbYMLLk47dql64OsDJ5Q.png" /></figure><p>Open or closed source? Let’s take a look at this via an example from other area: security. <a href="https://github.com/openssl/openssl">Open SSL</a> for example. Ask yourself this: what crypto library would you rather use, open source or closed? With open source SW you can (There are people doing this, I’m not one of them) go and inspect the source code to see what is going to happen when they use this library. Remember <a href="http://heartbleed.com/">heartbleed</a>? Good thing is that usually the security holes in the major/mature open source components are so difficult to exploit that it does not matter.</p><p>Open source also has it’s issues. By inspecting code, you can see all the holes in the source and exploit them. Popular components are fine, but if you use obscure open source components, you are asking for trouble. Also there usually is no guaranteed support so you might end up maintaining that component alone, or dropping it. So choose wisely. One the other hand if you choose, say, Microsoft, the probability of losing support is minor. But do you trust Microsoft? How do they treat your data?</p><p>So what does open/close source have to do with data privacy? REST APIs can be seen as a sort of a mixer where you pour (your) data and processing. If everything is closed you cannot tell where the end result is being distributed. Unfortunately even if the API would be open source, it does not prevent misuse of the data, but it at least adds another layer of transparency.</p><p><strong><em>Should all REST APIs be open source also?</em></strong></p><p>Well, like many things life, that depends. If you have a business and you are exposing your data via API, there is no particular point exposing internal workings. Even though it may look like there is no problem providing open source of your APIs, this may change in the future by combining information from other sources. You’d need to keep configs and such locked out anyway so why not hide everything.</p><p>Where would I like to see open source API? Public sector where I give my data. For example, if I choose to give my location data to the local bus company, I’d like to see that they don’t share it to someone I do not like. Or if I go to a health thing to see a nurse. I’d also would like to see what Google and Facebook are doing with my data, but I think that is not going to happen. I might not want to know if NSA gets my <a href="https://en.wikipedia.org/wiki/PRISM_(surveillance_program)">data on request</a>. Or where all the <a href="https://en.wikipedia.org/wiki/Bullrun_(decryption_program)">backdoors</a> are. There are reasons why many companies in Europe do not want their data travelling to USA. Why many <a href="https://www.indivisibleaustin.com/2017/01/14/why-slack-isnt-such-a-good-idea/">people use Slack</a> for company secret stuff, I do not understand, but maybe I’m just paranoid.</p><p>Is open source approach really be-all-end-all solution? Nope, because people are idiots or may be coerced. Whoever person that is handling your data and has access to it can violate laws and your rights. Especially police in Eastern Finland has excelled in <a href="https://www.savonsanomat.fi/kotimaa/Poliisi-katseli-luvatta-tutun-naisen-tietoja-rekisterist%C3%A4-j%C3%A4i-kiinni-ravintolapuheiden-vuoksi/1051424">violating people’s rights</a> by snooping data.</p><p>Understand how your data is used. I’m giving my data to Facebook, Google knows where I go and K-group knows what I’m buying. I’m trading my information for some stuff, like discounts or entertainment. For those really sensitive information scenarios, I want to see open source and open source APIs.</p><p><em>image from </em><a href="https://www.flickr.com/photos/opensourceway/6554314981/in/photostream/"><em>flicker</em></a><em> under </em><a href="https://creativecommons.org/licenses/by-sa/2.0/"><em>cc-by-sa-2.0</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3648d8d5603" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/data-protection-open-source-and-apis-how-do-they-match-c3648d8d5603">Data protection, open source and APIs. How do they match?</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[API Developers have experiences too]]></title>
            <link>https://medium.com/@ilarimikkonen/api-developers-have-experiences-too-31d5a2ac43c3?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/31d5a2ac43c3</guid>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Mon, 26 Feb 2018 13:25:15 GMT</pubDate>
            <atom:updated>2018-02-26T13:25:15.742Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gR6Vk9-bHksqXyuxD5-Sng.jpeg" /></figure><p>About a month back I was asked to do a <a href="https://oppia.fi/webinars/apikehittajakokemus">webinar </a>(it’s in finnish) about Developer Experience regarding APIs. This gave me a chance to think about this topic in a deeper manner. I have on an occasion done some development and the experience has varied. Sometimes it has been down right fucked up, particularly Symbian (yeah, I’m old) development and the tools and processes (I’m looking at you, Nokia) spring to mind. I remember sometimes sitting in my car in the parking lot, car idling and just thinking about driving away.</p><p>Now I’m involved with APIs as an APItalist, not as a coder. This role has given me the chance to look at thing differently. I no longer code, but try to lead others in their work. I’m not stating that REST APIs are perfect. Dev Ex can be messed up on any platform. But it’s a chance for a fresh start. If you do things right.</p><p>In the webinar the focus was more on the technical side of things and from the perspective of those consuming the APIs. Here is a different angle. The key for successful Developer Experience lies in business’s ability to understand how API is a product and the fact how people experience that has a direct link to the success of the business.</p><p>REST APIs challenge the developers who work on those in a different way than than traditional SDKs did. Development cycles are shorter. Things are soo lean. Minimum viable product. Time to market.</p><p>One of the risk is that you POC, then business “hijacks” the product (“it’s ready, right?”). Then you end up with mediocre API that will carry you forwards some time. Maybe you even get actual users.</p><p>First impressions are important. If the API consumer is disappointed, probability for comeback is low. Is this development team’s fault? Maybe not. Business has the responsibility of making decision what you launch and when, but then they also need to carry the responsibility.</p><p>In my experience the highest risk factors collide when a company, which is working on a non-IT industry tries to make the leap to API economy. They have no resources or know-how for API development. In this situation three different things need to be in place: Trust. Humbleness. Sisu.</p><p>If no trust is in place, customer does not trust the company helping with API development. They try to minimise the budget, thinking that the API developers are just screwing with them and trying to extract maximum profit. This will cripple the end product, making the solution suboptimal.</p><p>Company trying to make it to the API jump needs to be humble. If they pretend to know everything about everything, the development team cannot do their work. They might be experts in their core area, but should leave the decisions about API development to professionals. If they have no clue, trust the ones who know something about this.</p><p>Sisu. SW development is hard. Gains are not linear. You need to have the attitude to power through. This also links to the trust. When going gets tough, we need to pull together.</p><p>SW development should not be something ad hoc. It should be approached carefully and with proper methods and resources. When these things are in place, you can succeed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31d5a2ac43c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Said Swagger UI: Browser, I need to CORS. What OPTIONS do I have?]]></title>
            <link>https://medium.com/apinf/said-swagger-ui-browser-i-need-to-cors-what-options-do-i-have-5a9d6aa80ea4?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a9d6aa80ea4</guid>
            <category><![CDATA[cors]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[options]]></category>
            <category><![CDATA[swagger]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Fri, 15 Dec 2017 09:45:16 GMT</pubDate>
            <atom:updated>2018-06-20T12:29:52.508Z</atom:updated>
            <content:encoded><![CDATA[<p>Lately I’ve been working on a project where we have the chance to develop swagger documentation. It’s a dedicated instance, not our SaaS. It’s great! When the documentation is in good shape, it’s easy to try out the API from web UI. Except that it doesn’t always work (It’s that “Failed to fetch” bit):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/0*3b9-eiSAnx6sD0f2.png" /></figure><p>Ok, so what to do? We tried out a few things, searched the internets and noticed a few things. There is this thing called <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">CORS</a> which stands for Cross Origin Resource Sharing. The page where swagger documentation is shown is fetched from our servers, but the swagger UI also needs to make calls to the server where the REST API is. This is a potential security risk, so browser wants to ask permission from the REST API server if it’s ok to use those resources (i.e. try out the API thru web UI swagger documentation)</p><p>If you want to make anything except a simple GET or there are any custom headers, the browser wants to make a preflight query to the back end. Browser wants to know if it’s ok to ask whatever it actually wants to ask. So the browser sends an OPTIONS method query to the back end passing along all the headers that the actual request will need. Sounds simple enough (yeah OK, it took me some time until I figured it out. I’m a bit slow) what can go wrong?</p><h3>What could go wrong?</h3><p>Well. 1st of all, API Umbrella (the proxy we are using) wants to have X-Api-key in the header. When browser sends the OPTIONS query, browser does not know that there needs to be X-Api-Key in the headers. When it’s not, the proxy responds politely “sorry, but this request is going nowhere without the X-Api-Key” -&gt; fail.</p><p>2nd, backend has no idea that it would need to return X-Api-Key value in Access-Control-Allow-Headers. Without this, the browser will think that it’s not allowed to use that in the actual request and will not execute the query -&gt; fail.</p><h3>Solution Hack</h3><p>How to get this working in our case? There are few ways to get this working. Excellent (long) explanation in <a href="https://github.com/NREL/api-umbrella/issues/391">issue 391</a></p><p>Here is the short answer: Configure API Umbrella. In this particular case we just decided that we overwrite the response headers to the OPTIONS query:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*XyqTcVLysMaXGmir2sgMGw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*VNLm0k8FhrOgHAx-2SfBmw.png" /></figure><p>EDIT on 1.6.2018: and you also need to disable API key check:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*-Nqu8-VEjtkVRZJkck0XwQ.png" /></figure><p>Is this a good solution? It depends. If it is a dedicated instance like the one in question, this is a manageable work around. How ever, this needs proper fixing, and there is one planned. Details are in that <a href="https://github.com/NREL/api-umbrella/issues/391">issue 391</a> mentioned above, one idea would be to append the response headers instead of overriding them. Manifestation of this could be an additional field to the configuration screen depicted above.</p><p>There will always be problems, especially when you are creating something new. Together we will solve them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a9d6aa80ea4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/said-swagger-ui-browser-i-need-to-cors-what-options-do-i-have-5a9d6aa80ea4">Said Swagger UI: Browser, I need to CORS. What OPTIONS do I have?</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to mess up rest of your API game in a meaningful way.]]></title>
            <link>https://medium.com/apinf/how-to-mess-up-rest-of-your-api-game-in-a-meaningful-way-40fd92fb0cfb?source=rss-c5f6546b464d------2</link>
            <guid isPermaLink="false">https://medium.com/p/40fd92fb0cfb</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[rest]]></category>
            <category><![CDATA[friday-the-13th]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Ilari Mikkonen]]></dc:creator>
            <pubDate>Fri, 13 Oct 2017 09:29:14 GMT</pubDate>
            <atom:updated>2017-10-13T09:36:56.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*-PTsBI4IcnQxoLd3p-cYyg.png" /></figure><p><strong>Intended audience</strong>: Managers and decision makers who know that REST API lovers will burn in hell fire for eternity, but are forced to look into developing those.</p><p>For me it seems that many people are talking about API economy and how it’s the new this and the new that. What if you do not like REST APIs, but rest of your organisation really wants to go that way? I mean, everyone is entitled to their opinion, but your opinion is the right one. Here are ways to ensure that your API game is doomed from the get go:</p><p>Naturally the easiest way is to do nothing. Forget about the whole thing. Verbally (and physically, if that is OK in your culture) assault people who talk about APIs. If that is not an option then consider the following.</p><p><strong>DO’s:</strong></p><ul><li>Do an API because somebody wants it and not because your business needs it.</li><li>Let your coders do API economy decisions.</li><li>If you can, burn money to make it look expensive. Outsource most of the work to a big corporation and let them do what is “necessary”. <strong>Note!</strong> You cannot outsource the design, that may under some circumstances lead into some good design, meaning something bad for you.</li><li>No oversight. In this scenario let the subcon burn as much money as possible.</li></ul><p><strong>DON’Ts:</strong></p><ul><li>Do not make contact with any communities or use any methodologies like <a href="https://medium.com/apiops">APIOPS </a>cycles. The less competent people there is around the better.</li><li>Do not use API management. <a href="http://apinf.org/">Apinf</a> is to be avoided at any cost.</li><li>Do not contact or discuss with the intended end users of your API.</li><li>Make sure to offer no documentation, or if you have good design peoples, make sure the documentation is full of mistakes and false information.</li></ul><h4><strong>If all of the above fails:</strong></h4><p>If none of that worked and people are still hell bent on using your API, here are few things you can try:</p><ul><li>Make the API usage cost obscene amounts of money and make sure not to offer no free tier.</li><li>Try to make sure the API is down every now and then.</li><li>Make constant changes to the API, <strong>do not</strong> let the information about the changes leak out in advance.</li><li>This point is bit technical but as final measure subtly change the value ranges and/or types your API returns.</li></ul><p>Good luck with ruining your API game! Let me know how it went. Please suggest other ways to stop this API madness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40fd92fb0cfb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apinf/how-to-mess-up-rest-of-your-api-game-in-a-meaningful-way-40fd92fb0cfb">How to mess up rest of your API game in a meaningful way.</a> was originally published in <a href="https://medium.com/apinf">APInf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>